Android中打开并迁移到GooglePlay App的MyPage画面
用如下的代码可以实现
[java]
public void moveToGooglePlay() throws Exception {
Intent i = new Intent("com.google.android.finsky.VIEW_MY_DOWNLOADS");
i.setComponent(new ComponentName("com.android.vending","com.android.vending.AssetBrowserActivity"));
i.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
startActivity(i);
}
public void moveToGooglePlay() throws Exception {
Intent i = new Intent("com.google.android.finsky.VIEW_MY_DOWNLOADS");
i.setComponent(new ComponentName("com.android.vending","com.android.vending.AssetBrowserActivity"));
i.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
startActivity(i);
}
补充:移动开发 , Android ,