How to create SQLite DB throw android code? -


in android application want create sqlite database store values.i want create the database auto increment field throw android code.

please 1 me sample code

thanks in advance

to create sqlitedatabase 1.create class implements android.database.sqlite.sqliteopenhelper class 2.create object of above implemented class 3.call 1 of methods getreadabledatabase() or getwritabledatabase() per requirement. 4.the above methods returns android.database.sqlite.sqlitedatabase object,which contains methods manage database


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -