Where table is store in database?

Problems with WiFi, SQLite ,Bluetooth, WiMax, Proxies, etc...

Where table is store in database?

Postby pranav09 » Wed Feb 04, 2009 9:00 am

Hi all,

I have created one table using SQLite by applying

"create table temp (number integer, name text, address text)";

Now i want to know that where the temp file is stored? And also i want to know that how i can save the table when i am working with the SQLite.

If any command of it, tell me and also if you have any material about SQLite give me.

Thanks...
User avatar
pranav09
Senior Developer
Senior Developer
 
Posts: 128
Joined: Mon Jan 19, 2009 12:01 pm
Location: Ahmedabad, India

Top

Postby bit » Fri Feb 13, 2009 2:37 am

"Now i want to know that where the temp file is stored?"

The book Hello Android says the databases are stored in /data/data/packagename/databases (where packagename is your app's package name (com.blah or whatever).

"And also i want to know that how i can save the table when i am working with the SQLite."

What do you mean by saved? It's preserved until you "drop table temp" (or reset the device).

You can check out http://www.sqlite.org for more info about the database in general.
bit
Junior Developer
Junior Developer
 
Posts: 19
Joined: Thu Dec 11, 2008 7:30 pm

Top

Return to Networking & Database Problems

Who is online

Users browsing this forum: Exabot [Bot] and 5 guests