Android app to apply the market scoring feature

Source: Internet
Author: User

Because there are so many Android markets, the ability to score on each app market is not hard to achieve.

    Private void gotorate () {        = uri.parse ("market://details?id=" + Getpackagename ());         New Intent (Intent.action_view, URI);         Try {            startactivity (gotomarket);         Catch (activitynotfoundexception e) {            appcontext.getappcontext (). Showtoast ("The application market has not been installed, cannot be rated");        }    }

The result of the above method is:

Click to go to score, the page pops up a list of all the app markets that the phone installs, and after you select an app market, the app opens the app market app. If the recommended food is on the market, you will automatically get to the referral page, otherwise the page won't be prompted to find the app.

For apps that have only one app market installed, they won't pop up the app market list and open the market directly.

For the default opener selected, the marketplace list will not pop up and open the default market directly. At this point, you can go to: Settings-(management) applications-Find the default app market-clear the default, and then click to go to the score has a list of applications.

Refer to a very useful blog: often go to learn haha, thank Bo Master to share

call App market in Android to score your app

Android app to apply the market scoring feature

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.