实现效果图 调用自动更新 @Override protected void onResume() { super.onResume(); selectAPPVesion(); } 1、获取更新版本号 private int getVersion(final SysNotice sysNotice, int vision) { if (sysNotice == null) { return 0; } String sdcardRoot = getExternalFilesDir(null) + File.separator + "test/apk"; String apkSavePath = sdcardRoot + "/1.apk"; String newversion = sysNotice.getVersion(); String content = sysNotice.getNoticeContent(); String url = "127.0.0.1:8080" + Interface.APPapk; double newversioncode = Double...