super.onCreate(savedInstanceState); is in my sqlite database
<p>hy in new in android and working on sqlite db i code an litte app but not getting and displaying stored data. this is my main activity and please let me knw how i can get error report by using logcat but when debug it its show </p>

<p>public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);=null;</p>

<p>please help...
thanks</p>

<pre><code>@Override
public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.main);
     CursorAdapter dataSource;
     View entryView;
      String fields[] = { "longi", "lati","name" , BaseColumns._ID };


   SQLiteDatabase myhelper=null;
   String table1="loc";
  // String table2="list";
   try {
   myhelper.execSQL("CREATE TABLE IF NOT EXISTS table1 ("
            + BaseColumns._ID
            + " INTEGER PRIMARY KEY AUTOINCREMENT, longi DOUBLE, lati DOUBLE ,name TEXT )");
    myhelper.execSQL("INSERT INTO table1 (longi, lati , name) VALUES ('12.99', '12.88' )");
    myhelper.execSQL("INSERT INTO table1 (longi, lati , name) VALUES ('13.77', '123.88' )");
    Cursor data = myhelper.query("table1", fields, null, null, null, null,
            null);
    dataSource = new SimpleCursorAdapter(this, R.layout.row, data, fields,
            new int[] { R.id.longi, R.id.lati, R.id.name});
    ListView view = getListView();
    view.setHeaderDividersEnabled(true);
    view.addHeaderView(getLayoutInflater().inflate(R.layout.row, null));

    setListAdapter(dataSource);
}
   catch(Exception e){
    Log.e("ERROR","ERROR",e);
}
    finally{
        if(myhelper!=null);
        myhelper.close();
    }
    }
</code></pre>

<p>}
    ></p>
