Skip to content Skip to sidebar Skip to footer

Trying To Create Folder, But Its Indicate Logcat Error? How To Solve?

Hi Now I am trying to create folders in my gallery...so I am implement these line in my galleryview.java file.......but nothing to be change normal process is going on....please h

Solution 1:

You forgot a permission:

<uses-permissionandroid:name="android.permission.WRITE_EXTERNAL_STORAGE"/>

Solution 2:

Try this for creating Folder inside SDCard :

Filefolder=newFile(Environment.getExternalStorageDirectory() + "/FolderName");
success = folder.mkdir();

Ensure that you gave :

<uses-permissionandroid:name="android.permission.WRITE_EXTERNAL_STORAGE"/>

Also Unmount your SDCard while you run your Apps and after Running your Apps Mount it..

Post a Comment for "Trying To Create Folder, But Its Indicate Logcat Error? How To Solve?"