title: sqlite database not created
body: <p>I am using standard approach which I learned from popular notepad example for building my <em>first</em> app.<br>
  But I got stuck into a strange problem.<br>
  The SQLite database file (.db) is not being created in /data/data/package/databases. I have cross checked manifest file and OpenHelper file from HeadFirst android dev. Book ( I am using it as a reference ) but I found myself unable to figure out why the database file is not created..<br>
  Are there any special permissions or something we need to switch on to get it working??<br>
  strange thing is that its working fine for pre-loaded examples. means '.db' file is created for notepad example but when I try, it fails. :(<br>
  here are my files.  </p>
  
  <p><em>Package - database.test</em>  </p>
  
  <p><strong>1. AndroidManifest.xml</strong>   </p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  </code></pre>
  
  <p></p>
  
  <pre><code>&lt;uses-sdk android:minSdkVersion="10" /&gt;
  
  &lt;application
      android:icon="@drawable/ic_launcher"
      android:label="@string/app_name" &gt;
      &lt;activity
          android:name=".Database_testActivity"
          android:label="@string/app_name" &gt;
      &lt;/activity&gt;
  &lt;/application&gt;
  </code></pre>
  
  <p>  </p>
  
  <p><strong>2.TestOpenHelper.java</strong></p>
  
  <pre><code>package database.test;
  
  import android.content.Context;
  import android.database.sqlite.SQLiteDatabase;
  import android.database.sqlite.SQLiteOpenHelper;
  
  public class TestOpenHelper extends SQLiteOpenHelper {
  
  TestOpenHelper(Context context){
      super(context,"mydb.db",null,1);
  }
  @Override
  public void onCreate(SQLiteDatabase database){
      database.execSQL("create table test_1 " + " (field1 integer primary key, field2 integer);");
  }
  public void onUpgrade (SQLiteDatabase database, int oldVersion, int newVersion){
      database.execSQL("drop table if exists test1");
      onCreate(database);
  }
  }
  </code></pre>
  
  <p><strong>3.Database_testActivity.java</strong></p>
  
  <pre><code>package database.test;
  
  import android.app.Activity;
  import android.os.Bundle;
  import android.widget.ListView;
  
  public class Database_testActivity extends Activity {
  /** Called when the activity is first created. */
  @Override
  public void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      setContentView(R.layout.main);
  
      ListView listview = (ListView)findViewById(R.id.test_list);
      TestAdapter ta = new TestAdapter();
      listview.setAdapter(ta);
  
      TestOpenHelper openHelper = new TestOpenHelper(this);
  }
  }   
  </code></pre>
  
  <p>I know its a very basic question, but I have been trying to solve this for last fifteen days and now I am completely frustrated.<br>
  Please help ..</p>