my only way to do it was to dump the database and get the code and
insert it in the database to build it on the fly just like Burton
Miller suggested.

I think this is not the best approach and could slow things down
tremendously

On Jun 20, 4:51 pm, burton miller <[email protected]> wrote:
> this was not possible in previous versions of the os - maybe it is
> now.
>
> up until now, you have three options:
> 1) build db on the fly
> 2) put db in assets, then copy it to db directory when you first run
> (2x space).
> 3) install db from internet as a secondary installation
>
> if things have changed - then i'll rewrite one of my apps!
>
> On Jun 19, 12:43 pm, Georgy <[email protected]> wrote:
>
> > Hello
>
> > I have an SQL lite database that I am trying to copy to the device. I
> > was able to copy it to the emulator easily using DDMS however with the
> > protection in the device, I cannot access the database files from the
> > DDMS perspective.
>
> > I read many attempts here but couldn't find an easy solution.
>
> > Is there any way to attach the database (let's say named 'proj') and
> > replace the currently created database proj in he device files?
>
> > thanks
--~--~---------~--~----~------------~-------~--~----~
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