Android app deployment

I developed an Android app for Android. Now I want to make it available for deployment. But I can not deploy it with the database.

+7
android database deployment
source share
1 answer

Hope you could use sqlite database. Save the sqlite database in the folder with your assets and create your apk. Android will take care of everyone else.

String myPath = DB_PATH + DB_NAME; SQLiteDatabase myDataBase = SQLiteDatabase.openDatabase(myPath, null, SQLiteDatabase.OPEN_READWRITE); 

where DB_Path = "/ data / data // databases /"; and DB_Name = your database name

+4
source share

All Articles