Android tutorial

“Rate This App”-link in Google Play store app on the phone

rating
1.4kviews

“Rate This App”-link in Google Play store app on the phone

In this Article I am sharing how to open this app in google play store for rating us my app its a very easy to used rate us in your in your app to use to perfection over an app.

you just design a  button and apply these code for  review app in google play

rating

 

 

“Rate This App”-link in an Android App to open up the app-listing in the user’s Google Play store app on their phone.

  1. What code do I have to write to create the market:// or http://-link open in the Google Play store app on the phone?
  2. Where do you put the code?
  3. Does anyone have a sample implementation of this?
  4. Do you have to specify the screen where the market:// or http:// link will be placed, and which is the best to use – market:// or http://?

 

Rating.setOnClickListener(new View.OnClickListener() {
    @Override
    public void onClick(View v) {
        try{
            startActivity(new Intent("android.intent.action.VIEW", Uri.parse("market://details?id="+getPackageName())));
        }
        catch (ActivityNotFoundException e){
            startActivity(new Intent("android.intent.action.VIEW", Uri.parse("https://play.google.com/store/apps/details?id="+getPackageName())));
        }
    }
});
Screenshot 2019 01 09 15 22 14
Welcome to my blog! I’m Ritu Malik, and here at Codeplayon.com, we are dedicated to delivering timely and well-researched content. Our passion for knowledge shines through in the diverse range of topics we cover. Over the years, we have explored various niches such as business, finance, technology, marketing, lifestyle, website reviews and many others.