How to Access Sqlite Database in Android Part – 1

 

In this Tutorial we see, What is sqlite in android? It is an opensource, lightweight, single tier and standards-compliant structured SQL database that stores data. It has methods to create, delete, execute SQL commands, and perform some other common database management tasks. It supports all the relational database library.
How to access sqlite database in the android studio?
1- First Go to Tools -> Then select DDMS or click the Device Monitor icon next to SDK Manager in the Tool bar.
2-Device Monitor window will open. In File Explorer tab, click data -> data -> your project name. After that, your databases file will open. Click pull a file from device icon. Save the file using .db extension.
3-Open FireFox, Press Alt , Tools -> SQLiteManager.
4-Follow Database -> connect to Database -> browse your database file and click ok. Your SQLite file will be opened now.
How to create SQLite database in android step by step?


Leave a Reply

Your email address will not be published. Required fields are marked *