android - App installation on the external storage. What will happen with the database? -
my application uses sql database. happen location of database, if declare android:installlocation="preferexternal"
in androidmanifest? stored on external database? if no, how should handle in application? (ideally, if user moved application, should move database)
to answer other question. if want bring have database on external storage use sqlitedatabase.opendatabase method path of database paramters. check following links. ive found examples take @ them.
this one!
is possible move internal db sdcard?
heres example.
http://www.reigndesign.com/blog/using-your-own-sqlite-database-in-android-applications/
u might want use documentation reference.. luck!
http://developer.android.com/reference/android/database/sqlite/sqlitedatabase.html#opendatabase(java.lang.string, android.database.sqlite.sqlitedatabase.cursorfactory, int, android.database.databaseerrorhandler)
Comments
Post a Comment