Hi, i want to only read data from the sqlite database. when i am creating database and reading it it is working but i have already a database created and i want to read data from this database. I am pushing the database to the sdcard and trying to run the application but it is not reading form the database. I want to know that if install this .apk file in device then my database will also shift to the device or not. if any one has done it before then please help me. Thanks in advance....
A:
Common practice is to store initial data on assets/raw folders of application resources. Then during 1st run just create DB using SQL scripts like:
create table if not exist
Fill DB with initial data - and here you're.
barmaley
2010-10-22 05:37:41