Loading

摘要: 在更新操作时,下载新apk之后,往往需要自动安装新apk,用以下代码即可安装下载在本地的apk文件(apkFile) Intent intent = new Intent(); intent.setAction(Intent.ACTION_VIEW); intent.setDataAndType(U 阅读全文
posted @ 2017-01-03 19:21 辉灬 阅读(494) 评论(0) 推荐(0) 编辑
摘要: 在你App的AndroidManifest.xml中,将启动页做如下修改 在第三方程序中如下调用 其中com.test.app为应用程序包名,而com.test.app.MainActivity为你所要启动的第一个Activity,即上面所指的启动页 如果你不知道启动页,或者你的启动页会变化,那么你 阅读全文
posted @ 2017-01-03 19:19 辉灬 阅读(8364) 评论(1) 推荐(2) 编辑