Created
October 8, 2016 07:01
-
-
Save beilly/84a4d922b2cea9a5b1bb081d010f49a0 to your computer and use it in GitHub Desktop.
android跳转到应用市场评论
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
try { | |
Uri uri = Uri.parse("market://details?id=" | |
+ BuildConfig.APPLICATION_ID);//需要评分的APP包名 | |
Intent intent5 = new Intent(Intent.ACTION_VIEW, uri); | |
intent5.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); | |
startActivity(intent5); | |
} catch (Exception e) { | |
TooltipUtils.showToastL(this, getString(R.string.common_no_function)); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment