본문 바로가기

make/Android

이젠 Android App들을 SD로 인스톨하게 해주세요.

지난 9월 디자이어가 2.2 프로요로 업그레이드 하고 난 후 벌써 한달이
훌쩍 넘어버렸네요.

현재 2.2는 넥서스원과 디자이어.
뭐지? 왜 나온다는 기타등등의 안드로이드 폰 프로요 업데이트는 안나오는 거냐구.

각설.
몇일전에, 아마도 t-store 에 안드로이드 어플 올려놓은 개발자들은 받았을..,
하여튼 2.2 지원을 안하면 경고와 함꼐 판매중지라는 협박(?) 메일은
받은 분들도 계시겠지만, 어쨌뜬, 티스토어건 구글마켓이건 어플 받으면
왜 이렇게 주 메모리에 설치 안 시켜서 난리냐구요.

네. 물론 주 메모리 사뿐히 설치해주셔야 하는 앱들도 계십니다.
하지만 그 외, 덩어리 몇 메가씩 해주시는 찬란한 어플들은
이제 SD카드 이동가능하도록 업뎃좀 해주세요.
(널널한 메인메모리 가진 갤s 따위 잊고 불쌍한 주메모리 가진 사용자들을 생각해주세요 ㅠㅠ )

사실, 그게 그렇게 어려운일도 아니잖아요? 단 서너줄이면 끝난다구요.
그것도 AndroidManifest.xml 만.. ㅡ.ㅡ;

자, 다들 아시겠지만,
이렇게 해주세요.
아주 간단합니다.

AndroidManifest.xml 파일을 엽니다.
<manifest android:installLocation="preferExternal"> 를 추가합니다.
Project Properties 에서 안드로이드 SDK 버전을 2.2로 변경하세요.
2.1과의 호환성을 위해 AndroidManifest.xml 에서
<uses-sdk android:minSdkVersion="7" /> 로 하세요.

preferExternal 은 일단 외부메모리(SD)로의 설치를 기본으로 합니다.
하지만, 무조껀은 아니고 공간이 남아 있으면요.

installLocation 이 auto 로 세팅되면 안드로이드가 알아서 남아 있는 공간에 세팅합니다.

자, 여기 외부 메모리에 설치하면 안되는 경우예요.
Services
Your running Service will be killed and will not be restarted when external storage is remounted. You can, however, register for the ACTION_EXTERNAL_APPLICATIONS_AVAILABLE broadcast Intent, which will notify your application when applications installed on external storage have become available to the system again. At which time, you can restart your Service.
Alarm Services
Your alarms registered with AlarmManager will be cancelled. You must manually re-register any alarms when external storage is remounted.
Input Method Engines
Your IME will be replaced by the default IME. When external storage is remounted, the user can open system settings to enable your IME again.
Live Wallpapers
Your running Live Wallpaper will be replaced by the default Live Wallpaper. When external storage is remounted, the user can select your Live Wallpaper again.
Live Folders
Your Live Folder will be removed from the home screen. When external storage is remounted, the user can add your Live Folder to the home screen again.
App Widgets
Your App Widget will be removed from the home screen. When external storage is remounted, your App Widget will not be available for the user to select until the system resets the home application (usually not until a system reboot).
Account Managers
Your accounts created with AccountManager will disappear until external storage is remounted.
Sync Adapters
Your AbstractThreadedSyncAdapter and all its sync functionality will not work until external storage is remounted.
Device Administrators
Your DeviceAdminReceiver and all its admin capabilities will be disabled, which can have unforeseeable consequences for the device functionality, which may persist after external storage is remounted.
네. 서비스, 알람, 월페이퍼, 라이브폴더 등등 system dependancy 한 앱들은
주메모리에 설치하셔야 합니다.
뭐, 대충 짐작가시겠지만, SD 카드 구동되고 좀 있다가 bind 합니다.
뻑날수 있으니 조심하란 얘기겠지요.

좀 자세한 얘기는 요 바로 밑에 링크를 봐주세요.
http://developer.android.com/guide/appendix/install-location.html

자, 이제 곧 대부분의 안드로이드 폰들이 프로요로 업뎃한다고 하니
미리미리 대비해주세요!

'make > Android' 카테고리의 다른 글

삼성 갤럭시S 시리즈 해상도.  (0) 2012.03.20
디자이어 테더링  (0) 2010.09.21
Beta 전문업체 구글, froyo restartPackage deprecated.  (0) 2010.08.17
Android HOME key 제어  (0) 2010.08.03