Search code examples
androidandroid-sdk-2.1

use External database in android


I have created database AddressBookMaster.db using Sqlite Browser and also create table AddressBook in mentioned database. But now problem is that I want to use this .db file in my application so where should I put this db file and how to fetch in application?

Is there any example or tutorial which can help to me?


Solution

  • The information contained in Using your own SQLite database in Android applications should have exactly what you are looking for.

    You should note that while this is not really difficult it is not just a set of trivial commands that would be done outside of your application.