• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

database

Hi all,
I'm a beginner and developing an app which will help doctors to record details of there patients.im using eclipse juno, n android Gingerbread 2.3
I get the error close application forcefully on emulator when i include the code

OpenHelper openHelper = new OpenHelper(context);
db = openHelper.getWritableDatabase();



final DBUtil dh = new DBUtil(context);

ArrayList<ClassDoctor> doctor = dh.listDoctors();
String all[] = new String[doctor.size()];
for(int i=0; i<doctor.size(); i++)
{
all = doctor.get(i).getName();
}
 
Back
Top Bottom