[android-developers] Re: unable to open database file after OS upgrade

2012-08-13 Thread Support Remote
You should uninstall the app, then power off or clean app cache, then reinstall the app. Is it in this order? Walter On Sun, Aug 12, 2012 at 10:05 PM, lishali lishali12...@gmail.com wrote: Only one user of our app also reported same issue, and she had clear the app data cache, uninstall our

[android-developers] Re: unable to open database file after OS upgrade

2012-08-12 Thread lishali
Only one user of our app also reported same issue, and she had clear the app data cache, uninstall our app and then re-install the app, but it's not working for her. When she open our app, the app crashed with the same excepiton unable to open database file 在

[android-developers] Re: unable to open database file after OS upgrade

2010-05-24 Thread Emmanuel
Badly, I was over optimistic. The bug occurred again. If someone know for real how to get rid of it, it would be nice !! Emmanuel http://androidblogger.blogspot.com/ http://www.alocaly.com/ On May 3, 1:00 am, Emmanuel emmanuel.ast...@gmail.com wrote: hello all, Just to let you know, I

[android-developers] Re: unable to open database file after OS upgrade

2010-05-18 Thread Wizard
I am having the same problem, the difference is that I never open any database. My app users keep say Force Close, and finally I got this log: android.database.sqlite.SQLiteException: unable to open database file at android.database.sqlite.SQLiteDatabase.dbopen(Native Method) The app

[android-developers] Re: unable to open database file after OS upgrade

2010-05-02 Thread Emmanuel
hello all, Just to let you know, I included this code in my version of my games 'Word Prospector' and 'Chasseur de mots', and I don't have any more bug report with this issue ! Emmanuel http://androidblogger.blogspot.com/ http://www.alocaly.com/ On Apr 28, 2:01 am, Emmanuel

[android-developers] Re: unable to open database file after OS upgrade

2010-04-29 Thread Yurii Vasylenko
Actually, on Samsung GT-I5700 with Android 2.1 I've got this with version of NewsRom, installed from Market. Older version 3.7.2, which i used on Android 1.5 with the same device, still works perfect on 2.1 On 2 апр, 13:53, Mariano Kamp mariano.k...@gmail.com wrote: Hi, recently I very often

[android-developers] Re: unable to open database file after OS upgrade

2010-04-27 Thread Emmanuel
Hello all, I had the same issue recently, and after the reading of this thread, I try this thing : public class SQLHelper extends SQLiteOpenHelper { private File m_DBFile; public SQLHelper(Context context, String name) {

Re: [android-developers] Re: unable to open database file after OS upgrade

2010-04-14 Thread Mariano Kamp
I had a look into it and this approach doesn't work for me. When using the SQLiteOpenHelper you cannot pass in this flag. I tried to work around the SQLiteOpenHelper first, but then it delegates to the context, which itself uses private API and now have to copy/patch at least four classes. I

Re: [android-developers] Re: unable to open database file after OS upgrade

2010-04-12 Thread Mariano Kamp
Now a user was nice enough to run some commands for me. It seems that the database is there and is not corrupt: # ls -l /data/data/com.newsrob/databases ls -l /data/data/com.newsrob/databases -rw-rw app_108 app_108 16384 2010-04-11 13:12 webview.db -rw-rw app_108 app_108 6144

[android-developers] Re: unable to open database file after OS upgrade

2010-04-12 Thread skink
On Apr 9, 2:36 pm, Mariano Kamp mariano.k...@gmail.com wrote: *bump* On Fri, Apr 2, 2010 at 12:53 PM, Mariano Kamp mariano.k...@gmail.comwrote: Hi, recently I very often get error reports from users that upgrade their OS. This includes at least 1.5, 1.6, 2.1 and custom ROMs.

Re: [android-developers] Re: unable to open database file after OS upgrade

2010-04-12 Thread Mariano Kamp
Skink, awesome. That sounds fantastic. I will try that. Cheers, Mariano On Mon, Apr 12, 2010 at 7:45 PM, skink psk...@gmail.com wrote: On Apr 9, 2:36 pm, Mariano Kamp mariano.k...@gmail.com wrote: *bump* On Fri, Apr 2, 2010 at 12:53 PM, Mariano Kamp mariano.k...@gmail.com wrote:

Re: [android-developers] Re: unable to open database file after OS upgrade

2010-04-10 Thread Mariano Kamp
Yes, that worked for me too. Actually re-installing the apps on the users' phones alone was enough. But this is just dealing with the symptoms and would've liked to know why the OS updates break apps and if there are any counter measures the developer can do? And also meanwhile I got more than

[android-developers] Re: unable to open database file after OS upgrade

2010-04-09 Thread Mariano Kamp
*bump* On Fri, Apr 2, 2010 at 12:53 PM, Mariano Kamp mariano.k...@gmail.comwrote: Hi, recently I very often get error reports from users that upgrade their OS. This includes at least 1.5, 1.6, 2.1 and custom ROMs. Anybody else seeing these? Any idea what to do about it? Cheers, Mariano

Re: [android-developers] Re: unable to open database file after OS upgrade

2010-04-09 Thread Mark Murphy
Mariano Kamp wrote: *bump* What have you done to gather more info? For example, is the issue that the database is deleted, or that the database exists but somehow the permissions are messed up? On Fri, Apr 2, 2010 at 12:53 PM, Mariano Kamp mariano.k...@gmail.com mailto:mariano.k...@gmail.com

Re: [android-developers] Re: unable to open database file after OS upgrade

2010-04-09 Thread Mariano Kamp
I haven't been able to reproduce it on my own phones. Also the users that reported it told me that this happens to other apps on their phones too. At least the other apps force close, whatever the actual reason is. I could ask the people with custom ROMs to check if the db-file is still there.

Re: [android-developers] Re: unable to open database file after OS upgrade

2010-04-09 Thread Mark Murphy
Mariano Kamp wrote: I could ask the people with custom ROMs to check if the db-file is still there. Or add your own exception handler for this, do some experiments, and then send the results to yourself via whatever mechanism you're using to get the stack trace. So you never had this issue

Re: [android-developers] Re: unable to open database file after OS upgrade

2010-04-09 Thread Mariano Kamp
Mariano Kamp wrote: I could ask the people with custom ROMs to check if the db-file is still there. Or add your own exception handler for this, do some experiments, and then send the results to yourself via whatever mechanism you're using to get the stack trace. That's a good idea, but

[android-developers] Re: unable to open database file after OS upgrade

2010-04-09 Thread Walter
Some users of my apps also reported same issue, also same exception in the log. What you can do is: Uninstall your app, power off, power on. if that doesn't work and the phone is rooted, ask the user to clean the app cache, and not install app on SDCard. That resolved all these kind of open