프로그래밍/Android

(참조) 안드로이드 설치 저장소 지정하기

UART 2014. 3. 14. 16:14

AndroidManifest.xml 에 아래와 같이 installLocation 을 추가 한다.

<manifest xmlns:android="http://schemas.android.com/apk/res/android"   
package="com.freecatz.test"    
android:versionCode="3"    
android:versionName="1.6"    
android:installLocation="preferExternal" >

auto : 자동으로 내장메모리에 우선 설치 하나 공간이 없는 경우 외장메모리에 설치.
internalOnly : 내장 메모리에 설치.
preferExternal : 외장메모리에 설치를 우선으로 하나 공간이 없는 경우 내장메모리에 설치.