我想打开播放商店设置page.though我知道如何打开播放商店
final String appName = "";
try {
startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse("market://details?id="+appName)));
} catch (android.content.ActivityNotFoundException anfe) {
startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse("http://play.google.com/store/apps/details?id="+appName)));
}但我希望打开与此图像类似的play store设置(将用户重定向到自动更新选项)。

如何做this.Is有任何意图这一点吗?
发布于 2016-11-10 14:50:22
你可以这样做:
try {
Intent intent = new Intent("com.google.android.finsky.activities.SettingsActivity");
intent.setClassName("com.android.vending", "com.google.android.finsky.activities.SettingsActivity");
startActivity(intent);
}
catch(Exception e) {
e.printStackTrace();
}发布于 2013-07-23 11:10:06
您可以使用应用程序意图拦截来查找PlayStore设置-Activity的意图。
我想你可以运行这个应用程序开始跟踪,然后打开PlayStore并进入设置。意图拦截应该告诉你所谓的意图。
https://stackoverflow.com/questions/17808104
复制相似问题