Hello Forum,
I am building a small application for work use. I have a phone book
that I would like to turn to android application.
I know how to manage sqlite DB from the notepad3 tutorial. But I have
a different problem.
In the tutorial the application started with no data (When
installed).
Here I first need to install a DB of hundreds records.
Personal I see a few option of doing that. but before implementing I
would appreciate a more experienced opinion.
1. I can create the software with empty DB and require a user to put a
sql file in his SD card in and on the first use run all scripts.
2. I can save the SQL commands hard coded (I don't like this option)
3. I can create a .db file with all the data inside and give it as
resource.
I have several problem with that.
* I read that all db should be under /data/data/<application>/..
* If I would just leave the db file in the user sd card it is not
secured.
* I'm not sure where should I put it as a resource.
Hope some one could help here.
Thanks.
Ika.
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
To unsubscribe, reply using "remove me" as the subject.