On Fri, Jul 8, 2011 at 7:10 AM, Jim Graham <[email protected]> wrote:
> A bit of background:  I am working on a brewer's grain/malt
> specifications database app (and after that, similar for hops
> and yeast).

Great. Just what we need: a bunch of drunk Androids wandering around.

:-)

> Question:  Given that the database is read-only, and the fact that,
> in order to copy it from one location to another, I already have to
> be able to read it, can I just leave it in the assets directory and
> read from it in that location instead of making a copy?

AFAIK, no. SQLite needs a file. The asset is merely a hunk of space
inside the APK file (which is really a ZIP archive).

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android Training...At Your Office: http://commonsware.com/training

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