Android 2.2 using the emulator
I am unable to read and write sdcard

When I do ls -l after adb shell - this is what I see
# ls -l
ls -l
drwxr-xr-x root     system            2010-12-27 05:24 asec
drwx------ root     root              2010-12-27 05:24 secure
d--------- system   system            2010-12-27 05:24 sdcard
#

Here is how I prepared the SDCARD
- Run mksdcard 8192K C:\android-dev\emu_sdcard\emu_logFile
- Create a new AVD, then assign emu_logFile to it so that when I view
the AVD Details it says C:\android-dev\emu_sdcard\emu_logFile against
the field "SD Card"

In the code, sdDir.canWrite returns false - please note it is not the
exception.

I have added the following to AndroidManifest.xml
**uses-permission
android:name="android.permission.WRITE_EXTERNAL_STORAGE" **

I have posted this in stackoverflow - I have gone through the postings
related to sdcard and emulator - no success yet!

Please help -

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

Reply via email to