简体   繁体   English

关键字URL上的Android搜索市场?

[英]Android Search Market on Keyword URL?

To Launch the market I usually do this: 为了启动市场,我通常这样做:

Intent intent = new Intent( Intent.ACTION_VIEW, Uri.parse("market://search?q=pname:com.package.package2.package3")); Intent intent = new Intent(Intent.ACTION_VIEW,Uri.parse(“ market:// search?q = pname:com.package.package2.package3”)); startActivity(intent); startActivity(intent);

But I would like to run a search based on a keyword like "Happy Toasters" 但我想根据“ Happy Toasters”之类的关键字进行搜索

What is the URL for that kind of search? 这类搜索的网址是什么?

Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse("market://search?q=your keewords here"));
startActivity(intent);

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM