You are here
Home > Android > SQLite Database Handling in Android

SQLite Database Handling in Android

Hello Friends, Recently I was developing an Android application in which I was required to use SQLite Database. So, I developed a separate test application by which you can learn SQLite Database Handling in Android. Beside SQLite you can also learn how to use Spinner Control, TableView and TableRow in your Android application. You can also learn using TableRow programmatically as well as using in xml design. There is four activity in this test application, one for adding record, one for updating and deleting record, one for viewing all records and a main activity which provides navigation to these activities.

So, Here is the code

activity_main.xml

activity_record_add.xml

activity_record_update_delete.xml

activity_records_view.xml

MainActivity.java

Record.java

SQLiteHelper.java

RecordAddActivity.java

RecordUpdateDeleteActivity.java

RecordsViewActivity.java

Screenshots

Main ActivityAdd Record ActivityUpdate/Delete ActivityRecords Activity

 

 

 

 

 

 

 

 

AndroidStudio Project Download

 

Thanks for stopping by please share if you like it

 

Rajesh Kumar Sahanee
I am a passionate Java Developer and I like Computer Programming. I love to do some interesting experiments and listening music in my free time.
http://www.zatackcoder.com

Comments

zatackcoder
Top