手机
当前位置:查字典教程网 >编程开发 >安卓软件开发 >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 对话框弹出位置和透明度的设置具体实现方法

Android 情景模式的设置代码

android 之Spinner下拉菜单实现级联

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

android屏蔽返回键和Home键

android 设置圆角图片实现代码

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

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

android中图片翻页效果简单的实现方法

Android 软件自动更新功能实现的方法

精品推荐
分类导航