0

I wanna use a external database sqlite in my android app.

I have copied a database in assets folder in my java android project (database.db.zip) but i can't use this database with normal guides on web.

i have create this class

public class MyDatabase extends SQLiteAssetHelper {

private static final String DATABASE_NAME = "parole.db";
private static final int DATABASE_VERSION = 1;

public MyDatabase(Context context) {
    super(context, DATABASE_NAME, null, DATABASE_VERSION);
}

}

i how i can use this for reading my database ?

robx
  • 49
  • 1
  • 7

0 Answers0