How to force android to install app on internal memory

android

Solution

set in Manifest

android:installLocation="internalOnly"

this will install app in internal storage and will not install it at all if there is no space in internal memory

http://developer.android.com/guide/topics/manifest/manifest-element.html

Problem

I've an app that i download from private server, it installs ok on most phones but i'm having problems installing it on a HTC Desire C. The phone has no sdcard present. I've searched around and found a manifest setting that should hint at internal storage or say that there is at least no preference to where the app is installed. ``` <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.carefreegroup" android:versionCode="1" android:versionName="1.0" android:installLocation="auto" > ``` This does not work however. How can i tell android that the app MUST be installed on the internal memory Thanks Matt

Original source