Problem with SQLite database connection

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

Problem with SQLite database connection

Postby NithinG » Thu Mar 06, 2008 6:28 am

I have tried to create a table in SQLite and i tried to insert some values in to it and fetch it. But it is giving an error in LOG

E/PackageManager(465): Package com.google.android.CellIDToLatLong has mismatched uid: 10025 on disk, 10043 in settings
E/Database(737): Failed to open database file "databases/MyDataBase" - unable to open database file


The code which i have tried is this

Anyone please help me to solve this.

Regards,

NithinG
Last edited by NithinG on Tue Mar 25, 2008 7:31 am, edited 1 time in total.
NithinG
Developer
Developer
 
Posts: 36
Joined: Wed Feb 27, 2008 6:24 am

Top

Postby plusminus » Fri Mar 07, 2008 12:49 am

Hello NithinG,

SQLite-DBs are currently a bit buggy. Seem to crash internally.

Maybe give a try to "-wipe-data"

Regards,
plusminus
Image
Image | Android Development Community / Tutorials
User avatar
plusminus
Site Admin
Site Admin
 
Posts: 2688
Joined: Wed Nov 14, 2007 8:37 pm
Location: Schriesheim, Germany

Postby NithinG » Fri Mar 07, 2008 8:29 am

Hello plusminus

Can you tell me how to do it... Where the datas are saved?
NithinG
Developer
Developer
 
Posts: 36
Joined: Wed Feb 27, 2008 6:24 am

Postby plusminus » Fri Mar 07, 2008 1:44 pm

Hello NithinG,

opne the :run:-Configuration, then:
Image


Regards,
plusminus
Image
Image | Android Development Community / Tutorials
User avatar
plusminus
Site Admin
Site Admin
 
Posts: 2688
Joined: Wed Nov 14, 2007 8:37 pm
Location: Schriesheim, Germany

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: No registered users and 17 guests