The program enters the Android Market (webpage or Application)

Source: Internet
Author: User


In practice, it is possible to evaluate such a function for the application. Generally, such a function will jump to the Android Market for users to comment. (Data on your server is always less trustworthy, right)


So how do I enter the Evaluation page of my application?


1. Web Version

Access your application through the web page. For example, your app name is: Suzhou real-time transportation package name: COM. yfz. Bus

You only need to enter through the following URL:

"Https://market.android.com/details? ID "+ <package>;

You can use the following to search for an application:

"Https://market.android.com/search? Q "+ <package>;

Or "https://market.android.com/search? Q "+ <Application name>;

For example: https://market.android.com/details? Id = Suzhou Real-Time Transportation


Code:

Uri uri = Uri.parse("https://market.android.com/details?id=com.yfz.bus"); Intent intent=new Intent(Intent.ACTION_VIEW, uri);startActivity(intent);


2. Market mobile app Edition

The URL is also used, but the format is slightly different, as shown below:

Search: "Market: // search? Q = pname: "+ <package>;

Details: "Market: // details? Id = "+ <package>;

The Code is the same.

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.