static SQLiteDatabase SQLiteDatabase openOrCreateDatabase comes in flavors that take a java.io.File or a String path
Billy Bob wrote: > Hello, > > I'd like to use an existing sqlite3 database created outside of the > phone, on a computer reachable by Wifi. I know how to download the > file using Socket. The problem I see is that android.database.sqlite > classes access databases only in /data/data/<package_name>/databases > and it does not seem to be possible to write files directly in there. > > Is there a way to write a file in /data/data/<package_name>/ > databases or ask the android.database.sqlite classes to read a > database from another place? > > Thanks for your help. > > BB > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---