Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Creating database in sdcard

Is it possible to create the database in sdcard. If possible please tell m some tutorials. I know how to create database locally. I am searching in internet, but I am not getting proper tutorials.

like image 995
Prabhu M Avatar asked Feb 23 '23 14:02

Prabhu M


1 Answers

SQLiteDatabase.openOrCreateDatabase(String path, SQLiteDatabase.CursorFactory factory) will create a database in any folder you like (and have permission to write in).

Barry

like image 62
Barry Fruitman Avatar answered Feb 28 '23 01:02

Barry Fruitman