You now need to request the permission to write the SD card.

On Wed, Sep 16, 2009 at 11:33 AM, Stefan <[email protected]> wrote:

>
> Hello @all,
>
> have someone tested an app with android sdk 1.6 r1 and the usage of an
> sdcard iso??
> In my app i use:
> private File root = Environment.getExternalStorageDirectory();
>
> and:
> root.canWrite()
>
> return false. Why?? In Android 1.5, root.canWrite return true. So I
> have create a new iso with the mksdcard tool from sdk 1.6r1 tools
> folder, but nothing changed.
>
> Thanks for help,
> Stefan
>
> PS: I have of course changed the emulator line to:
>
> -sdcard /Users/Stefan/android-sdk-mac_x86-1.6_r1/tools/newone.iso
> >
>


-- 
Dianne Hackborn
Android framework engineer
[email protected]

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

--~--~---------~--~----~------------~-------~--~----~
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