手机
当前位置:查字典教程网 >编程开发 >安卓软件开发 >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 之Spinner下拉菜单实现级联

android中的按两次返回键退出代码

android 设置圆角图片实现代码

Android 自定义View的使用介绍

android 对话框弹出位置和透明度的设置具体实现方法

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

android bitmap compress(图片压缩)代码

android手机获取gps和基站的经纬度地址实现代码

Android 简单的照相机程序的实例代码

Android Intent启动别的应用实现方法

精品推荐
分类导航