title: Environment.getExternalStorageDirectory().getAbsolutePath() not working and giving /storage
body: <p>My code </p>
  
  <pre><code>myDb = openOrCreateDatabase("/sdcard/FashionGirl/ImagesDB.db", Context.MODE_PRIVATE, null);
  myDb = openOrCreateDatabase(dbPath, Context.MODE_PRIVATE, null);
  </code></pre>
  
  <p>worked perfectly, but was giving warning <code>Do not hardcode "/sdcard/"; use Environment.getExternalStorageDirectory().getPath() instead</code> </p>
  
  <p>So I tried,</p>
  
  <pre><code>String dbPath = Environment.getExternalStorageDirectory().getAbsolutePath() + "FashionGirl/ImagesDB.db";
  myDb = openOrCreateDatabase(dbPath, Context.MODE_PRIVATE, null);
  </code></pre>
  
  <p>But strangely, its not working, where Environment.getExternalStorageDirectory().getAbsolutePath() has value <code>/storage</code> </p>
  
  <p>So its giving error, </p>
  
  <pre><code>12-17 19:32:02.230: E/SqliteDatabaseCpp(15620): sqlite3_open_v2("/storageFashionGirl/ImagesDB.db", &amp;handle, 6, NULL) failed
  12-17 19:32:02.230: E/SQLiteDatabase(15620): Failed to open the database. closing it.
  12-17 19:32:02.230: E/SQLiteDatabase(15620): android.database.sqlite.SQLiteCantOpenDatabaseException: unable to open database file
  12-17 19:32:02.230: E/SQLiteDatabase(15620):    at android.database.sqlite.SQLiteDatabase.dbopen(Native Method)
  12-17 19:32:02.230: E/SQLiteDatabase(15620):    at android.database.sqlite.SQLiteDatabase.openDatabase(SQLiteDatabase.java:983)
  12-17 19:32:02.230: E/SQLiteDatabase(15620):    at android.database.sqlite.SQLiteDatabase.openDatabase(SQLiteDatabase.java:956)
  12-17 19:32:02.230: E/SQLiteDatabase(15620):    at android.database.sqlite.SQLiteDatabase.openDatabase(SQLiteDatabase.java:932)
  </code></pre>
  
  <p>So why something recommended by Android is not working, what should I do? </p>