Usually when you develop Android, you have to use the database operation and encounter the following minor issues:
Where is the database file? How do I access or operate?
can be opened by: Open Ddms->file Explorer to see the SQLite database in Eclipse, then in the directory/data /data/package_name/ Found under databases. But we can only see the. db file, not even see the tabular data, let alone manipulate the data. Of course, we can export the. db file and manipulate the data with database manipulation tools (such as sqlite expert), which is not very troublesome, Today we can use a simple tool (Eclipse plugin Sqlitemanger) to directly implement our data in eclipse, is not more convenient for our Android development!
1, download the installable Eclipse Sqlitemanger plugin, official website: http://www.sqlitemanager.org/or Baidu search for the corresponding jar file,
2, put the downloaded jar package under the eclipse/dropins/ directory, then restart Eclipse, the installation is complete, so easy!
3. Run your project, look again at the top right corner of the File Explorer window, have a cylindrical icon for the database, select the database file (. db file) and click on it to open the Sqlitemanager window, where you can view the table information.
Note: If your Sqlitemanager plugin is not successfully enabled, check your sqlite file extension. This should be a ". db" extension.
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
Android development: Eclipse in Sqlitemanager plugin use