Mark: How do I setup a SDCard Image on Emulator?

AuxOne:  I tried Environment.getExternalStorageDirectory() also , but
no luck.

I appreciate for your time guys..

Regards,
 -DK


On Mar 18, 10:33 am, Mark Murphy <[email protected]> wrote:
> dillipk wrote:
> >    I tried the same. Along with that I also set the
> > WRITE_EXTERNAL_STORAGE permission, it(file.mkdir()) still returns
> > false. Am I missing something?
>
> You might be missing an SD card. If you are using the emulator, and you
> did not set up an SD card image, you won't have a (virtual) card to
> write to.
>
> --
> Mark Murphy (a Commons 
> Guy)http://commonsware.com|http://twitter.com/commonsguy
>
> _The Busy Coder's Guide to Android Development_ Version 3.0
> Available!

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

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words "REMOVE ME" as the subject.

Reply via email to