Androidã®2.2以ä¸ã§ã¯ãã¢ããªå´ã§å¯¾å¦ãããã¨ã§ãSDã«ã¼ãçå¤é¨è¨æ¶åªä½ã¸ã¢ããªãä¿åã»ç§»åãããã¨ãã§ãã¾ãã
ãã ã2.1以ä¸ã§ãåãã¢ããªã§ã2.2以ä¸ãªãSD移åå¯ã¨ãããã¨ããã®ã¯è¥å¹²ãã¯ããã¯ãå¿ è¦ã
ãã®å¯¾å¿ã¯ã AndroidManifest.xml ä¸ã§
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:installLocation="preferExternal" ... >
ãæå®ããã®ã ãã©ãããã«ã
- android:minSdkVersion ã§ãå®è¡å¯è½ãªOSãæå®
- ãã«ãæã®ã¿ã¼ã²ããããAPI Level 8ãã¨ãã
- ãªããªããæ§æä¸ installLocation ãå°å ¥ãããã®ã¯ã2.2(API Level 8)ãããªã®ã§ã
ã¨ãã対å¿ã«ãªãã¾ãã
ã§ãTitaniumã§ã®éçºæã«ã対å¿ããããã¨ã
ãã¼ãããããã«ãæã®ã¿ã¼ã²ããæå®ã®æ¹æ³ãããããã»ã»ã»
ã¨æã£ã¦ãããæ¬å®¶Appcelerator Developer Blogå ã§ç´¹ä»ããã¦ãã¾ãããããwikiã«åæ ãã¦ããã ããªãã ãããw
Installing Android apps to the SD card
- tiapp.xml
<android ...> <tool-api-level>8</tool-api-level> <manifest android:installLocation="auto" ...> <uses-sdk android:minSdkVersion="4" /> </manifest> </android>
ãããªæãã
ãããAndroidManifest.xml ãã«ã¹ã¿ãã¤ãºãã¦ãã(platform/android/AndroidManifest.xml)å ´åã¯ããã¡ã㧠android:installLocation ã android:minSdkVersion ãæå®ã§ããããAndroidManifest.xmlãåªå ããããããªã®ã§ã