Android安装卸载程序具体操作方法解析
在Android安装卸载程序的源码中我们知道:
??
因为根据里面的权限我们可以 从sd卡安装一个程序:
???
?
Android安装卸载程序的操作中要想卸载一个程序;
int result = Settings.Secure.getInt(getContentResolver(), Settings.Secure.INSTALL_NON_MARKET_APPS, 0); if (result == 0) { // show some dialog here // ... // and may be show application settings dialog manually Intent intent = new Intent(); intent.setAction(Settings.ACTION_APPLICATION_SETTINGS); startActivity(intent); }??