Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
android_vedio
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
android
android_vedio
Commits
e4fdc1e3
Commit
e4fdc1e3
authored
Aug 04, 2023
by
mengcuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码优化
parent
a1163d20
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
62 additions
and
10 deletions
+62
-10
SDK_Setting_5418501.json
video/app/src/main/assets/SDK_Setting_5418501.json
+57
-0
MintsApplication.java
...c/main/java/com/duben/miaoquplaylet/MintsApplication.java
+4
-9
DPHolderManager.kt
...ain/java/com/duben/miaoquplaylet/video/DPHolderManager.kt
+1
-1
No files found.
video/app/src/main/assets/SDK_Setting_541
2556
.json
→
video/app/src/main/assets/SDK_Setting_541
8501
.json
View file @
e4fdc1e3
{
"init"
:
{
"site_id"
:
"541
2556
"
,
"app_id"
:
"51
4006
"
,
"partner"
:
"pangle_51
4006
"
,
"secure_key"
:
"
ffe90c9bf1c304e33b6fe1fd95392a1e
"
"site_id"
:
"541
8501
"
,
"app_id"
:
"51
7487
"
,
"partner"
:
"pangle_51
7487
"
,
"secure_key"
:
"
21076c6a58372057c98e668a040df6e1
"
},
"feed"
:
{
"news_list_ad_code_id"
:
""
,
...
...
@@ -12,37 +12,37 @@
"video_first_ad_code_id"
:
""
,
"video_second_ad_code_id"
:
""
,
"related_ad_code_id"
:
""
,
"news_draw_ad_code_id"
:
"95
2978110
"
,
"news_draw_native_ad_code_id"
:
"95
2978113
"
,
"news_draw_ad_code_id"
:
"95
3112031
"
,
"news_draw_native_ad_code_id"
:
"95
3112016
"
,
"news_outer_list_ad_code_id"
:
""
,
"news_outer_first_ad_code_id"
:
""
,
"news_outer_second_ad_code_id"
:
""
,
"outer_video_second_ad_code_id"
:
""
,
"outer_related_ad_code_id"
:
""
,
"news_outer_draw_ad_code_id"
:
"95
2978123
"
,
"news_outer_draw_native_ad_code_id"
:
"95
29781
19"
,
"news_outer_draw_ad_code_id"
:
"95
3112032
"
,
"news_outer_draw_native_ad_code_id"
:
"95
31120
19"
,
"news_interstitial_code_id"
:
""
},
"small_video"
:
{
"draw_ad_code_id"
:
"95
2978111
"
,
"draw_native_ad_code_id"
:
"95
2978126
"
,
"grid_ad_code_id"
:
"95
297811
8"
,
"grid_draw_ad_code_id"
:
"95
2978109
"
,
"grid_draw_native_ad_code_id"
:
"95
29781
22"
,
"video_card_ad_code_id"
:
"95
29781
21"
,
"video_card_draw_ad_code_id"
:
"95
2978120
"
,
"video_card_draw_native_ad_code_id"
:
"95
2978108
"
,
"draw_ad_code_id"
:
"95
3112033
"
,
"draw_native_ad_code_id"
:
"95
3112025
"
,
"grid_ad_code_id"
:
"95
311202
8"
,
"grid_draw_ad_code_id"
:
"95
3112026
"
,
"grid_draw_native_ad_code_id"
:
"95
31120
22"
,
"video_card_ad_code_id"
:
"95
31120
21"
,
"video_card_draw_ad_code_id"
:
"95
3112023
"
,
"video_card_draw_native_ad_code_id"
:
"95
3112034
"
,
"interstitial_ad_code_id"
:
""
,
"interstitial_note_ad_code_id"
:
"95
2978124
"
,
"staggered_grid_ad_code_id"
:
"95
297812
7"
,
"staggered_grid_draw_ad_code_id"
:
"95
2978111
"
,
"staggered_grid_draw_native_ad_code_id"
:
"95
2978126
"
,
"draw_interstitial_ad_code_id"
:
"95
2978116
"
,
"draw_fullscreen_interstitial_ad_code_id"
:
"95
2978117
"
,
"draw_banner_code_id"
:
"95
2978112
"
,
"drama_rewarded_ad_code_id"
:
"95
297811
4"
,
"drama_rewarded_ad_code_id_02"
:
"95
2978125
"
,
"drama_draw_ad_code_id"
:
"95
2978115
"
"interstitial_note_ad_code_id"
:
"95
3112029
"
,
"staggered_grid_ad_code_id"
:
"95
311201
7"
,
"staggered_grid_draw_ad_code_id"
:
"95
3112033
"
,
"staggered_grid_draw_native_ad_code_id"
:
"95
3112025
"
,
"draw_interstitial_ad_code_id"
:
"95
3112027
"
,
"draw_fullscreen_interstitial_ad_code_id"
:
"95
3112020
"
,
"draw_banner_code_id"
:
"95
3112015
"
,
"drama_rewarded_ad_code_id"
:
"95
311202
4"
,
"drama_rewarded_ad_code_id_02"
:
"95
3112030
"
,
"drama_draw_ad_code_id"
:
"95
3112018
"
},
"novel"
:
{
"status"
:
0
,
...
...
video/app/src/main/java/com/duben/miaoquplaylet/MintsApplication.java
View file @
e4fdc1e3
...
...
@@ -53,10 +53,10 @@ public class MintsApplication extends MultiDexApplication {
super
.
onCreate
();
mContext
=
this
.
getApplicationContext
();
//
// 友盟SDK预初始化函数
//
// preInit预初始化函数耗时极少,不会影响App首次冷启动用户体验
//
UmengManager.INSTANCE.preInit(this,
//
MateUtils.INSTANCE.getAppMetaData(this, "CHANNEL_NAME"));
// 友盟SDK预初始化函数
// preInit预初始化函数耗时极少,不会影响App首次冷启动用户体验
UmengManager
.
INSTANCE
.
preInit
(
this
,
MateUtils
.
INSTANCE
.
getAppMetaData
(
this
,
"CHANNEL_NAME"
));
// 三方配置
thirdConfig
();
...
...
@@ -76,11 +76,6 @@ public class MintsApplication extends MultiDexApplication {
if
(
AppPreferencesManager
.
INSTANCE
.
get
()
.
getBoolean
(
Constant
.
LOAN_PERMISSION_FLAG
,
true
))
return
;
// 友盟SDK预初始化函数
// preInit预初始化函数耗时极少,不会影响App首次冷启动用户体验
UmengManager
.
INSTANCE
.
preInit
(
this
,
MateUtils
.
INSTANCE
.
getAppMetaData
(
this
,
"CHANNEL_NAME"
));
initMiitHelper
();
TTAdManagerHolder
.
init
(
this
);
...
...
video/app/src/main/java/com/duben/miaoquplaylet/video/DPHolderManager.kt
View file @
e4fdc1e3
...
...
@@ -18,7 +18,7 @@ object DPHolderManager {
//1. 初始化,最好放到application.onCreate()执行
val
configBuilder
=
DPSdkConfig
.
Builder
().
debug
(
true
)
DPSdk
.
init
(
context
,
"SDK_Setting_541
2556
.json"
,
configBuilder
.
build
())
DPSdk
.
init
(
context
,
"SDK_Setting_541
8501
.json"
,
configBuilder
.
build
())
startDpSdk
()
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment