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
bb84095b
Commit
bb84095b
authored
Aug 14, 2023
by
jyx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码优化
parent
fd33c5ab
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
69 additions
and
8 deletions
+69
-8
build.gradle
video/app/build.gradle
+2
-2
SDK_Setting_5423461.json
video/app/src/main/assets/SDK_Setting_5423461.json
+57
-0
DPHolderManager.kt
...n/java/com/duben/xixiplaylet/video/csj/DPHolderManager.kt
+1
-1
activity_splash.xml
video/app/src/main/res/layout/activity_splash.xml
+3
-3
gradle.properties
video/gradle.properties
+4
-0
ShareSDK.xml
video/tmpmob/ShareSDK/assets/ShareSDK.xml
+2
-2
No files found.
video/app/build.gradle
View file @
bb84095b
...
...
@@ -12,8 +12,8 @@ android {
applicationId
"com.duben.xixiplaylet"
minSdkVersion
rootProject
.
ext
.
androidMinSdkVersion
targetSdkVersion
rootProject
.
ext
.
androidTargetSdkVersion
versionCode
9
versionName
"1.0.
8
"
versionCode
2
versionName
"1.0.
1
"
flavorDimensions
"default"
// dex突破65535的限制
...
...
video/app/src/main/assets/SDK_Setting_54
12556
.json
→
video/app/src/main/assets/SDK_Setting_54
23461
.json
View file @
bb84095b
{
"init"
:
{
"site_id"
:
"54
12556
"
,
"app_id"
:
"51
4006
"
,
"partner"
:
"pangle_51
4006
"
,
"secure_key"
:
"
ffe90c9bf1c304e33b6fe1fd95392a1e
"
"site_id"
:
"54
23461
"
,
"app_id"
:
"51
8779
"
,
"partner"
:
"pangle_51
8779
"
,
"secure_key"
:
"
9f3b49c414b30e9d9f44daca4b5cff54
"
},
"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
3183571
"
,
"news_draw_native_ad_code_id"
:
"95
3183575
"
,
"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
2978119
"
,
"news_outer_draw_ad_code_id"
:
"95
3183564
"
,
"news_outer_draw_native_ad_code_id"
:
"95
3183578
"
,
"news_interstitial_code_id"
:
""
},
"small_video"
:
{
"draw_ad_code_id"
:
"95
2978111
"
,
"draw_native_ad_code_id"
:
"95
2978126
"
,
"grid_ad_code_id"
:
"95
2978118
"
,
"grid_draw_ad_code_id"
:
"95
2978109
"
,
"grid_draw_native_ad_code_id"
:
"95
2978122
"
,
"video_card_ad_code_id"
:
"95
2978121
"
,
"video_card_draw_ad_code_id"
:
"95
2978120
"
,
"video_card_draw_native_ad_code_id"
:
"95
2978108
"
,
"draw_ad_code_id"
:
"95
3183569
"
,
"draw_native_ad_code_id"
:
"95
3183565
"
,
"grid_ad_code_id"
:
"95
3183574
"
,
"grid_draw_ad_code_id"
:
"95
3183568
"
,
"grid_draw_native_ad_code_id"
:
"95
3183581
"
,
"video_card_ad_code_id"
:
"95
3183580
"
,
"video_card_draw_ad_code_id"
:
"95
3183579
"
,
"video_card_draw_native_ad_code_id"
:
"95
3183567
"
,
"interstitial_ad_code_id"
:
""
,
"interstitial_note_ad_code_id"
:
"95
2978124
"
,
"staggered_grid_ad_code_id"
:
"95
2978127
"
,
"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
2978114
"
,
"drama_rewarded_ad_code_id_02"
:
"95
2978125
"
,
"drama_draw_ad_code_id"
:
"95
2978115
"
"interstitial_note_ad_code_id"
:
"95
3183562
"
,
"staggered_grid_ad_code_id"
:
"95
3183566
"
,
"staggered_grid_draw_ad_code_id"
:
"95
3183569
"
,
"staggered_grid_draw_native_ad_code_id"
:
"95
3183565
"
,
"draw_interstitial_ad_code_id"
:
"95
3183572
"
,
"draw_fullscreen_interstitial_ad_code_id"
:
"95
3183573
"
,
"draw_banner_code_id"
:
"95
3183570
"
,
"drama_rewarded_ad_code_id"
:
"95
3183576
"
,
"drama_rewarded_ad_code_id_02"
:
"95
3183563
"
,
"drama_draw_ad_code_id"
:
"95
3183577
"
},
"novel"
:
{
"status"
:
0
,
...
...
video/app/src/main/java/com/duben/xixiplaylet/video/csj/DPHolderManager.kt
View file @
bb84095b
...
...
@@ -18,7 +18,7 @@ object DPHolderManager {
//1. 初始化,最好放到application.onCreate()执行
val
configBuilder
=
DPSdkConfig
.
Builder
().
debug
(
true
)
DPSdk
.
init
(
context
,
"SDK_Setting_54
12556
.json"
,
configBuilder
.
build
())
DPSdk
.
init
(
context
,
"SDK_Setting_54
23461
.json"
,
configBuilder
.
build
())
startDpSdk
()
}
...
...
video/app/src/main/res/layout/activity_splash.xml
View file @
bb84095b
...
...
@@ -6,11 +6,11 @@
<ImageView
android:id=
"@+id/app_logo"
android:layout_width=
"
wrap_content
"
android:layout_height=
"
wrap_content
"
android:layout_width=
"
70dp
"
android:layout_height=
"
70dp
"
android:layout_centerHorizontal=
"true"
android:layout_marginTop=
"140dp"
android:src=
"@mipmap/ic_
splash_pic
"
/>
android:src=
"@mipmap/ic_
launcher_main
"
/>
<TextView
android:layout_width=
"wrap_content"
...
...
video/gradle.properties
View file @
bb84095b
...
...
@@ -43,6 +43,10 @@ WEIXIN_APP_SECRET =93add1e49825bd4992ba8b6792630a7d
#umeng
RELEASE_UMENG_KEY
=
64b8de13a1a164591b5133df
#TalkingData
RELEASE_TALKING_DATA_KEY
=
"2E0D42A54FCD4C059EAF9EFDDEA9FBCE"
GROMORE_APP_ID="5423461"
GROMORE_SPLASH_CODE
=
"102418768"
GROMORE_VIDEO_CODE="102418861"
...
...
video/tmpmob/ShareSDK/assets/ShareSDK.xml
View file @
bb84095b
...
...
@@ -16,8 +16,8 @@
<Tumblr
Enable=
"false"
/>
<Email
Enable=
"false"
/>
<ShortMessage
Enable=
"false"
/>
<Wechat
AppId=
"wx
7e946f66585ca00a"
AppSecret=
"6fe41783e736bea36504b271cea484f1
"
userName=
"gh_afb25ac019c9"
path=
"pages/index/index.html?id=1"
WithShareTicket=
"true"
MiniprogramType=
"0"
/>
<WechatMoments
AppId=
"wx
7e946f66585ca00a"
AppSecret=
"6fe41783e736bea36504b271cea484f1
"
/>
<Wechat
AppId=
"wx
10e29b733b8c71c7"
AppSecret=
"93add1e49825bd4992ba8b6792630a7d
"
userName=
"gh_afb25ac019c9"
path=
"pages/index/index.html?id=1"
WithShareTicket=
"true"
MiniprogramType=
"0"
/>
<WechatMoments
AppId=
"wx
10e29b733b8c71c7"
AppSecret=
"93add1e49825bd4992ba8b6792630a7d
"
/>
<QQ
Enable=
"false"
/>
<Instapaper
Enable=
"false"
/>
<Pocket
Enable=
"false"
/>
...
...
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