Issue accessing SQLite Database from SDCARD

Put your problem here if it does not fit any of the other categories.

Issue accessing SQLite Database from SDCARD

Postby thao » Tue Oct 28, 2008 3:51 pm

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.
Posts: 4
Joined: Tue Oct 28, 2008 3:35 pm


Return to Other Coding-Problems

Who is online

Users browsing this forum: Google [Bot] and 6 guests