Saturday, October 1, 2011

[android-developers] Re: Creating database with adb

On Sep 30, 12:11 am, Andi <andi.hofba...@googlemail.com> wrote:
> My problem is i have to create a database and put it in the folder off
> my application via adb.

Or you could put it on the sd card, right? That makes more sense than
trying to inject data into app private space using anything but the
app itself.

> When I try to create the database by the application itself it works
> fine, but I have to create the database via adb, thats important to
> me.

If you have to create your sqlite database outside of Android to use
it inside Android, you have to create the android_metadata table that
it would normally create for you.

Doug

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment