Saturday, April 14, 2012

How to Access and manipulate database file (sample.db) from locale resource in Android?


Hi all,
I got a reference link which nicely illustrate an example to access database file e.g., sample.db from /asset directory of Android project and manipulate it as per the requirement.
There are many tools are available to make ".db"(database) file such as SQLite Browser, SQLite Studio, etc. This example might help to reduce the complexity on such a situation.
1. No need to make queries to create database table.
2. When there are big amount of database tables require in application.
Please have a look at below link.
http://www.reigndesign.com/blog/using-your-own-sqlite-database-in-android-applications/

No comments:

Post a Comment