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

后端 未结 23 3068
既然无缘
既然无缘 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:32

    This link will open the app automatically in market:// if you are on Android and in browser if you are on PC.

    https://play.app.goo.gl/?link=https://play.google.com/store/apps/details?id=com.app.id&ddl=1&pcampaignid=web_ddl_1
    

提交回复
热议问题