Dale wrote:
> I've move the file around to several locations but cannot seem
> to get it to open.

I have no idea what this means.

Bear in mind that you can't just plop a database in assets/ and expect
it to be usable. The material in assets/ is part of a digitally signed
APK and cannot be modified in place. *You* need to copy it to some
likely spot, either on the SD card somewhere, or in:

/data/data/the.package.from.your.manifest.goes.here/databases/

The definitive blog post on the topic appears to be:

http://www.reigndesign.com/blog/using-your-own-sqlite-database-in-android-applications/

See also:

http://stackoverflow.com/questions/2334461/open-sqlite-database-failed

http://stackoverflow.com/questions/2318784/the-sqlite-database-path

http://stackoverflow.com/questions/1894984/use-sqlite-database-from-android-app-resources

http://stackoverflow.com/questions/513084/how-to-ship-an-android-application-with-a-database

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

Android Consulting/App Development: http://commonsware.com/consulting

-- 
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en

Reply via email to