手机
当前位置:查字典教程网 >编程开发 >安卓软件开发 >android 跳转进市场的实现代码
android 跳转进市场的实现代码
摘要:跳转进市场的代码复制代码代码如下:Intentintent=newIntent(Intent.ACTION_VIEW);2intent.se...

跳转进市场的代码

复制代码 代码如下:

Intent

intent = new Intent(Intent.ACTION_VIEW);

2 intent.setData(Uri.parse("market://details?id=" +

getPackageName()));

3 startActivity(intent);

跳转进市场搜索的代码

复制代码 代码如下:

Intent

intent = new Intent(Intent.ACTION_VIEW);

2 intent.setData(Uri.parse("market://search?q=pub:Your

Publisher Name"));

3 startActivity(intent);

【android 跳转进市场的实现代码】相关文章:

Android中vim编辑器进阶的使用介绍

Android 自定义View的使用介绍

Android在listview添加checkbox实现原理与代码

android bitmap compress(图片压缩)代码

android 设置圆角图片实现代码

android屏蔽返回键和Home键

Android 再按一次返回键退出程序实现思路

基于Android中手势交互的实现方法

android 弹出提示框的使用(图文实例)

Android日期时间格式国际化的实现代码

精品推荐
分类导航