+10 votes
258 views
in Android by
BaseHelper baseHelper = new BaseHelper (this, "demodb", null, 1); in this line asks me to create a constructor is highlighted esta
         BaseHelper.getWritableDatabase SQLiteDatabase db = ();

1 Answer

+12 votes
by (201k points)
You have to create a class that extends the "SQLiteOpenHelper" with super-constructor calling to which you miss the Context, the name of the database ("ejemplo.db"), the CursorFactory (may be null) and the number version.
Ask a Question
Welcome to WikiTechSolutions where you can ask questions and receive answers from other members of the community.

You can ask a question without registration.

Categories

...