Public abstract newCursor( db, masterQuery, editTable, . so you can use the passed-in SQLiteDatabase object to invoke SQL commands, using its execSql(String) method: public void onCreate(SQLiteDatabase db). SQLite provides the create database functionality to users, in which that user can be able to create a database as per their requirement. I will say this much, the onUpgrade that comes with SQLiteOpenHelper comes in REALLY handy when upgrading your application. A helper class to manage database creation and version management. LibraryDependencies += "" % "android" % "2.3.1" Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. Below is a simple C program that demonstrates how to use the C/C++ interface to SQLite. SQLiteDatabase has methods to create, delete, execute SQL commands, and perform other common database management tasks.
0 Comments
Leave a Reply. |