Commit 0a066091 by wjg

add install app

parent f572ff3a
......@@ -18,8 +18,8 @@ android {
applicationId "com.ihaoin.hooloo.device"
minSdkVersion 26
targetSdkVersion 30
versionCode 5
versionName "1.0.5"
versionCode 1
versionName "1.0.1"
ndk {
//选择要添加的对应 cpu 类型的 .so 库。
......
......@@ -16,11 +16,11 @@ public abstract class NetworkHandler extends Handler {
@Override
public void handleMessage(@NonNull Message msg) {
super.handleMessage(msg);
if (AppConfig.DEBUG) {
// if (AppConfig.DEBUG) {
String url = msg.getData().getString("url");
String msgText = String.format("请求:%s, 返回状态:%s, 返回内容:%s", url, msg.what, msg.obj);
Utils.i(AppConfig.TAG_NETWORK, msgText);
}
// }
// if (msg == null || msg.what == 0) {
// return;
// }
......
......@@ -41,6 +41,7 @@ public class UpdateService extends Thread {
@Override
public void handleMessage(@NonNull Message msg) {
try {
super.handleMessage(msg);
// CheckUpdateVo updateVo = new CheckUpdateVo();
// updateVo.setUrl("https://testapi.pecktoy.com/files/upload_test/signed-v10.apk");
// updateVo.setVersion("1.0.10");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment