Call a non static methode in a static SQLiteDatabase class
- by Fevos
i want to display a msg to the user (msg box or Toast) when exception happend in a static SQLite Database class that i use.
the proplem is that i cant call a non static methode in a static class , how can i handle this.
this is the class
private static SQLiteDatabase getDatabase(Context aContext) {
and i want to add something like this in…