deepikaellur89
Lurker
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();
}
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();
}