I have two classes one of type SQLiteOpenHelper and another normal one
public class dbdata extends SQLiteOpenHelper{}
and another
public class parsers {}
The Parsers class, reads a json, and I want it to read when I save to the sqlite database, but I can not instantiate the base class.
mDbCliente=new dbdata();
mDbCliente.nuevoCliente(cliente);
I know I must pass a parameter to the constructor, but I do not know how I would do in this case, the idea is to make it outside an activity.
I hope your commenters