Unreadable sqlite3 file
I've just written my first android-app (https://sourceforge.net/projects/cashcontroll/). It's a little budget-control tool to control my expenses.
Everything works fine. Because of the fact that this is quit important data for me I've created a backup function where the whole db-file is stored to the sd card.
And now the weird thing happens: With my first android (htc desire , android 2.2 Build 2.29) )I can make a backup, transfer it to the pc an analize it with a db tool like navicat. I can also change it an dump it back to the sd card an import it afterwards into my app.
When I then copy the same file to the sd card of my second android (htc desire hd, android 2.29) I can also i开发者_高级运维mport it an use it in my app. As soon as I do a backup on my second android I can't read the database in any other tool (e.g. navicat oder my first android). It can be used in the original device (my second mobile) though.I can also open it with a text editor (e.g nano) but nothing else.
Any idea?
Thanks for your help
Ueli
There seems to be a problem with the HTC Desire HD. Have a look at Database handling stoped working on Android 2.2.1 (Desire HD 1.72.405.3) and Problem with Testing and Debuging of Android Apps .
精彩评论