转载注明出处:http://blog.csdn.net/longfei123abc
或我的短域名:http://www.xuetenglong.xyz

Intent localIntent = new Intent();        localIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);        if (Build.VERSION.SDK_INT >= 9) {            localIntent.setAction("android.settings.APPLICATION_DETAILS_SETTINGS");            localIntent.setData(Uri.fromParts("package", getPackageName(), null));        } else if (Build.VERSION.SDK_INT <= 8) {            localIntent.setAction(Intent.ACTION_VIEW);            localIntent.setClassName("com.android.settings", "com.android.settings.InstalledAppDetails");            localIntent.putExtra("com.android.settings.ApplicationPkgName", getPackageName());        }        startActivity(localIntent);

更多相关文章

  1. 二级域名绑到特定的控制器实例教程
  2. asp.net core mvc中如何把二级域名绑定到特定的控制器上
  3. 使用xmlhttp为网站增加域名查询功能详细介绍
  4. 使用xmlhttp为网站增加域名查询功能的示例代码分享
  5. 如何使用XMLHTTP制作域名查询系统的代码案例
  6. widnows 下如何使用 ping加时间戳,来ping探测多个域名并生成文件
  7. PHP设置多域名允许跨域访问

随机推荐

  1. Android中如何将dp,dip,sp与px相互转化
  2. Android获取用户已安装app列表
  3. trinea博客地址
  4. Android Service AIDL 远程调用服务之简
  5. Android开发AsyncTask异步处理任务
  6. 《宅男的android开发指南》(翻译)--4
  7. Android四大核心组件之一-----Service(服
  8. 旋屏时,OnCreate方法重复调用的解决
  9. Android焦点问题
  10. Android源码下载出现的问题