Podczas pisania programu natknąłem się na duży błąd, z którym walczę już dość długo. W debugerze pokazuje się Source not found
na tej linii:
MySecondClass zb = new MySecondClass(kontekst);
kontekst
to:
Context kontekst = this.getApplicationContext();
Fragment kodu z 2 klasy:
public class MySecondClass extends SQLiteOpenHelper{
Context kontext;
MySecondClass(Context context) {
super(context, "ustawienia.db", null, 1);
kontext=context;
}
}