蒋洪波

添加LOGO 增加4.4版本以下不支持的提示

... ... @@ -58,7 +58,7 @@ public class LiveModel extends BaseModel<ServiceManager, CacheManager>
.add("userId", userId)
.body();
sdkContainer.loadUrlWithNativeApi(init, doNothingCallBack);
sdkContainer.loadUrlWithNativeApi(init,doNothingCallBack);
}
/*
... ...
... ... @@ -3,6 +3,7 @@ package com.xdy.home.ui;
import android.Manifest;
import android.annotation.SuppressLint;
import android.content.DialogInterface;
import android.os.Build;
import android.os.Bundle;
import android.os.Handler;
import android.os.Message;
... ... @@ -286,7 +287,12 @@ public class LiveFragment extends AppBaseFragment<LivePresenter> implements Live
super.onPageFinished(view, url);
LogUtil.i(TAG, "SDK IS OK");
sdkIsOk = true;
mPresenter.init(replay, classId, portal, role, userId);
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.KITKAT) {
hideLoading();
showErrorDialog(R.string.home_unsupportos);
} else {
mPresenter.init(replay, classId, portal, role, userId);
}
}
});
xdyJsInterface = new XDYJsInterface(mPresenter);
... ...
... ... @@ -161,7 +161,10 @@ public interface LiveContract {
void renderDeleteDocId(String itemIdx);
//返回的更新标注
/**
* //返回的更新标注
* @param entity
*/
void renderUpdateAnnotation(WhiteboardUpdateEntity entity);
/**
... ...
... ... @@ -28,4 +28,5 @@
<string name="home_class_is_over">课堂已结束</string>
<string name="home_pwd_mention">密码错误</string>
<string name="home_pwd_wrong">请输入正确密码</string>
<string name="home_unsupportos">抱歉,暂不支持Android4.4及以下版本</string>
</resources>
... ...
... ... @@ -40,7 +40,7 @@
<application
android:name=".core.RealApplication"
android:allowBackup="true"
android:icon="@mipmap/main_ic_launcher"
android:icon="@mipmap/widget_logo"
android:label="@string/main_app_name"
android:supportsRtl="true"
android:theme="@style/main_AppTheme"
... ...