Write to database in sdcard platform 1.5 and 2.1 (PROBLEM)
<p>Anyone of you have any idea that is there any different on writting to database to sdcard in android 1.5 and 2.1? I faced a problem here. </p>

<p>I have a android apad which firmware is 1.5. I have write a program to write to database at sdcard. However no database was created in this firmware 1.5.</p>

<p>Then I proceed on to test on emulator. Using platform 1.5, <strong>no</strong> database created, but when using plathform 2.1, there <strong>is</strong> database created with the information inside.</p>

<p>I have given the permisson to write to sdcard and database. by using the following permission:</p>

<p><code>&lt;uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/&gt;
&lt;uses-permission android:name="android.permission.ACCESS_CHECKIN_PROPERTIES"/&gt;</code></p>

<p>The method to create database to sdcard is:</p>

<p><code>
testInputDB = this.openOrCreateDatabase("/sdcard/database/testInputDB.db", MODE_PRIVATE, null);<br>
                /* Create a Table in the Database. */<br>
                testInputDB.execSQL("CREATE TABLE IF NOT EXISTS "<br>
                        + TableName<br>
                        + " (Field1 VARCHAR, Field2 VARCHAR);");
</code></p>
