Android Question [Solved] Intent link to Google Play - Manifest does not need changes

JoeR

Member
Licensed User
Longtime User
What do I have to put in my manifest so that I can link to Google Play?

I am trying to use an intent like this - is this correct?

B4X:
Dim Intent1 As Intent
Intent1.Initialize(Intent1.ACTION_VIEW, "")
Intent1.SetComponent("market://details?id=com.google.android.apps.maps")
StartActivity(Intent1)

It is erroring:
ActivityNotFoundException: Unable to find explicit activity class {market://details?id=com.example.android}; have you declared this activity in your AndroidManifest.xml?
 

JoeR

Member
Licensed User
Longtime User
Thank you for the rapid response. It works like magic! and does not need any change to the manifest.
 
Upvote 0
Top