摘要: Intent i = new Intent(Intent.ACTION_VIEW); //apk String str = "/sdcard/FileTest.apk"; i.setDataAndType(Uri.parse("file://" + str), "application/vn... 阅读全文
posted @ 2013-05-14 16:17 纯洁的坏蛋 阅读(180) 评论(0) 推荐(0) 编辑
摘要: Uri uri = Uri.parse("market://search?q=名称"); Intent i = new Intent("Intent.ACTION_VIEW", uri); startActivity(i); //根据应用程序ID=应用程序的包名 Uri urii = U... 阅读全文
posted @ 2013-05-14 16:13 纯洁的坏蛋 阅读(144) 评论(0) 推荐(0) 编辑
摘要: //判断BroadCastReceiver是否存在 PackageManager manager = getPackageManager(); //要查找的BroadCastReceiver Intent intent = new Intent("com.xiaoqiu.Action.XXX... 阅读全文
posted @ 2013-05-14 16:00 纯洁的坏蛋 阅读(1605) 评论(0) 推荐(0) 编辑