Chinaunix首页 | 论坛 | 博客
  • 博客访问: 323461
  • 博文数量: 90
  • 博客积分: 1585
  • 博客等级: 上尉
  • 技术积分: 964
  • 用 户 组: 普通用户
  • 注册时间: 2010-03-26 18:33
文章分类

全部博文(90)

文章存档

2011年(10)

2010年(80)

我的朋友

分类: 嵌入式

2011-12-29 16:34:53

String filePath = Environment.getExternalStorageDirectory() + "/myApp.apk";
Intent intent
= new Intent(Intent.ACTION_VIEW);
intent.setDataAndType(Uri.parse(
"file://" + filePath),"application/vnd.android.package-archive"); startActivity(intent);
阅读(1770) | 评论(0) | 转发(0) |
0

上一篇:android 界面五大布局

下一篇:没有了

给主人留下些什么吧!~~