Hope someone can help me. I followed the tutorial how to include a db file from your package: http://www.reigndesign.com/blog/using-your-own-sqlite-database-in-android-applications/ I've got it working perfectly!
But now when I want to run my application it says "unable to open database file". I haven't changed the location of my db file or anything for that matters. When checking in DDMS mode, I noticed the database directory in my device for my project ( data/data/mypackage/databases/ ), is not created at all. I thought the emulator is supposed to do this automatically? The only significant change I made, is when I wanted to created an activity with Google Maps and I had to upgrade my virtual device with Google Api. (android 2.1 api level 7) After changing the directory in my code and pushing the file onto the emulator, let's say in data/data/mypackage/data.db. The App actually does work again.... but should'nt it be in the database dir? So the problem seems to be de emulator not creating the database dir voor mij package.... how can this be solved? -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en