手机
当前位置:查字典教程网 >编程开发 >安卓软件开发 >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计时器,时间计算器的实现方法

Android通过手势实现的缩放处理实例代码

android书架效果实现原理与代码

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

Android读取用户号码,手机串号,SIM卡序列号的实现代码

Android 按后退键退出Android程序的实现方法

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

android apk反编译到java源码的实现方法

android bitmap compress(图片压缩)代码

精品推荐
分类导航