android Market 搜索APP

  • Post author:
  • Post category:其他


Intent intent = new Intent(Intent.ACTION_VIEW);

// market://details?id=com.example.your.package

//产品页面

Uri uri = Uri.parse(“market://details?id=packename”);

//产品搜索

Uri.parse(“market://search?q=packename”);

intent.setData(uri);

startActivity(intent);

转载于:https://www.cnblogs.com/androidabc/archive/2012/04/25/2469753.html