title: How can we create a database in android using the SQLiteDatabase class?
body: <p>I want to create database in android without usin the SQLiteOpenHelper Class. I want to create it using the SQLiteDatabase class.I am doing it in this way--</p>
  
  <pre><code>SQLiteDatabase sqldb;
  String path="data/data/mypackagename/sample.db"
  
  public void CreateDatabase(){
   sqldb.openOrCreateDatabase(path, null);
  }
  </code></pre>
  
  <p>While executing it's throwing an exception that 'unable to open the databse file'. Please help me out in creating the database file using the SQLiteDatabase class.</p>