I was trying this code to open a package in playstore:
However, it gives an option to any of the two android marketplaces. That's fine, but I need to know when the person clicks on the cancel. How to know when the user clicked the cancel button in an Intent activity? Here is a screenshot to better understand what exactly I mean.
B4X:
Dim fURI As String
fURI = "market://details?id=com.b4a.example"
Dim Market As Intent
Market.Initialize(Market.ACTION_VIEW,fURI)
StartActivity(Market)
However, it gives an option to any of the two android marketplaces. That's fine, but I need to know when the person clicks on the cancel. How to know when the user clicked the cancel button in an Intent activity? Here is a screenshot to better understand what exactly I mean.