SDcard only RO even after set permissions
<p>I have added <code>&lt;uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /&gt;</code> to Manifest but I still get "SDcard mounted RO" when executing the below code. What am I doing wrong here?</p>

<pre><code>    if(!extState.equals(Environment.MEDIA_MOUNTED)) {
        Log.d(Tag.getTag(this),
                ("SDcard not mounted"));
    }
    else if (!extState.equals(Environment.MEDIA_MOUNTED_READ_ONLY)) {
        Log.d(Tag.getTag(this),
                ("SDcard mounted RO"));
    }
    else {
        Log.d(Tag.getTag(this),
                ("SDcard mounted RW"));
    }
</code></pre>
