i am new user of android and i had make one android database connection and create table application but at run time it will generate an error.
an error is hear :
public void onDestroy() {
super.onDestroy();
eventsData.close();
}
This is to be called because, Activity class in android does some cleanup by itself. When base class functions are overridden by the derived class that is the activity as done in case of onDestroy(), the base class function needs to be called explicitly to perform the expected operation.