How can I get SD Card directory in Android API Level 11? This code
Environment.getExternalStorageDirectory();
returns me directory of phone memory (internal directory). I added permissions to AndroidManifest.xml
only for External Storage:
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
On some phones this code works correctly (for example, ZTE Blade HN and Phillips), e.t. returns concretically SD Card path. But Lenovo returns Internal path. Every phone has official recovery.