Android: use SQLite database on SD Card (not using internal Android Data Store at all)

前端 未结 2 969
臣服心动
臣服心动 2020-12-08 11:53

Can somebody please give me some links / tutorials to using SQLite file thatis stored on a SD card? Not implementing the OpenHandler.

/SD CARD//info.db

I wa

2条回答
  •  轮回少年
    2020-12-08 12:52

    Have you tried using SQLiteDatabase.openOrCreateDatabase(String, SQLiteDatabase.CursorFactory)? You can simply pass "/sdcard/info.db" as the first and null as the second parameter.

提交回复
热议问题