[转]Install App to SD
本文转自:http://www.douban.com/group/topic/29597344/
If you want to move more apps to the SD card, you'll need to have the Android SDK installed. How-To Install Android SDK On Windows, Mac and Linux
Then on your phone go to settings>applications>development and enable USB Debugging. Plug your phone into the PC using the USB cable.
open a command prompt on your PC (start>run type "cmd" press ENTER)
Change directory to the android-sdk-windows\tools folder
At the prompt type Code: adb devices and you should see your phone listed as a serial number.
type Code: adb shell pm setInstallLocation 2 Done.
Now the default location to install apps is the SD card. And, some apps that you couldn't move to the SD card will now be able to be moved. Keep in mind Widgets and services should always be installed to the phone and not the SD card, so if you follow the steps above and you install a widget afterwards, you will need to go to settings>applications>manage applications and manually move it to the phone. If you want to set the default install location back to the phone, you simply repeat the process but use Code: adb shell setInstallLocation 0 Android has specific rules for where it installs apps. If the app has a specified location, that takes priority. If it is not specified in the app, then the default install location is used. Android has 3 identifiers for app storage location:
0 = Internal 1 = Auto 2 = External (sd card)
If 0 is set in the app, then it can only be installed on the internal storage regardless of the default install location. Widgets, services and apps that periodically poll need to be in the internal storage to run correctly.
Similarly the phone itself can have a default install location set so if the app is set to 1 (Auto) then it will direct the app where to be installed. The only thing you must remember is that 1 is not an option for a phones default location. If the app were set to Auto location and the phone was to, it wouldn't know what the default was.
You may find now that by setting the default install location to 2 you can now move more apps to the sd card that you couldn't before. If you go to menu>settings>applications>manage applications you can check which apps are able to be moved, paying close attention NOT to move widgets or polling apps.
[转]Install App to SD的更多相关文章
- Chrome & install App & PWA
Chrome & install App & PWA Chrome & install website as an app chrome://apps https://medi ...
- 'Install app for SharePoint': Sideloading of apps is not enabled on this site
http://blog.lekman.com/2012/11/sharepoint-2013-sideloading-of-apps-is.html Solution: You need to ena ...
- xamarin.forms uwp app部署到手机移动设备进行测试,真机调试(device portal方式部署)
最近学习xamarin.刚好 手上有一个lumia 930.所以试一试把uwp app部署到手机上,并真机调试一把. 目前环境: 1.开发pc电脑是win10,版本1607.加入了insider,所以 ...
- walk around by The provided App differs from another App with the same version and product ID 分类: Sharepoint 2015-07-05 08:14 4人阅读 评论(0) 收藏
'm currently developing a SharePoint 2013 application. After a few deployments via Visual Studio, I ...
- adb -s emulator-5554 install JDKCast-PAP.apk
multi-emulators direct to install app adb -s emulator-5554 install JDKCast-PAP.apk
- Android应用正确使用扩展SD卡,特别是安卓4.4以后的版本
Android 开发时如何正确获取使用扩展存储路径 在 2.x 版本中,Android设备都是单存储,第三方App写文件,必须申请 WRITE_EXTERNAL_STORAGE 权限: 在4.0之后, ...
- 企业证书发布APP
http://blog.csdn.net/xueer8835/article/details/18033221 1.首先要企业版的开发者帐号2.证书配置参考 IOS开发--企业版IDP的申请及“In ...
- Docker 生成Node.js web app(含端口映射)
1.新建目录src,并进入src目录 [xiejdm@localhost Documents]$ mkdir src [xiejdm@localhost Documents]$ cd src/ 2.创 ...
- 篇2 安卓app自动化测试-初识python调用appium
篇2 安卓app自动化测试-初识python调用appium --lamecho辣么丑 1.1概要 大家好!我是lamecho(辣么丑),上一篇也是<安卓app自动化测 ...
随机推荐
- Mac下安装Mysql出现 Can’t connect to local MySQL server through socket '/tmp/mysql.sock'
在Mac下安装mysql出现 Can't connect to local MySQL server through socket '/tmp/mysql.sock' 错误,解决如下: $ unset ...
- mac中viso的兼容工具
http://www.orsoon.com/Mac/77738.html破解教程 http://www.pc6.com/mac/111747.html下载地址 很强大,很爽.
- 自己手写http服务器 http响应信息的封装与测试
package cn.edu.sss.httpServer; import java.io.BufferedWriter; import java.io.IOException; import jav ...
- 【解决】Django项目废弃SQLite3拥抱MySQL
SQLite3数据库就一个文件,拷贝着随时带走,调试方便,超级轻量级,有它的好处. 不过,MySQL才是中小项目的主流,最近想把Django里程碑项目部署到SAE上,所以试着把原来的项目数据库替换成M ...
- leetcode@ [279]Perfect Squares
https://leetcode.com/problems/perfect-squares/ Given a positive integer n, find the least number of ...
- android 链接蓝牙不稳定的解决建议
My workaround I scan BLE for a short period of time 3-4 seconds then I turn scan OFF for 3-4 seconds ...
- [iOS基础控件 - 3.5] NSBundle, UIImageView和UIButton的区别, 模拟器和文档
1.NSBundle1> 一个NSBundle代表一个文件夹,利用NSBundle能访问对应的文件夹2> 利用mainBundle就可以访问软件资源包中的任何资源3> 模拟器应用程序 ...
- 28个你必须知道的HTML5的新特性,技巧以及技术
原文地址:http://adamlu.com/?p=584#header 总结一下: 1. 新的Doctype 尽管使用<!DOCTYPE html>,即使浏览器不懂这句话也会按照标准模式 ...
- 我被eclipse的tomcat坑的经历
奇怪的乱码问题: 1.jsp页面utf-8 2.java代码utf-8 3.数据库编码utf-8 4.tomcat server.xml配置URIEncoding="UTF-8" ...
- mysql之select+五种子句的理解
select 可以包含很复杂,很丰富的逻辑,最能考验一个人的逻辑思维能力和sql语句的掌握程度,我是这么认为,以前的很多次面试几乎都死在它手上,所以才有了今天的这篇日志,下定决心把它学好. where ...