update:2020.03.16 加入更新升级框架
This commit is contained in:
@@ -136,7 +136,6 @@ public class MainActivity extends AppCompatActivity {
|
||||
mHits = new long[COUNTS];//重新初始化数组
|
||||
Toast.makeText(this, "正在检查更新", Toast.LENGTH_SHORT).show();
|
||||
HTTPInterface.checkUpdateByPackage(handler, this.getPackageName(), String.valueOf(BuildConfig.VERSION_CODE));
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -286,6 +285,7 @@ public class MainActivity extends AppCompatActivity {
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
private void getFile(final Bundle bundle) {
|
||||
final File path = new File(Environment.getExternalStoragePublicDirectory("Download") + "/Sninfo/");
|
||||
path.mkdirs();
|
||||
|
||||
Reference in New Issue
Block a user