DataBase-CRUD Tutorial for Android

Farhan's Blogs & Portal

Here is the DataBase CRUD Tutorial for Android.

First of all create the SQLite DB and paste in the assets folder.

See Blog for creation of SQLite DB

Use DBAdapter Class for DB connectivity and CRUD manipulation.

Its functions details are commented in class itself.

You can download its complete source code from here.


First of all on the start of application(Splash) call createDataBase() function to create and copy database from assets folder(Select in my case). After first time creation of DB used DB will be now on “/data/data/mypackagename/database/” path.




Related Blog

View original post


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s