Hi again, my problem solved by storing my database in sdcard, but even now
I have to push my database for the first time I m using it.


Now, I want something like....storing my database in assets folder, so that
it can directly be installed with the apk directly, without using push.

Here is what I did.
1) Copied the database in assets folder.

Now, for accessing that database, I m doing---

2) 
db=*SQLiteDatabase.openDatabase*("file:////android_assets/MY_DATABASE<file://android_assets/MY_DATABASE>",
null, SQLiteDatabase.CREATE_IF_NECESSARY);

Am I doing something wrong here, let me know if I m wrong.

I hope, u all got my problem..

Narendra :(

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to