Toggle navigation
Toggle navigation
此项目
正在载入...
Sign in
蒋洪波
/
XDYAndroidLive
转到一个项目
Toggle navigation
项目
群组
代码片段
帮助
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
蒋洪波
8 years ago
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
88310bf7c18f75ae9bab5a90a6b39d0ce472b3e5
88310bf7
1 parent
44a8cc6d
添加LOGO 增加4.4版本以下不支持的提示
隐藏空白字符变更
内嵌
并排对比
正在显示
13 个修改的文件
包含
14 行增加
和
4 行删除
home/src/main/java/com/xdy/home/model/LiveModel.java
home/src/main/java/com/xdy/home/ui/LiveFragment.java
home/src/main/java/com/xdy/home/vp/LiveContract.java
home/src/main/res/values/strings.xml
main/src/main/AndroidManifest.xml
main/src/main/res/mipmap-hdpi/main_ic_launcher.png
main/src/main/res/mipmap-mdpi/main_ic_launcher.png
main/src/main/res/mipmap-xhdpi/main_ic_launcher.png
main/src/main/res/mipmap-xhdpi/widget_logo.png
main/src/main/res/mipmap-xxhdpi/main_ic_launcher.png
main/src/main/res/mipmap-xxhdpi/widget_logo.png
main/src/main/res/mipmap-xxxhdpi/main_ic_launcher.png
main/src/main/res/mipmap-xxxhdpi/widget_logo.png
home/src/main/java/com/xdy/home/model/LiveModel.java
查看文件 @
88310bf
...
...
@@ -58,7 +58,7 @@ public class LiveModel extends BaseModel<ServiceManager, CacheManager>
.
add
(
"userId"
,
userId
)
.
body
();
sdkContainer
.
loadUrlWithNativeApi
(
init
,
doNothingCallBack
);
sdkContainer
.
loadUrlWithNativeApi
(
init
,
doNothingCallBack
);
}
/*
...
...
home/src/main/java/com/xdy/home/ui/LiveFragment.java
查看文件 @
88310bf
...
...
@@ -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
);
...
...
home/src/main/java/com/xdy/home/vp/LiveContract.java
查看文件 @
88310bf
...
...
@@ -161,7 +161,10 @@ public interface LiveContract {
void
renderDeleteDocId
(
String
itemIdx
);
//返回的更新标注
/**
* //返回的更新标注
* @param entity
*/
void
renderUpdateAnnotation
(
WhiteboardUpdateEntity
entity
);
/**
...
...
home/src/main/res/values/strings.xml
查看文件 @
88310bf
...
...
@@ -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>
...
...
main/src/main/AndroidManifest.xml
查看文件 @
88310bf
...
...
@@ -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"
...
...
main/src/main/res/mipmap-hdpi/main_ic_launcher.png
已删除
100644 → 0
查看文件 @
44a8cc6
3.3 KB
main/src/main/res/mipmap-mdpi/main_ic_launcher.png
已删除
100644 → 0
查看文件 @
44a8cc6
2.2 KB
main/src/main/res/mipmap-xhdpi/main_ic_launcher.png
已删除
100644 → 0
查看文件 @
44a8cc6
4.7 KB
main/src/main/res/mipmap-xhdpi/widget_logo.png
0 → 100644
查看文件 @
88310bf
5.5 KB
main/src/main/res/mipmap-xxhdpi/main_ic_launcher.png
已删除
100644 → 0
查看文件 @
44a8cc6
7.5 KB
main/src/main/res/mipmap-xxhdpi/widget_logo.png
0 → 100644
查看文件 @
88310bf
7.8 KB
main/src/main/res/mipmap-xxxhdpi/main_ic_launcher.png
已删除
100644 → 0
查看文件 @
44a8cc6
10.2 KB
main/src/main/res/mipmap-xxxhdpi/widget_logo.png
0 → 100644
查看文件 @
88310bf
10.4 KB
请
注册
或
登录
后发表评论