Android -- 跳转应用市场评分
16lz
2021-01-23
Code
Uri uri = Uri.parse("market://details?id="+getPackageName()); Intent intent = new Intent(Intent.ACTION_VIEW,uri); intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); startActivity(intent);
如果还要加上评论的内容的话:
intent.setAction(Intent.ACTION_SEND); iIntent.setType("text/*"); intent.putExtra(Intent.EXTRA_TEXT, "内容");
我是天王盖地虎的分割线
作者: 我爱物联网出处: http://www.cnblogs.com/yydcdut/
本文版权归作者和博客园共有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接,否则保留追究法律责任的权利
更多相关文章
- Android 使用内容解析者往短信数据库里插入一条数据
- Android 采用Pull解析XML内容 【学习记录】
- android RecyclerView 设置设置选中的一行的内容
- 2015年11月广师android群内容分享
- Android: 打印Bundle内容
- Android 组件 ContentProvider 内容提供者
- 待验证内容。