ScottG wrote:
> Anybody have any recommendations on building a SQLite database on a G1
> phone?  On the emulator one can simply go to /data/data/.../databases
> and build the database that your application needs.
> 
> Of course it doesn't have to be here but I can't find anywhere on the
> G1 that I have write permission.
> 
> Is there a recommended place that one can and should build an
> application's database on the G1?

You should let Android build it and let Android put it in its proper place.

If you look at the NotePad example in the SDK, you will see how it uses 
DatabaseHelper to run the DDL necessary to create the notes table. While 
the database name (note_pad.db) is specified, it does not specify a path 
-- Android handles that for you.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com

Android Training on the Ranch! -- Mar 16-20, 2009
http://www.bignerdranch.com/schedule.shtml

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to