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 <[email protected]> wrote:

> 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 avail.
> Please help, thanks.
>
> AS
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]<android-developers%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to