How to show Marketplace pages in mobile version?

surfer

Member
Licensed User
Longtime User
In my tablet I see application pages on the Google Marketplace in their mobile version. But in my application, using Webview, I see them as a usual (not mobile) web page.

How using Basic4Android can I show Marketplace pages in the mobile version?
How to use URL in format
market://details?id=<package_name> ?
 

NJDude

Expert
Licensed User
Longtime User
This line
B4X:
market://details?id=<package_name>
Will open the Google Play app, but, if you open Google Play using a WebView or your browser you will get a "regular" webpage because the Google Play website doesn't have a mobile version.
 
Upvote 0

NJDude

Expert
Licensed User
Longtime User
If you want to launch the Google Play App then do this:
B4X:
Dim i As Intent
i.Initialize(i.ACTION_VIEW, "market://details?id=com.uncledroid.roadsidekick.lite")
StartActivity(i)

Of course, replace the package name with your own.
 
Last edited:
Upvote 0
Top