Sunday, December 4, 2011

Re: [android-developers] Problems reading/writing to SQLite db on SD card.

On Mon, Dec 5, 2011 at 4:14 AM, MarkG123 <mark.gillespie@gmail.com> wrote:
> Hi, writing an Android application that reads data from a SQLite
> database created by a 3rd party camera.
>
> I have added permission WRITE_EXTERNAL_STORAGE, but I still get
> "attempt to write a readonly database" exception
>
> I have tried different API levels and such, without any
> difference.      I have checked the SDCard in the emulator isn't
> readonly.

Check/post the full stack trace and the logcat for hints.
Can you open and read the DB with the sqlite3 utility?

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment