[android-developers] Re: program crashes when i try to create a table for my app

2013-05-02 Thread bob
I think there should not be a *db.close()* in the onCreate method. Thanks. On Tuesday, April 23, 2013 8:43:06 AM UTC-5, Manish Jain wrote: > > here is the code of my database java file > > package com.example.docterapp; > > import java.util.ArrayList; > import java.util.List; > > import and

[android-developers] Re: program crashes when i try to create a table for my app

2013-05-02 Thread Piren
You're creating a table using a non initialized members to name the columns... any reason those are not static either? (and with values...) Honestly, that's one clusterfuck of code... especially when it comes to the naming scheme and structuring of the code.. you should really start it over fro