K kingofducks Member Jun 8, 2020 #1 Hey everybody, I've been trying to implement a "rate this app" button but with no success. I implemented a drawer menu and added a clickable singleline2 on a ListView, and I don't know what to add as the Object, how can I redirect the user to the google play store to rate the app ? Here's my code : B4X: Copy ListView1.AddSingleLine2("Help by rating the app", 1) 'On other single lines, the object is an activity so every time the user clicks on this line, it opens an activity but what am I supposed to use here to redirect to the play store? Thanks in advance for the assistance.
Hey everybody, I've been trying to implement a "rate this app" button but with no success. I implemented a drawer menu and added a clickable singleline2 on a ListView, and I don't know what to add as the Object, how can I redirect the user to the google play store to rate the app ? Here's my code : B4X: Copy ListView1.AddSingleLine2("Help by rating the app", 1) 'On other single lines, the object is an activity so every time the user clicks on this line, it opens an activity but what am I supposed to use here to redirect to the play store? Thanks in advance for the assistance.
Erel B4X founder Staff member Licensed User Longtime User Jun 9, 2020 #2 The best you can do is to open Google Play: Code: Copy Dim in As Intent in.Initialize(in.ACTION_VIEW, $"http://play.google.com/store/apps/details?id=${Application.PackageName}"$) StartActivity(in) Upvote 0
The best you can do is to open Google Play: Code: Copy Dim in As Intent in.Initialize(in.ACTION_VIEW, $"http://play.google.com/store/apps/details?id=${Application.PackageName}"$) StartActivity(in)
K kingofducks Member Jun 9, 2020 #3 Thanks @Erel, I really didn't knew how I could open Google play the way I wanted to with the clickable SingleLine. Thanks for helping me out! Upvote 0
Thanks @Erel, I really didn't knew how I could open Google play the way I wanted to with the clickable SingleLine. Thanks for helping me out!
JohnC Expert Licensed User Longtime User Jun 9, 2020 #4 And here is a recent thread on using a ratings bar: How to use AS RatingBar with Google Playstore App-Rating How can i use the AS RatingBar Lib with Google Playstore App-Rating ? The sample works fine, but how to submit the result to the Playstore ? www.b4x.com Upvote 0
And here is a recent thread on using a ratings bar: How to use AS RatingBar with Google Playstore App-Rating How can i use the AS RatingBar Lib with Google Playstore App-Rating ? The sample works fine, but how to submit the result to the Playstore ? www.b4x.com
K kingofducks Member Jun 9, 2020 #5 Thank you @JohnC for this thread I'll be checking to see how it works for me later, but it seems like an excellent solution to get feedback from the user before the reviews go out publicly. Thanks a lot! Upvote 0
Thank you @JohnC for this thread I'll be checking to see how it works for me later, but it seems like an excellent solution to get feedback from the user before the reviews go out publicly. Thanks a lot!