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.