How to direct people to Google play etc.

zxxdaro

Member
Licensed User
Longtime User
I am looking to release a trial version of an app with an inbuilt link to Google Play.

However, despite extensive searching I cannot find how one does this.
There is obviously some way of coding it so that pressing a button etc. inside an app leads the user to the right page on Google Play to download the full version.
 

corwin42

Expert
Licensed User
Longtime User
I am looking to release a trial version of an app with an inbuilt link to Google Play.

However, despite extensive searching I cannot find how one does this.
There is obviously some way of coding it so that pressing a button etc. inside an app leads the user to the right page on Google Play to download the full version.

Something like this?

B4X:
Dim fURI As String
Dim Market As Intent
fURI = "market://details?id=<package_name_of_full_version>"
Market.Initialize(Market.ACTION_VIEW,fURI)
StartActivity (Market)
 
Upvote 0
Top