I am pretty new to android programming and I need your help in proceeding further in my application. I wanted to access the internal or external memory of android phones through my application with both write and read permissions. I wanted to give users a choice as to which memory to be used in the application.
I’ll be thankful to anyone who can help me.
For External storage
Use this:
This will create a folder with the name dirName into your sdcard . This means you get the access of the external storage by this Environment.getExternalStorageDirectory() method.
But for this you have to add the permission into your
menifestfile like this: