the problem is not whether you can write to it, it is WHEN you can write to it.
you can do it for testing, but if you want to INSTALL a db that way, then you must first package it with your application, which means the space is used TWICE. the alternative is to download it after installation - into the data/ data/YOUR_PACKAGE/databases dir - which is what i do with one of my apps. if only we could access a db that is inside the apk. On Mar 3, 9:30 pm, gymshoe <gyms...@bresnan.net> wrote: > While you can read other databases, if you want to update it, you may > have problems because the directory: /data/data/YOUR_PACKAGE/ > databases/ > does not give permission to write. (It has permissions of drwxrwx-- > x). > > Jim > > On Mar 3, 12:12 am, fluxa <jmfl...@gmail.com> wrote: > > > Check out this post > > herehttp://www.reigndesign.com/blog/using-your-own-sqlite-database-in-and... > > hope be helpful for you. > > > On Feb 14, 3:51 am, Moons <moone...@gmail.com> wrote: > > > > Hello Android Developers, > > > > I'm new to Android, I just finished the Notepad Tutorials, where we > > > can createSQLiteDatabases to save notes. > > > So I wanted to know if it was possible to "import" my ownSQLite > > > database (not created with my App but with a 3rd-party software) to my > > > project, and if the answer is yes, where should I save mySQLite > > > databse and how can I have access to it. > > > > Thank you for your help.- Hide quoted text - > > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---