×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Confirming SQLite database creation and data exsistence

Confirming SQLite database creation and data exsistence

Confirming SQLite database creation and data exsistence

(OP)
When I code the creation of a SQLite database in my Android app in Eclipse, Eclipse doesn't create a visible data file. This really confused me, where is my database? Am I writing new records to my data table?
 Well the answer was to download the SQLite Database Browser tool. With the browser I can now see my database and table data. Download the browser and install it, the link for the download is below. Now get your app running in the AVD, select the DDMS perspective. Select the File Explorer tab, expand the data file, expand the next data file. Find your project file and expand it. Expand the databases file and you should find your database. Highlight your database. At the top right of the File Explorer window is 2 icons, hover over them to get their function. Click the icon "Pull a file from the device". This will prompt you to save the file, this is a copy of the database with the current data. Now you can open this file with the SQLite Database Browser tool to confirm data insertions have occurred as expected. Repeat this process after adding new data to a table and the saved copy will be overwritten with the new data. Hopefully this will help someone as much as it has helped me. Here is the download link: http://sourceforge.net/projects/sqlitebrowser/

RE: Confirming SQLite database creation and data exsistence

Good to know.

_________________
Bob Rashkin

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close