如何快速找到并进入手机上打开设备的详细设置页面?
- 内容介绍
- 文章标签
- 相关推荐
本文共计56个文字,预计阅读时间需要1分钟。
javapublic void openSettings(Context context) { Intent intent=new Intent(Settings.ACTION_APPLICATION_DETAILS_SETTINGS); Uri uri=Uri.fromParts(package, context.getPackageName(), null); intent.setData(uri); context.startActivity(intent);}
gistfile1.txtpublic void openSettings(Context context) { Intent intent = new Intent(Settings.ACTION_APPLICATION_DETAILS_SETTINGS); Uri uri = Uri.fromParts("package", context.getPackageName(), null); intent.setData(uri); context.startActivity(intent); }
本文共计56个文字,预计阅读时间需要1分钟。
javapublic void openSettings(Context context) { Intent intent=new Intent(Settings.ACTION_APPLICATION_DETAILS_SETTINGS); Uri uri=Uri.fromParts(package, context.getPackageName(), null); intent.setData(uri); context.startActivity(intent);}
gistfile1.txtpublic void openSettings(Context context) { Intent intent = new Intent(Settings.ACTION_APPLICATION_DETAILS_SETTINGS); Uri uri = Uri.fromParts("package", context.getPackageName(), null); intent.setData(uri); context.startActivity(intent); }

