胜利先锋
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -16,4 +16,5 @@
|
|||||||
.cxx
|
.cxx
|
||||||
local.properties
|
local.properties
|
||||||
settings.gradle
|
settings.gradle
|
||||||
app/src/main/assets/bin/Data/data.unity3d
|
app/src/main/assets/bin/Data/data.unity3d
|
||||||
|
/.idea/
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ dependencies {
|
|||||||
}
|
}
|
||||||
|
|
||||||
android {
|
android {
|
||||||
namespace 'com.mm.bpbqq.mi'
|
namespace 'com.dj.slxf.mi'
|
||||||
compileSdkVersion 29
|
compileSdkVersion 29
|
||||||
buildToolsVersion '30.0.1'
|
buildToolsVersion '30.0.1'
|
||||||
compileOptions {
|
compileOptions {
|
||||||
@@ -23,7 +23,7 @@ android {
|
|||||||
defaultConfig {
|
defaultConfig {
|
||||||
minSdkVersion 26
|
minSdkVersion 26
|
||||||
targetSdkVersion 30
|
targetSdkVersion 30
|
||||||
applicationId 'com.mm.bpbqq.mi'
|
applicationId 'com.dj.slxf.mi'
|
||||||
externalNativeBuild {
|
externalNativeBuild {
|
||||||
cmake {
|
cmake {
|
||||||
cppFlags "-std=c++11"
|
cppFlags "-std=c++11"
|
||||||
@@ -56,17 +56,16 @@ android {
|
|||||||
ndkVersion '21.1.6352462'
|
ndkVersion '21.1.6352462'
|
||||||
|
|
||||||
MiAdConfig {
|
MiAdConfig {
|
||||||
fullInterstitial = "7fa4ea86c4d2d82bad7e509f8b72ea2b"
|
banner = "918a708a082d29213662adcf07c50ce4"
|
||||||
banner = "267c80b8aa263624a632444a957cfa46"
|
interstitial = "a896baf283cedfb20fcd112e89ddb86e"
|
||||||
interstitial = "d159b7ccaecff96201f7c5a22c2467b7"
|
fullInterstitial = "7529d22238e9b09bf643981b4c4a2aea"
|
||||||
templateA = "2cf14708bccc605021af28e6dfcd1a54"
|
templateA = "19277c09ff09a6488dc73874f033830d"
|
||||||
templateB = "df30f03d216c8d1c8c2dde49eaf2d86d"
|
templateB = "24deeed099000568157cd6d88ef9e4fa"
|
||||||
templateC = "8ed33e11e5cfffcb53d4fdbb661b34d6"
|
templateC = "49864d58344cd7a2e6831bb905cd14db"
|
||||||
templateD = "96638102868292a3879bdfd7140bf90d"
|
templateD = "4fbe085325ce4e6cb5951d3590388909"
|
||||||
reward = "d3a0dcaf0f4e9beea025065908e6dad0"
|
reward = "384d03f15c7a4155e56a31150177eb95"
|
||||||
}
|
}
|
||||||
|
//测试
|
||||||
//测试
|
|
||||||
// TTAdConfig {
|
// TTAdConfig {
|
||||||
// TTAppID = "5730713"
|
// TTAppID = "5730713"
|
||||||
// TTNative = "969361965"
|
// TTNative = "969361965"
|
||||||
@@ -78,23 +77,21 @@ android {
|
|||||||
// }
|
// }
|
||||||
|
|
||||||
TTAdConfig {
|
TTAdConfig {
|
||||||
TTAppID = "5731566"
|
TTAppID = "5735014"
|
||||||
TTNative = "969471223"
|
TTNative = "969875615"
|
||||||
TTBanner = "969471227"
|
TTBanner = "969875616"
|
||||||
TTReward = "969471234"
|
TTReward = "969875618"
|
||||||
TTDrawFeedAd = "969471248"
|
TTDrawFeedAd = "969875619"
|
||||||
TTSplashAd = "892377686"
|
TTSplashAd = "892504014"
|
||||||
TTFullScreenVideo = "969471229"
|
TTFullScreenVideo = "969875617"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
GDTAdConfig {
|
GDTAdConfig {
|
||||||
GDTAppId = "1211100563"
|
GDTAppId = "1211121560"
|
||||||
GDTRewardId = "3119243992200261"
|
GDTRewardId = "3169595527448143"
|
||||||
GDTBannerId = "4149648921291925"
|
GDTBannerId = "5119298597441301"
|
||||||
GDTNativeId = "7119746941191508"
|
GDTNativeId = "8119497507643262"
|
||||||
}
|
}
|
||||||
|
|
||||||
ext {
|
ext {
|
||||||
@@ -103,7 +100,7 @@ android {
|
|||||||
ad_strategy = "version4"
|
ad_strategy = "version4"
|
||||||
gameActivity = "com.unity3d.player.UnityPlayerActivity"
|
gameActivity = "com.unity3d.player.UnityPlayerActivity"
|
||||||
// checkDuplicateXmlAttributes = true
|
// checkDuplicateXmlAttributes = true
|
||||||
// setPackageName = "com.ta.asds.mi"
|
// setPackageName = "com.dj.slxf.mi"
|
||||||
// findStr = "com.mm.rzcf.mi"
|
// findStr = "com.mm.rzcf.mi"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Binary file not shown.
@@ -1,7 +1,7 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
xmlns:tools="http://schemas.android.com/tools"
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
package="com.mm.bpbqq.mi"
|
package="com.dj.slxf.mi"
|
||||||
platformBuildVersionCode="31"
|
platformBuildVersionCode="31"
|
||||||
platformBuildVersionName="12"
|
platformBuildVersionName="12"
|
||||||
android:compileSdkVersion="31"
|
android:compileSdkVersion="31"
|
||||||
@@ -93,7 +93,7 @@
|
|||||||
android:name="android.app.Application"
|
android:name="android.app.Application"
|
||||||
android:allowBackup="false"
|
android:allowBackup="false"
|
||||||
android:appComponentFactory="androidx.core.app.CoreComponentFactory"
|
android:appComponentFactory="androidx.core.app.CoreComponentFactory"
|
||||||
android:icon="@drawable/q2k"
|
android:icon="@drawable/app_icon"
|
||||||
android:label="@string/app_name"
|
android:label="@string/app_name"
|
||||||
android:largeHeap="true"
|
android:largeHeap="true"
|
||||||
android:maxAspectRatio="3.0"
|
android:maxAspectRatio="3.0"
|
||||||
@@ -278,10 +278,10 @@
|
|||||||
|
|
||||||
<meta-data
|
<meta-data
|
||||||
android:name="miGameAppId"
|
android:name="miGameAppId"
|
||||||
android:value="mi_2882303761520443482" />
|
android:value="mi_2882303761520363157" />
|
||||||
<meta-data
|
<meta-data
|
||||||
android:name="miGameAppKey"
|
android:name="miGameAppKey"
|
||||||
android:value="mi_5772044383482" />
|
android:value="mi_5452036313157" />
|
||||||
<meta-data
|
<meta-data
|
||||||
android:name="miGameEnhance"
|
android:name="miGameEnhance"
|
||||||
android:value="true" />
|
android:value="true" />
|
||||||
|
|||||||
@@ -173,7 +173,7 @@ public final class ResourceManagerInternal {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
this.mHasCheckedVectorDrawableSetup = true;
|
this.mHasCheckedVectorDrawableSetup = true;
|
||||||
Drawable drawable = VectorDrawableCompat.create(context.getResources(),com.mm.bpbqq.mi.R.drawable.float_new_msg_win_line,context.getTheme());
|
Drawable drawable = VectorDrawableCompat.create(context.getResources(),com.dj.slxf.mi.R.drawable.float_new_msg_win_line,context.getTheme());
|
||||||
if (drawable == null || !isVectorDrawable(drawable)) {
|
if (drawable == null || !isVectorDrawable(drawable)) {
|
||||||
this.mHasCheckedVectorDrawableSetup = false;
|
this.mHasCheckedVectorDrawableSetup = false;
|
||||||
throw new IllegalStateException("This app has been built with an incorrect configuration. Please configure your build for VectorDrawableCompat.");
|
throw new IllegalStateException("This app has been built with an incorrect configuration. Please configure your build for VectorDrawableCompat.");
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ import android.app.Activity;
|
|||||||
import android.content.Intent;
|
import android.content.Intent;
|
||||||
import android.os.Bundle;
|
import android.os.Bundle;
|
||||||
|
|
||||||
import com.mm.bpbqq.mi.R;
|
import com.dj.slxf.mi.R;
|
||||||
import com.unity3d.player.UnityPlayerActivity;
|
import com.unity3d.player.UnityPlayerActivity;
|
||||||
import com.xiaomi.gamecenter.sdk.MiCommplatform;
|
import com.xiaomi.gamecenter.sdk.MiCommplatform;
|
||||||
import com.xiaomi.gamecenter.sdk.OnLoginProcessListener;
|
import com.xiaomi.gamecenter.sdk.OnLoginProcessListener;
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ import android.view.ViewGroup;
|
|||||||
import com.alibaba.fastjson.JSONObject;
|
import com.alibaba.fastjson.JSONObject;
|
||||||
import com.android.boot.Logger;
|
import com.android.boot.Logger;
|
||||||
import com.android.boot.ad.proxy.RefInvoke;
|
import com.android.boot.ad.proxy.RefInvoke;
|
||||||
import com.mm.bpbqq.mi.R;
|
import com.dj.slxf.mi.R;
|
||||||
|
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import okhttp3.OkHttpClient;
|
import okhttp3.OkHttpClient;
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ import android.widget.TextView;
|
|||||||
|
|
||||||
import com.android.boot.HealthActivity;
|
import com.android.boot.HealthActivity;
|
||||||
import com.android.boot.Logger;
|
import com.android.boot.Logger;
|
||||||
import com.mm.bpbqq.mi.R;
|
import com.dj.slxf.mi.R;
|
||||||
import com.xiaomi.gamecenter.sdk.MiCommplatform;
|
import com.xiaomi.gamecenter.sdk.MiCommplatform;
|
||||||
import com.xiaomi.gamecenter.sdk.OnLoginProcessListener;
|
import com.xiaomi.gamecenter.sdk.OnLoginProcessListener;
|
||||||
import com.xiaomi.gamecenter.sdk.entry.MiAccountInfo;
|
import com.xiaomi.gamecenter.sdk.entry.MiAccountInfo;
|
||||||
@@ -76,7 +76,7 @@ public class ProtocolActivity extends Activity {
|
|||||||
public void onClick(View view) {
|
public void onClick(View view) {
|
||||||
Intent intent = new Intent();
|
Intent intent = new Intent();
|
||||||
intent.setAction("android.intent.action.VIEW");
|
intent.setAction("android.intent.action.VIEW");
|
||||||
intent.setData(Uri.parse("http://aiailearning.com/MingUMnisueoWXP9mEUbsHi7.html"));
|
intent.setData(Uri.parse("http://aiailearning.com/668899yespri.html"));
|
||||||
ProtocolActivity.this.startActivity(intent);
|
ProtocolActivity.this.startActivity(intent);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ import com.android.boot.ad.IdentifierTool;
|
|||||||
import com.android.boot.ad.RewardCallback;
|
import com.android.boot.ad.RewardCallback;
|
||||||
import com.android.boot.ad.proxy.RefInvoke;
|
import com.android.boot.ad.proxy.RefInvoke;
|
||||||
import com.bytedance.sdk.openadsdk.mediation.MediationConstant;
|
import com.bytedance.sdk.openadsdk.mediation.MediationConstant;
|
||||||
import com.mm.bpbqq.mi.R;
|
import com.dj.slxf.mi.R;
|
||||||
import com.xiaomi.ad.mediation.internal.config.IMediationConfigInitListener;
|
import com.xiaomi.ad.mediation.internal.config.IMediationConfigInitListener;
|
||||||
import com.xiaomi.ad.mediation.mimonew.MIMOAdSdkConfig;
|
import com.xiaomi.ad.mediation.mimonew.MIMOAdSdkConfig;
|
||||||
import com.xiaomi.ad.mediation.mimonew.MiMoNewSdk;
|
import com.xiaomi.ad.mediation.mimonew.MiMoNewSdk;
|
||||||
@@ -72,7 +72,7 @@ public class UnityPlayerActivity extends Activity implements IUnityPlayerLifecyc
|
|||||||
// public void finishLoginProcess(int i, MiAccountInfo miAccountInfo) {
|
// public void finishLoginProcess(int i, MiAccountInfo miAccountInfo) {
|
||||||
// }
|
// }
|
||||||
// });
|
// });
|
||||||
MiMoNewSdk.init(this, "奔跑吧球球", "2882303761520443482", new MIMOAdSdkConfig(false, false), new IMediationConfigInitListener() {
|
MiMoNewSdk.init(this, "胜利先锋", "2882303761520363157", new MIMOAdSdkConfig(false, false), new IMediationConfigInitListener() {
|
||||||
@Override
|
@Override
|
||||||
public void onFailed(int i) {
|
public void onFailed(int i) {
|
||||||
}
|
}
|
||||||
@@ -135,7 +135,7 @@ public class UnityPlayerActivity extends Activity implements IUnityPlayerLifecyc
|
|||||||
imageView.setOnClickListener(new View.OnClickListener() {
|
imageView.setOnClickListener(new View.OnClickListener() {
|
||||||
@Override
|
@Override
|
||||||
public void onClick(View v) {
|
public void onClick(View v) {
|
||||||
Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse("http://aiailearning.com/MingUMnisueoWXP9mEUbsHi7.html"));
|
Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse("http://aiailearning.com/668899yespri.html"));
|
||||||
startActivity(intent);
|
startActivity(intent);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
@@ -231,4 +231,10 @@ public class UnityPlayerActivity extends Activity implements IUnityPlayerLifecyc
|
|||||||
public String updateUnityCommandLineArguments(String str) {
|
public String updateUnityCommandLineArguments(String str) {
|
||||||
return str;
|
return str;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean dispatchTouchEvent(MotionEvent ev) {
|
||||||
|
RefInvoke.invokeMethod(AdInitCallback.adManagerInstance, "setTouchListener", ev);
|
||||||
|
return super.dispatchTouchEvent(ev);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
BIN
app/src/main/res/drawable/app_icon.png
Normal file
BIN
app/src/main/res/drawable/app_icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 79 KiB |
@@ -59,7 +59,7 @@
|
|||||||
<string name="anti_addiction_time_left_new">根据国家规定,%1$d分钟后是未成年禁玩时间段,您将无法继续游戏,请注意休息哦</string>
|
<string name="anti_addiction_time_left_new">根据国家规定,%1$d分钟后是未成年禁玩时间段,您将无法继续游戏,请注意休息哦</string>
|
||||||
<string name="anti_addiction_tired">累了吧,请合理安排游戏时间</string>
|
<string name="anti_addiction_tired">累了吧,请合理安排游戏时间</string>
|
||||||
<string name="anti_addiction_today_time_left">您今天已经玩了%1$s分钟,根据国家相关规定,%2$d分钟后您将无法继续游戏,请注意休息</string>
|
<string name="anti_addiction_today_time_left">您今天已经玩了%1$s分钟,根据国家相关规定,%2$d分钟后您将无法继续游戏,请注意休息</string>
|
||||||
<string name="app_name">奔跑吧球球</string>
|
<string name="app_name">胜利先锋</string>
|
||||||
<string name="l1e">com.google.android.material.appbar.AppBarLayout$ScrollingViewBehavior</string>
|
<string name="l1e">com.google.android.material.appbar.AppBarLayout$ScrollingViewBehavior</string>
|
||||||
<string name="jwg">您当前设备已在防沉迷系统中注册成功,可直接进入游戏。</string>
|
<string name="jwg">您当前设备已在防沉迷系统中注册成功,可直接进入游戏。</string>
|
||||||
<string name="e_9">确认</string>
|
<string name="e_9">确认</string>
|
||||||
|
|||||||
Reference in New Issue
Block a user