1、【跳转到市场进行评分】

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);



2、【市场内搜索】

Intent intent = new Intent(Intent.ACTION_VIEW);
intent.setData(Uri.parse("market://search?q=pub:Your Publisher Name"));
startActivity(intent);


3、【分享】

Intent sendIntent = new Intent();
sendIntent.setAction(Intent.ACTION_SEND);
sendIntent.setType("text/*");
sendIntent.putExtra(Intent.EXTRA_TEXT, contentEditText.getText().toString());
startActivity(sendIntent);

更多相关文章

  1. android 打开电子市场中应用的界面
  2. intent 发起网址程序 以及发起市场market
  3. IDC:Android 将在 2012 达到顶峰,未来五年占市场支配地位
  4. 第三方Android ROM市场前景
  5. Millennial Media:2011年8月全球移动设备广告市场占有率Android第
  6. “快的打车”创始人陈伟星的新项目招人啦,高薪急招Java服务端/And
  7. Android 发布应用到市场
  8. 年终了,说说今年手机软件市场,说说明年对Android Market的期望
  9. Android 将取代 Linux 成为面向物联网的开放平台

随机推荐

  1. Android(安卓)判断系统用户无操作
  2. 用Android代码实现打开USB调试
  3. Android中String的处理
  4. Android直播开发之旅(6):详解ffmpeg命令在
  5. Android权限问题
  6. android记帐本、涂鸦、仿腾讯新闻、仿bil
  7. 如何用eclipse搭建Android的开发环境
  8. 《Android系统开发》笔记
  9. ionic3/ag4编写模仿京东商城的demo
  10. Android 中wifi的使用