I have a sqlite file. I want to use it in my application. Can anyone share proper example as how I can do that.
I was not sure if .sqlite file can be used so I have also made .db file.
Android databases are sqlite files, so you can just use the standard Android database API. http://developer.android.com/reference/android/database/sqlite/SQLiteDatabase.html
I think you need this.. http://www.reigndesign.com/blog/using-your-own-sqlite-database-in-android-applications/
Check the answer on this links for sample code:
SQLite Database "context" passed to adapter