android 打开amazon appstore"/>
android 打开amazon appstore
官方文档
//调起amazon public static void startAmazon(Context ctx){Intent browserIntent = new Intent(Intent.ACTION_VIEW, Uri.parse("amzn://apps/android?p=com.cyou.cma.clauncher"));browserIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);ctx.startActivity(browserIntent);}//浏览器调起amazonpublic static void startAmazonByBrowser(Context ctx){Intent browserIntent = new Intent(Intent.ACTION_VIEW, Uri.parse("=com.cyou.cma.clauncher"));browserIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);ctx.startActivity(browserIntent);}
更多推荐
android 打开amazon appstore
发布评论