怎样在程序中打开指定的豌豆荚下载页面,类似于打开Google play的下载页面的形式,
Intent browserIntent = new Intent(Intent.ACTION_VIEW, Uri.parse(playAppUrl));
browserIntent.setClassName("com.android.vending", "com.android.vending.AssetBrowserActivity");
browserIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
startActivity(browserIntent);
Copyright 2014-2026 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
认证高级PHP讲师