====================SD카드 저장===============================
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.media4th.FroyoTest"
android:installLocation="auto"
android:versionCode="1"
android:versionName="1.0">
우선 프로젝트 생성시 Version 8이상이어야한다
================================================
이런식으로 하니 프로요에서 sd카드로 어플이 이동되더군요
헌데 Version 8 (2.2)로 개발하니
프로요가 아닌 갤럭시s , 모토로이에서는 실행이 안됩니다
어떻게 해결해야 하나요
예를 들면 "바코드스캐너(QR코드)"는 모토로이 에서도 작동하고
디자이어(프로요)에서도 작동 하며 심지어 디자이어(프로요)에서
SD카드로 이동도 가능 합니다
버젼별로 따로 올린건 아닌거 같은데 어떻게 그런지 알고 싶습니다
해답을 알고 계신분 계시면 조언 좀 구하고 싶습니다
참조 URL
http://developer.android.com/guide/appendix/install-location.html
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
(중략)
android:installLocation="auto">
<uses-sdk android:minSdkVersion="7" />
Backward Compatibility (이전버전과의 호환성)
1) android:installLocation= auto 를 포함합니다
Include the android:installLocation attribute with a value of "auto"
2) minSdkVersion을 8 (프로요 2.2)보다 미만으로 설정합니다.
Leave your android:minSdkVersion attribute as is (something less than "8")
어플리케이션 API 레벨이 8 미만일때는
android:installLocation 옵션은 무시되며
내장메모리에 설치됩니다.
When your application is installed on a device with an API Level lower than 8, the android:installLocation attribute is ignored and the application is installed on the internal storage
2.2버전으로 만든 앱은 2.2 이하의 안드로이드에서는 실행은 물론 설치조자 되지않습니다
2.1이하에서도 실행이 되게 하려면 2.1에 맟춰서 앱을 만들어야 합니다
android:installLocation 옵션의 경우 1이면 내장메모리 2면 외장메모리 auto 면 내장에 설치하고 용량이 없다면 외장에 설치하게 되는걸로압니다