本文翻译自:How to open the Google Play Store directly from my Android application?
I have open the Google Play store using the following code 我已使用以下代码打开Google Play商店
Intent i = new Intent(android.content.Intent.ACTION_VIEW);
i.setData(Uri.parse("https://play.google.com/store/apps/details?id=my packagename "));
startActivity(i);.
But it shows me a Complete Action View as to select the option (browser/play store). 但它显示了一个完整的动作视图,以选择选项(浏览器/播放商店)。 I need to open the application in Play Store directly. 我需要直接在Play商店中打开应用程序。
#1楼
参考: