How to open the Google Play Store directly from my Android application?

后端 未结 23 2727
既然无缘
既然无缘 2020-11-22 02:00

I have open the Google Play store using the following code

Intent i = new Intent(android.content.Intent.ACTION_VIEW);
i.setData(Uri.parse(\"https://play.goo         


        
23条回答
  •  礼貌的吻别
    2020-11-22 02:08

    use market://

    Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse("market://details?id=" + my_packagename));
    

提交回复
热议问题