dkarnik Member Licensed User Longtime User May 27, 2013 #1 I'm trying to make "rate my app". i used this code: Dim fURI As String fURI = "market://details?id=~name~" Dim Market As Intent Market.Initialize(Market.ACTION_VIEW,fURI) StartActivity (Market) sadly i got error: error has occured in sub....... android.content.activitynotfoundexception: no activity found to handle intent {act=android.intent.action.view dat=market://details?id=name...... any :sign0085:?
I'm trying to make "rate my app". i used this code: Dim fURI As String fURI = "market://details?id=~name~" Dim Market As Intent Market.Initialize(Market.ACTION_VIEW,fURI) StartActivity (Market) sadly i got error: error has occured in sub....... android.content.activitynotfoundexception: no activity found to handle intent {act=android.intent.action.view dat=market://details?id=name...... any :sign0085:?
Stulish Active Member Licensed User Longtime User May 27, 2013 #2 Your code looks correct, i have copied and pasted the code below from one of my apps and it works fine: Code: Copy Dim fURI As String fURI = "market://details?id=lishsoft.android.saynoto0870" Dim Market As Intent Market.Initialize(Market.ACTION_VIEW,fURI) StartActivity (Market) ToastMessageShow("Thanks for rating this app",True) I cant see anything different??? Upvote 0
Your code looks correct, i have copied and pasted the code below from one of my apps and it works fine: Code: Copy Dim fURI As String fURI = "market://details?id=lishsoft.android.saynoto0870" Dim Market As Intent Market.Initialize(Market.ACTION_VIEW,fURI) StartActivity (Market) ToastMessageShow("Thanks for rating this app",True) I cant see anything different???
dkarnik Member Licensed User Longtime User May 27, 2013 #3 maybe i have to put something to Initialize in globals? or do i have to put webivew on form? Upvote 0
Stulish Active Member Licensed User Longtime User May 27, 2013 #4 I don't use a webview or anything, i just use the code so i am not sure what is happening with your app? Upvote 0
I don't use a webview or anything, i just use the code so i am not sure what is happening with your app?
M mistermentality Active Member Licensed User Longtime User May 27, 2013 #5 dkarnik said: I'm trying to make "rate my app". i used this code: Dim fURI As String fURI = "market://details?id=~name~" Dim Market As Intent Market.Initialize(Market.ACTION_VIEW,fURI) StartActivity (Market) sadly i got error: error has occured in sub....... android.content.activitynotfoundexception: no activity found to handle intent {act=android.intent.action.view dat=market://details?id=name...... any :sign0085:? Click to expand... Are you trying this on a real device and not an emulator? Also if it is on a real device you may not have the play store app installed as some android devices don't. Dave Sent from my Nexus 7 Upvote 0
dkarnik said: I'm trying to make "rate my app". i used this code: Dim fURI As String fURI = "market://details?id=~name~" Dim Market As Intent Market.Initialize(Market.ACTION_VIEW,fURI) StartActivity (Market) sadly i got error: error has occured in sub....... android.content.activitynotfoundexception: no activity found to handle intent {act=android.intent.action.view dat=market://details?id=name...... any :sign0085:? Click to expand... Are you trying this on a real device and not an emulator? Also if it is on a real device you may not have the play store app installed as some android devices don't. Dave Sent from my Nexus 7
JOTHA Well-Known Member Licensed User Longtime User Mar 4, 2018 #6 Try this: Code: Copy Dim PI1 As PhoneIntents StartActivity(PI1.OpenBrowser("https://play.google.com/store/apps/details?id=~name~")) I know, this thread is more than 4 years old, but maybe someone finds this usefull ... Upvote 0
Try this: Code: Copy Dim PI1 As PhoneIntents StartActivity(PI1.OpenBrowser("https://play.google.com/store/apps/details?id=~name~")) I know, this thread is more than 4 years old, but maybe someone finds this usefull ...