本文实例讲述了Android编程实现将应用强制装到手机内存的方法。分享给大家供大家参考,具体如下:
在Froyo(android 2.2,API Level:8)中引入了android:installLocation.通过设置该属性可以使得开发者以及用户决定程序的安装位置.
android:installLocation隶属于AndroidManifest.XML中的manifest节点.如下所示:
<manifest xmlns:android=http://schemas.android.com/apk/res/android
package=string
andro