I’ve implemented all the necessary things for “Move To SD card” functionality and the app can be moved to the SD card when launched from Eclipse or if I manually install the .apk file on the phone. However, after I’ve uploaded the apk to the Market, I’ve downloaded the app and “Move To SD” button was disabled.
The app is called “[redacted]”.
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:installLocation="preferExternal" >
...
<uses-sdk android:minSdkVersion="7" android:targetSdkVersion="8" />
What could be wrong with it?
Have you checked that the button isn’t grayed out because the app already is on your SD card?
When you declare “preferExternal”, you request that your application be installed on the external storage as the default.