You must create your own subclass of this abstract class. SQLiteOpenHelper is an abstract class which is responsible for creating or upgrading your SQLite databases and returning SQLiteDatabase object instance. Programmatically created SQLite database in an application is stored under path: /data/data//databases/.Ģ How to use SQLite in Android 2.1 SQLiteOpenHelper and SQLiteDatabase So it is a good way to store complex private data of application using SQLite database. The SQLite database of an Android application can only be accessed by classes in the application itself, but not others. This database is separated from other applications and saved in internal storage. It is self-contained, serverless, zero-configuration, transactional and uses standard SQL language for executing queries.Įach Android application has its own SQLite database. SQLite is an embedded SQL database engine. Tutorial about how to use SQLite database in Android application.
0 Comments
Leave a Reply. |