Problem in creating a database in SQLite in Android
<p>Hi I am new to android and I have a problem in creating a database.</p>

<pre><code>public class database extends ListActivity {
    /** Called when the activity is first created. */
    private final String MY_DATABASE_NAME = "myCoolUserDB.db";
    private final String MY_DATABASE_TABLE = "t_Users"; 
    Context c;
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        ArrayList&lt;String&gt; results = new ArrayList&lt;String&gt;();
        setContentView(R.layout.main);
        SQLiteDatabase mydb=null;
        try
        {
            mydb.openOrCreateDatabase(MY_DATABASE_NAME,  null);

        } catch(Exception e){}
    }
}
</code></pre>

<p>When I run this code it throws a run time exception.  Please help me.</p>
