Do you actually have an SD card in the emulator?
(By default there is no SDcard in the emulator. You first need to create an
SDcard with mksdcard.exe (in tools), then mount it when starting the
emulator (with -sdcard mysdcard.iso or something similar in the emulator
options). If this might be it, please read
http://www.mail-archive.com/[email protected]/msg08608.html
for some more info.)
Ludwig
2008/10/28 Thao <[EMAIL PROTECTED]>
>
> Hi all. I'm new to android development.
>
> I'm trying to access a sqlite3 custom DB from SDcard emulation. When
> opening the database with "SQLiteDatabase.openDatabase("/sdcard/
> MyDB.db", null, SQLiteDatabase.OPEN_READONLY)" I got :
> android.database.sqlite.SQLiteDiskIOException: disk I/O error.
>
> Is there any permission to grant the application to write on sdcard ?
> Am I missing something ?
>
> Please advise.
> Thank.
> Thao
> >
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---