摘要: [cpp] view plain copy [cpp] view plain copy 用法:dump(t) --t为打印的内容 原文地址:https://blog.csdn.net/u013517637/article/details/53977732 阅读全文
posted @ 2018-06-04 15:51 星月相随 阅读(3639) 评论(0) 推荐(0)
摘要: 方法一 直接使用Intent卸载 Uri uri = Uri.fromParts("package", "com.example.demo", null); Intent intent = new Intent(Intent.ACTION_DELETE, uri); startActivity(in 阅读全文
posted @ 2018-06-04 15:49 星月相随 阅读(5754) 评论(0) 推荐(0)
摘要: android中应用的安装卸载,大家(用android设备的)肯定不陌生。这里就来浅谈android应用的安装、卸载的实现方式。 1.系统安装程序 android自带了一个安装程序—/system/app/PackageInstaller.apk.大多数情况下,我们手机上安装应用都是通过这个apk来 阅读全文
posted @ 2018-06-04 15:45 星月相随 阅读(917) 评论(0) 推荐(1)