Friday, February 3, 2012

[android-developers] Re: Unable to open database file?

Are you trying to pull data out of the users phone that your app
stored in the sql db? If so maybe those particular devices that give
that error dont allow access to that file possibly.

On Feb 2, 5:08 pm, Zsolt Vasvari <zvasv...@gmail.com> wrote:
> Hi, I am using ACRA and get an average of one report of this kind a day:
>
> android.database.sqlite.SQLiteException: unable to open database file
> at android.database.sqlite.SQLiteDatabase.dbopen(Native Method)
> at android.database.sqlite.SQLiteDatabase.<init>(SQLiteDatabase.java:1956)
> at
> android.database.sqlite.SQLiteDatabase.openDatabase(SQLiteDatabase.java:902 )
>
> This is a one time error, if the user tries again, it works.  It seems to
> come from all kinds of users on all kinds of devices on different SDK
> levels.
>
> I open my database once and I store the connection in a static object.
>
> I suspect a bug in my code somehow, but I am at a loss.  Anybody with any
> ideas, or seen this error happen?
>
> Thanks!

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