Cannot transfer application to SD card

I cannot transfer my own application to the SD card.

My relevant parts of the manifest are listed below (I also insert what permissions he needs).

<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<application
    android:installLocation="preferExternal"
    android:label="@string/app_name" >

<uses-sdk
    android:minSdkVersion="6"
    android:targetSdkVersion="9" />

I believe that I followed the recommendations described here: http://developer.android.com/guide/topics/data/install-location.html (compatibility and errors). However, during the installation (from the SDK, but also from the Android Market), the applications go to the internal storage, and I cannot move it using the "Application Management".

+5
source share
3 answers

try it...

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    android:installLocation="preferExternal"
    package="your.package.name"
    android:versionCode="1"
    android:versionName="1.0" >
...
...
+7
source

You need to include android:installLocation="auto"in the tag<manifest>

+3

" " " "

, API 8, ( API 8).

, API 8 ( ).

, "" > "Android". API 8 (Android 2.2) .

0

All Articles