【问题标题】:Linking to all my Apps on the Google Play Store链接到我在 Google Play 商店中的所有应用
【发布时间】:2013-10-07 20:50:27
【问题描述】:
我使用下面的链接来显示我开发的所有应用:
market://search?q=pub:
我的问题是,当在应用程序中单击该链接时,它会打开 Google Play 商店,但标题显示为:“pub:Developer Name”。我希望它只是显示为我的开发者名称,而不是在前面包含“pub:”。
如果可以的话,谁能告诉我?
提前致谢。
【问题讨论】:
标签:
android
android-intent
android-listview
hyperlink
google-play
【解决方案1】:
截至目前,您需要使用关键字pub。你不能忽视它!
你可以看看这个:
try {
startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse("market://search?q=pub:Developer+Name+Here")));
} catch (android.content.ActivityNotFoundException anfe) {
startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse("http://play.google.com/store/apps/developer?id=Developer+Name+Here")));
}