[android-developers] Please help! mkdirs() on sdcard fails silently, no idea what is the problem.

2009-12-15 Thread Agus
Hi all, My app suddenly could not create a directory on sdcard using mkdirs(), it was working fine before. As the method throws no exception, I have no idea what the cause is. I have checked for a duplicate directory/file of same name, and there is none. I did remove and insert sd card but to no

Re: [android-developers] Please help! mkdirs() on sdcard fails silently, no idea what is the problem.

2009-12-15 Thread freezy
You probably need to add: uses-permission android:name=android.permission.WRITE_EXTERNAL_STORAGE / to your manifest.xml. They added that in 1.6 I think. On Tue, Dec 15, 2009 at 1:50 PM, Agus agus.sant...@gmail.com wrote: Hi all, My app suddenly could not create a directory on sdcard

Re: [android-developers] Please help! mkdirs() on sdcard fails silently, no idea what is the problem.

2009-12-15 Thread Agus
Thanks a lot it works now, This is interesting since I have never changed the target build API other than 4. On Tue, Dec 15, 2009 at 5:01 AM, freezy phree...@gmail.com wrote: You probably need to add: uses-permission android:name=android.permission.WRITE_EXTERNAL_STORAGE / to your