Reputation: 5651
For a program that I have written myself, is there a method of accessing the data in an Eclipse view from inside the database? I know where the database file resides (com.blah.main > data > database > databasename), but I can't figure out how to view it, except in command line interfaces.
I thought perhaps because I'm new to Android development there was a plugin view I was overlooking that would make examining the data easier (and visually).
Upvotes: 2
Views: 8586
Reputation: 3243
For security reasons device DB are only readable by that DB's owner on the device - or via a ContentProvider that exposes the data. If your phone is rooted, you can read the databases using adb and sqlite3, see here. Motorola's MOTODEV enhancements offers a Database Explorer that might be helpful.
Upvotes: 3
Reputation: 82335
If you know how to access the db file from eclipse and are on windows then you can take advantage of this SQLite Database Browser to view the information after transferring it to the pc. But as far as eclipse is concerned I am not familiar with a plugin that will allow you to view the db file on the device.
Upvotes: 3