How to download the images from the sdcard application
Demir last edited by
Good afternoon. There's a problem with the next, there's an annex on the Android. /res/drawable contains images these images are placed on linearlayout as background'a There you go. It is necessary that, when the button is pressed, the picture that is now on the screen as background'a is allowed in folder /mnt/sdcard/myimgfolder. If anyone has any thoughts about it, I'll be grateful.
Z. Burn sites offer some solutions, but they are not suitable, they offer to choose a picture of the standard gallery and to keep it sdcard (why - it is not clear:) I'm a newcomer to design under the Android so don't kick much.
First, you will need additional authorization (permission):
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
Second, to find out the root of this folder, use the function:
File extStorage = Environment.getExternalStorageDirectory();