Why my external DB is not accessible in Android 4?
<pre><code>   @Override
    public SQLiteDatabase openOrCreateDatabase(String name, int mode, CursorFactory factory){
         File externalFilesDir = Environment.getExternalStorageDirectory();
         if(externalFilesDir == null) 
                return null;
         File dbFile = new File(externalFilesDir, SQLiteHelper.DATABASE_NAME);
         return SQLiteDatabase.openDatabase(dbFile.getAbsolutePath(), null, SQLiteDatabase.CREATE_IF_NECESSARY);
    }
</code></pre>

<p>I use the above code to write my db file into the external storage. So it is saved at <code>/mnt/sdcard/</code>. When i try it in Android 2.3.5 it works. But with Android 4 it do not work. But still it do not give me any errors. </p>
