diff --git a/76Pokies/build.gradle b/76Pokies/build.gradle index fd8bfe2..b40d9dd 100644 --- a/76Pokies/build.gradle +++ b/76Pokies/build.gradle @@ -16,12 +16,6 @@ android { testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } - buildTypes { - release { - minifyEnabled false - proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' - } - } signingConfigs { debug { storeFile file('76pokies.jks') @@ -36,6 +30,13 @@ android { keyPassword "android2025" } } + buildTypes { + release { + minifyEnabled false + proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' + } + } + compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 diff --git a/9kelab/build.gradle b/9kelab/build.gradle index 1ed5ddd..ea3dd3b 100644 --- a/9kelab/build.gradle +++ b/9kelab/build.gradle @@ -16,13 +16,6 @@ android { testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } - - buildTypes { - release { - minifyEnabled false - proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' - } - } signingConfigs { debug { storeFile file('9kelab.jks') @@ -38,6 +31,13 @@ android { } } + buildTypes { + release { + minifyEnabled false + proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' + } + } + compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 diff --git a/Bbj/build.gradle b/Bbj/build.gradle index 0841846..ca16bab 100644 --- a/Bbj/build.gradle +++ b/Bbj/build.gradle @@ -17,12 +17,7 @@ android { testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } - buildTypes { - release { - minifyEnabled false - proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' - } - } + signingConfigs { // debug { // storeFile file('bbj.jks') @@ -50,7 +45,12 @@ android { keyPassword "android2025" } } - + buildTypes { + release { + minifyEnabled false + proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' + } + } compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 diff --git a/Bintang918/build.gradle b/Bintang918/build.gradle index 1c9b4ff..713ffc8 100644 --- a/Bintang918/build.gradle +++ b/Bintang918/build.gradle @@ -16,12 +16,7 @@ android { testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } - buildTypes { - release { - minifyEnabled false - proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' - } - } + signingConfigs { // debug { // storeFile file('test.jks') @@ -49,7 +44,12 @@ android { keyPassword "dskj123456" } } - + buildTypes { + release { + minifyEnabled false + proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' + } + } compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 diff --git a/Candy916/build.gradle b/Candy916/build.gradle index 187eafe..2286914 100644 --- a/Candy916/build.gradle +++ b/Candy916/build.gradle @@ -17,12 +17,7 @@ android { testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } - buildTypes { - release { - minifyEnabled false - proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' - } - } + signingConfigs { debug { storeFile file('candy916.jks') @@ -37,7 +32,12 @@ android { keyPassword "android2014" } } - + buildTypes { + release { + minifyEnabled false + proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' + } + } compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 diff --git a/Cashsweep/build.gradle b/Cashsweep/build.gradle index a05cd6b..12ed6dd 100644 --- a/Cashsweep/build.gradle +++ b/Cashsweep/build.gradle @@ -17,12 +17,6 @@ android { testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } - buildTypes { - release { - minifyEnabled false - proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' - } - } signingConfigs { debug { storeFile file('cashsweep.jks') @@ -38,6 +32,12 @@ android { } } + buildTypes { + release { + minifyEnabled false + proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' + } + } compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 diff --git a/Dmcslot/build.gradle b/Dmcslot/build.gradle index ea200e2..018d906 100644 --- a/Dmcslot/build.gradle +++ b/Dmcslot/build.gradle @@ -16,12 +16,7 @@ android { testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } - buildTypes { - release { - minifyEnabled false - proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' - } - } + signingConfigs { debug { storeFile file('dmcslot.jks') @@ -36,7 +31,12 @@ android { keyPassword "android2025" } } - + buildTypes { + release { + minifyEnabled false + proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' + } + } compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 diff --git a/Gdslot888/build.gradle b/Gdslot888/build.gradle index e0e4eb8..88ecec3 100644 --- a/Gdslot888/build.gradle +++ b/Gdslot888/build.gradle @@ -17,12 +17,6 @@ android { testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } - buildTypes { - release { - minifyEnabled false - proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' - } - } signingConfigs { debug { storeFile file('gdslot888.jks') @@ -38,6 +32,12 @@ android { } } + buildTypes { + release { + minifyEnabled false + proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' + } + } compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 diff --git a/Jeslot88/build.gradle b/Jeslot88/build.gradle index 1ed9463..e0a3e77 100644 --- a/Jeslot88/build.gradle +++ b/Jeslot88/build.gradle @@ -16,12 +16,6 @@ android { testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } - buildTypes { - release { - minifyEnabled false - proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' - } - } signingConfigs { debug { storeFile file('jeslot88.jks') @@ -37,6 +31,12 @@ android { } } + buildTypes { + release { + minifyEnabled false + proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' + } + } compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 diff --git a/Judy88/build.gradle b/Judy88/build.gradle index 3bddf84..22a1515 100644 --- a/Judy88/build.gradle +++ b/Judy88/build.gradle @@ -17,12 +17,7 @@ android { testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } - buildTypes { - release { - minifyEnabled false - proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' - } - } + signingConfigs { debug { storeFile file('judy88.jks') @@ -37,7 +32,12 @@ android { keyPassword "android2014" } } - + buildTypes { + release { + minifyEnabled false + proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' + } + } compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 diff --git a/Kejapjudi/build.gradle b/Kejapjudi/build.gradle index 881ecd5..6539bfb 100644 --- a/Kejapjudi/build.gradle +++ b/Kejapjudi/build.gradle @@ -17,12 +17,6 @@ android { testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } - buildTypes { - release { - minifyEnabled false - proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' - } - } signingConfigs { debug { storeFile file('kj.jks') @@ -38,6 +32,12 @@ android { } } + buildTypes { + release { + minifyEnabled false + proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' + } + } compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 diff --git a/Magnum888/build.gradle b/Magnum888/build.gradle index a64ce1b..b0bc599 100644 --- a/Magnum888/build.gradle +++ b/Magnum888/build.gradle @@ -17,12 +17,6 @@ android { testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } - buildTypes { - release { - minifyEnabled false - proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' - } - } signingConfigs { debug { storeFile file('magnum888.jks') @@ -38,6 +32,12 @@ android { } } + buildTypes { + release { + minifyEnabled false + proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' + } + } compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 diff --git a/Mahkota8/build.gradle b/Mahkota8/build.gradle index 0493f6c..51102d9 100644 --- a/Mahkota8/build.gradle +++ b/Mahkota8/build.gradle @@ -17,12 +17,7 @@ android { testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } - buildTypes { - release { - minifyEnabled false - proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' - } - } + signingConfigs { debug { storeFile file('mahkota8.jks') @@ -37,7 +32,12 @@ android { keyPassword "android2014" } } - + buildTypes { + release { + minifyEnabled false + proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' + } + } compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 diff --git a/Mk88aud/build.gradle b/Mk88aud/build.gradle index b5c4074..9785822 100644 --- a/Mk88aud/build.gradle +++ b/Mk88aud/build.gradle @@ -17,12 +17,7 @@ android { testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } - buildTypes { - release { - minifyEnabled false - proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' - } - } + signingConfigs { debug { storeFile file('mk88.jks') @@ -37,7 +32,12 @@ android { keyPassword "android2014" } } - + buildTypes { + release { + minifyEnabled false + proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' + } + } compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 diff --git a/Mko888/build.gradle b/Mko888/build.gradle index 137bfa0..f232dba 100644 --- a/Mko888/build.gradle +++ b/Mko888/build.gradle @@ -17,12 +17,6 @@ android { testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } - buildTypes { - release { - minifyEnabled false - proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' - } - } signingConfigs { debug { storeFile file('mko888.jks') @@ -38,6 +32,12 @@ android { } } + buildTypes { + release { + minifyEnabled false + proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' + } + } compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 diff --git a/Oyen333/build.gradle b/Oyen333/build.gradle index a3de85a..f2b800c 100644 --- a/Oyen333/build.gradle +++ b/Oyen333/build.gradle @@ -18,12 +18,6 @@ android { testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } - buildTypes { - release { - minifyEnabled false - proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' - } - } signingConfigs { debug { storeFile file('Oyen333.jks') @@ -39,6 +33,12 @@ android { } } + buildTypes { + release { + minifyEnabled false + proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' + } + } compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 diff --git a/Petron777/build.gradle b/Petron777/build.gradle index 2334ff5..f0b5f10 100644 --- a/Petron777/build.gradle +++ b/Petron777/build.gradle @@ -17,12 +17,7 @@ android { testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } - buildTypes { - release { - minifyEnabled false - proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' - } - } + signingConfigs { debug { storeFile file('petron777.jks') @@ -37,7 +32,12 @@ android { keyPassword "android2014" } } - + buildTypes { + release { + minifyEnabled false + proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' + } + } compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 diff --git a/agn888new/build.gradle b/agn888new/build.gradle index 9b0ad43..bb4bc4e 100644 --- a/agn888new/build.gradle +++ b/agn888new/build.gradle @@ -18,13 +18,6 @@ android { testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } - - buildTypes { - release { - minifyEnabled false - proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' - } - } signingConfigs { debug { storeFile file('agn.jks') @@ -39,6 +32,13 @@ android { keyPassword "android2025" } } + buildTypes { + release { + minifyEnabled false + proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' + } + } + compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 diff --git a/amb88/build.gradle b/amb88/build.gradle index d53e74d..880aaa4 100644 --- a/amb88/build.gradle +++ b/amb88/build.gradle @@ -17,13 +17,6 @@ android { testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } - - buildTypes { - release { - minifyEnabled false - proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' - } - } signingConfigs { debug { storeFile file('dskjweb.jks') @@ -38,6 +31,13 @@ android { keyPassword "dskj2024" } } + buildTypes { + release { + minifyEnabled false + proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' + } + } + compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 diff --git a/app/build.gradle b/app/build.gradle index 2d795c3..69e0e36 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -16,12 +16,7 @@ android { testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } - buildTypes { - release { - minifyEnabled false - proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' - } - } + signingConfigs { debug { storeFile file('test.jks') @@ -36,7 +31,12 @@ android { keyPassword "android2025" } } - + buildTypes { + release { + minifyEnabled false + proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' + } + } compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 diff --git a/base/src/main/java/com/web/base/MainActivity2.java b/base/src/main/java/com/web/base/MainActivity2.java index 22c43e2..e287bdc 100644 --- a/base/src/main/java/com/web/base/MainActivity2.java +++ b/base/src/main/java/com/web/base/MainActivity2.java @@ -857,7 +857,7 @@ public class MainActivity2 extends AppCompatActivity { otherApp.setVisibility(View.INVISIBLE); ivNotify.setVisibility(View.VISIBLE); - if(userId == 112||userId == 87||userId == 91||userId ==93||userId ==92||userId==84){ + if(userId == 112||userId == 87||userId == 91||userId ==93||userId ==92||userId==84||userId == 120){ ivNotify.setVisibility(View.INVISIBLE); } ivotherApp.setImageResource(R.mipmap.ic_shousuo); @@ -1394,7 +1394,7 @@ public class MainActivity2 extends AppCompatActivity { } else { progressBar.setVisibility(View.VISIBLE); } - if (url1.contains("facebook") || url1.contains("https://t.me") || url1.contains("instagram") || url1.contains("https://x.com")) { + if (url1.contains("facebook") || url1.contains("https://t.me") || url1.contains("instagram") || url1.contains("https://x.com")||url1.contains("https://wa.me")) { try { Intent intent = new Intent(); intent.setAction(Intent.ACTION_VIEW); @@ -1447,7 +1447,7 @@ public class MainActivity2 extends AppCompatActivity { toStopPlayers(); } } - if (url1.contains("facebook") || url1.contains("https://t.me") || url1.contains("instagram") || url1.contains("https://x.com")) { + if (url1.contains("facebook") || url1.contains("https://t.me") || url1.contains("instagram") || url1.contains("https://x.com")||url1.contains("https://wa.me")) { try { Intent intent = new Intent(); intent.setAction(Intent.ACTION_VIEW); @@ -1610,7 +1610,7 @@ public class MainActivity2 extends AppCompatActivity { } } - if (url.contains("facebook") || url.contains("https://t.me") || url.contains("instagram") || url.contains("https://x.com")) { + if (url.contains("facebook") || url.contains("https://t.me") || url.contains("instagram") || url.contains("https://x.com")||url.contains("https://wa.me")) { try { Intent intent = new Intent(); intent.setAction(Intent.ACTION_VIEW); diff --git a/bk888/.gitignore b/bk888/.gitignore new file mode 100644 index 0000000..956c004 --- /dev/null +++ b/bk888/.gitignore @@ -0,0 +1,2 @@ +/build +/release \ No newline at end of file diff --git a/bk888/build.gradle b/bk888/build.gradle new file mode 100644 index 0000000..bc04180 --- /dev/null +++ b/bk888/build.gradle @@ -0,0 +1,48 @@ +plugins { + id 'com.android.application' + id 'com.google.gms.google-services' +} + +android { + compileSdkVersion 31 + buildToolsVersion "30.0.3" + + defaultConfig { + applicationId "com.web.bk888" + minSdkVersion 24 + targetSdkVersion 31 + versionCode 107 + versionName "v1.0.7" + testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" + } + + signingConfigs { + debug { + storeFile file('ppn.jks') + storePassword "2014123456" + keyAlias 'key0' + keyPassword "2014123456" + } + release { + storeFile file('ppn.jks') + storePassword "2014123456" + keyAlias 'key0' + keyPassword "2014123456" + } + } + + buildTypes { + release { + minifyEnabled false + proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' + } + } + compileOptions { + sourceCompatibility JavaVersion.VERSION_1_8 + targetCompatibility JavaVersion.VERSION_1_8 + } +} + +dependencies { + implementation project(path: ':base') +} \ No newline at end of file diff --git a/bk888/google-services.json b/bk888/google-services.json new file mode 100644 index 0000000..74219dc --- /dev/null +++ b/bk888/google-services.json @@ -0,0 +1,29 @@ +{ + "project_info": { + "project_number": "641258940228", + "project_id": "bk888-6138b", + "storage_bucket": "bk888-6138b.firebasestorage.app" + }, + "client": [ + { + "client_info": { + "mobilesdk_app_id": "1:641258940228:android:664545cc96db12bd3f1911", + "android_client_info": { + "package_name": "com.web.bk888" + } + }, + "oauth_client": [], + "api_key": [ + { + "current_key": "AIzaSyB0x4czvyjVHn5_8vWSU4nbeScFtg2CYxI" + } + ], + "services": { + "appinvite_service": { + "other_platform_oauth_client": [] + } + } + } + ], + "configuration_version": "1" +} \ No newline at end of file diff --git a/bk888/ppn.jks b/bk888/ppn.jks new file mode 100644 index 0000000..5898029 Binary files /dev/null and b/bk888/ppn.jks differ diff --git a/bk888/proguard-rules.pro b/bk888/proguard-rules.pro new file mode 100644 index 0000000..107b7ee --- /dev/null +++ b/bk888/proguard-rules.pro @@ -0,0 +1,32 @@ +# Add project specific ProGuard rules here. +# You can control the set of applied configuration files using the +# proguardFiles setting in build.gradle. +# +# For more details, see +# http://developer.android.com/guide/developing/tools/proguard.html + +# If your project uses WebView with JS, uncomment the following +# and specify the fully qualified class name to the JavaScript interface +# class: +#-keepclassmembers class fqcn.of.javascript.interface.for.webview { +# public *; +#} + +# Uncomment this to preserve the line number information for +# debugging stack traces. +#-keepattributes SourceFile,LineNumberTable + +# If you keep the line number information, uncomment this to +# hide the original source file name. +#-renamesourcefileattribute SourceFile + +-dontwarn dalvik.** +-dontwarn com.tencent.smtt.** + +-keep class com.tencent.smtt.** { + *; +} + +-keep class com.tencent.tbs.** { + *; +} \ No newline at end of file diff --git a/bk888/src/androidTest/java/Tptogiar/calculcator/ExampleInstrumentedTest.java b/bk888/src/androidTest/java/Tptogiar/calculcator/ExampleInstrumentedTest.java new file mode 100644 index 0000000..44b9f39 --- /dev/null +++ b/bk888/src/androidTest/java/Tptogiar/calculcator/ExampleInstrumentedTest.java @@ -0,0 +1,26 @@ +package Tptogiar.calculcator; + +import android.content.Context; + +import androidx.test.platform.app.InstrumentationRegistry; +import androidx.test.ext.junit.runners.AndroidJUnit4; + +import org.junit.Test; +import org.junit.runner.RunWith; + +import static org.junit.Assert.*; + +/** + * Instrumented test, which will execute on an Android device. + * + * @see Testing documentation + */ +@RunWith(AndroidJUnit4.class) +public class ExampleInstrumentedTest { + @Test + public void useAppContext() { + // Context of the app under test. + Context appContext = InstrumentationRegistry.getInstrumentation().getTargetContext(); + assertEquals("Tptogiar.calculcator", appContext.getPackageName()); + } +} \ No newline at end of file diff --git a/bk888/src/main/AndroidManifest.xml b/bk888/src/main/AndroidManifest.xml new file mode 100644 index 0000000..bffe4cc --- /dev/null +++ b/bk888/src/main/AndroidManifest.xml @@ -0,0 +1,113 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/bk888/src/main/java/com/web/bk888/MainActivity2.java b/bk888/src/main/java/com/web/bk888/MainActivity2.java new file mode 100644 index 0000000..8f0713c --- /dev/null +++ b/bk888/src/main/java/com/web/bk888/MainActivity2.java @@ -0,0 +1,56 @@ +package com.web.bk888; + + +import android.content.pm.PackageInfo; +import android.content.pm.PackageManager; +import android.os.Bundle; + +import androidx.annotation.NonNull; + +import com.google.android.gms.tasks.OnCompleteListener; +import com.google.android.gms.tasks.Task; +import com.google.firebase.messaging.FirebaseMessaging; +import com.web.base.MainActivity; + +public class MainActivity2 extends com.web.base.MainActivity2 { + + @Override + protected void onCreate(Bundle savedInstanceState) { + userId = 122; + saveInt(MainActivity2.this,"user_code",userId); + saveInt(MainActivity2.this,"version_code",getVersion()); + MainActivity.saveString(this, "base_url","https://bk888.co/"); + //网页的底部NavigationBar颜色 + MainActivity.saveString(this, "style_color", "#000000"); + //页面的大背景颜色 + MainActivity.saveString(this, "windows_color", "#000000"); + //任务栏的文字颜色 0 黑 1白 默认黑 + saveInt(MainActivity2.this,"is_white",1); + super.onCreate(savedInstanceState); + //用于修改大背景渐变色 不设置 大背景就是 windows_color 的颜色 + setBackDrawables(R.drawable.big_bg); + setImageView(false); + //订阅主题 + FirebaseMessaging.getInstance().subscribeToTopic("demo") + .addOnCompleteListener(task -> { + String msg = "Subscribed"; + if (!task.isSuccessful()) { + msg = "Subscribe failed"; + } + + }); + } + + public int getVersion(){ + try { + PackageManager packageManager = getPackageManager(); + PackageInfo packageInfo = packageManager.getPackageInfo(getPackageName(), 0); + int versionCode = packageInfo.versionCode; // 版本码 + return versionCode; + } catch (PackageManager.NameNotFoundException e) { + return 0; + } + + } + +} diff --git a/bk888/src/main/java/com/web/bk888/MyFirebaseMessageingService.java b/bk888/src/main/java/com/web/bk888/MyFirebaseMessageingService.java new file mode 100644 index 0000000..e49635b --- /dev/null +++ b/bk888/src/main/java/com/web/bk888/MyFirebaseMessageingService.java @@ -0,0 +1,171 @@ +package com.web.bk888; + +import android.app.NotificationChannel; +import android.app.NotificationManager; +import android.app.PendingIntent; +import android.content.ComponentName; +import android.content.Context; +import android.content.Intent; +import android.os.Build; + +import androidx.annotation.NonNull; +import androidx.core.app.NotificationCompat; + +import com.google.firebase.messaging.FirebaseMessagingService; +import com.google.firebase.messaging.RemoteMessage; +import com.google.gson.Gson; +import com.web.base.GsonUtils; +import com.web.base.MessageInfo; + +import java.util.Map; +import java.util.Random; + +public class MyFirebaseMessageingService extends FirebaseMessagingService { + + public MyFirebaseMessageingService() { + } + + @Override + public void onMessageReceived(@NonNull RemoteMessage remoteMessage) { + super.onMessageReceived(remoteMessage); + Map serviceData = remoteMessage.getData(); //后台推送数据 + if (serviceData != null && serviceData.containsKey("message")) { + String value = serviceData.get("message"); + Gson gson = new Gson(); + MessageInfo messageInfo = gson.fromJson(value, MessageInfo.class); + showNotification(messageInfo); +// if (remoteMessage.getNotification() != null) { +// showNotification(remoteMessage.getNotification().getTitle(), remoteMessage.getNotification().getBody()); +// } + } else { + //收到通知 创建notify + if (remoteMessage.getNotification() != null) { + showNotification(remoteMessage.getNotification().getTitle(), remoteMessage.getNotification().getBody()); + } + } + + + } + + private void showNotification(MessageInfo messageInfo) { + Intent notifyIntent = new Intent(this, com.web.base.MainActivity2.class); + if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.CUPCAKE) { + ComponentName launchComponent = null; + launchComponent = getApplication() + .getPackageManager() + .getLaunchIntentForPackage(getApplication().getPackageName()) + .getComponent(); + notifyIntent.setComponent(launchComponent); + } + + notifyIntent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP | Intent.FLAG_ACTIVITY_SINGLE_TOP); + notifyIntent.setAction(Intent.ACTION_VIEW); + notifyIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); // 必须 + notifyIntent.putExtra("message", messageInfo); + + PendingIntent pendingIntent = PendingIntent.getActivity(this, new Random().nextInt(10000), notifyIntent, PendingIntent.FLAG_IMMUTABLE); + +// Intent notifyIntent = new Intent(this, MainActivity2.class); +// notifyIntent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP | Intent.FLAG_ACTIVITY_SINGLE_TOP); +// // notifyIntent.putExtra("message", messageInfo); +// notifyIntent.setAction(Intent.ACTION_VIEW); +// notifyIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); // 必须 +// PendingIntent pendingIntent; +// pendingIntent = PendingIntent.getActivity +// (this, 0, notifyIntent, PendingIntent.FLAG_ONE_SHOT | PendingIntent.FLAG_IMMUTABLE); + + NotificationManager notificationManager = (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE); + NotificationChannel channelwinway = null; + NotificationCompat.Builder notificationBuilder = null; + if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) { + channelwinway = new NotificationChannel(getString(com.web.base.R.string.app_name), "notify", NotificationManager.IMPORTANCE_DEFAULT); + channelwinway.enableLights(true); + channelwinway.enableVibration(true); + notificationManager.createNotificationChannel(channelwinway); + notificationBuilder = new NotificationCompat.Builder(this, channelwinway.getId()) + .setSmallIcon(R.mipmap.app_logo) + .setContentTitle(messageInfo.getTitle()) + .setContentText(messageInfo.getContent()) + .setAutoCancel(true) + .setContentIntent(pendingIntent); + } else { + notificationBuilder = new NotificationCompat.Builder(this, getString(com.web.base.R.string.app_name)) + .setSmallIcon(R.mipmap.app_logo) + .setContentTitle(messageInfo.getTitle()) + .setContentText(messageInfo.getContent()) + .setAutoCancel(true) + .setContentIntent(pendingIntent); + } + notificationManager.notify(0, notificationBuilder.build()); + } + + private void showNotification(String title, String body) { + Intent notifyIntent = new Intent(this, MainActivity2.class); + if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.CUPCAKE) { + ComponentName launchComponent = null; + launchComponent = getApplication() + .getPackageManager() + .getLaunchIntentForPackage(getApplication().getPackageName()) + .getComponent(); + notifyIntent.setComponent(launchComponent); + } + notifyIntent.putExtra("message", body); + notifyIntent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP | Intent.FLAG_ACTIVITY_SINGLE_TOP); + notifyIntent.setAction(Intent.ACTION_VIEW); + notifyIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); // 必须 + + + PendingIntent pendingIntent = PendingIntent.getActivity(this, new Random().nextInt(10000), notifyIntent, PendingIntent.FLAG_IMMUTABLE); + NotificationManager notificationManager = (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE); + NotificationChannel channelwinway = null; + NotificationCompat.Builder notificationBuilder = null; + MessageInfo messageInfo = GsonUtils.getObjFromJSON(body, MessageInfo.class); + if (messageInfo != null) { + body = messageInfo.getContent(); + } + if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) { + channelwinway = new NotificationChannel(getString(com.web.base.R.string.app_name), "notify", NotificationManager.IMPORTANCE_DEFAULT); + channelwinway.enableLights(true); + channelwinway.enableVibration(true); + notificationManager.createNotificationChannel(channelwinway); + notificationBuilder = new NotificationCompat.Builder(this, channelwinway.getId()) + .setSmallIcon(R.mipmap.app_logo) + .setContentTitle(title) + .setContentText(body) + .setAutoCancel(true) + .setContentIntent(pendingIntent); + } else { + notificationBuilder = new NotificationCompat.Builder(this, getString(com.web.base.R.string.app_name)) + .setSmallIcon(R.mipmap.app_logo) + .setContentTitle(title) + .setContentText(body) + .setAutoCancel(true) + .setContentIntent(pendingIntent); + } + notificationManager.notify(0, notificationBuilder.build()); + //存储数据 + // saveNotifyMessage(body); + } + + +// public void saveNotifyMessage(String body) { +// MessageInfo messageInfo = GsonUtils.getObjFromJSON(body, MessageInfo.class); +// String savenotify = Utils.get(getApplication(),ApiService.savenotify,""); +// if(messageInfo!=null){ +// if(TextUtils.isEmpty(savenotify)){ +// GsonUtils.getListFromJSON(savenotify,) +// } +// } +// String jsonString = GsonUtils.beanToJSONString(chatMessageBeans); +// } +// +// /** +// * @param key 要设置的key +// */ +// public static void set(Context activity, String key, String is) { +// SharedPreferences nameSetting = getConfigShared(activity); +// SharedPreferences.Editor namePref = nameSetting.edit(); +// namePref.putString(key, is); +// namePref.commit(); +// } +} diff --git a/bk888/src/main/java/com/web/bk888/WebApplication.java b/bk888/src/main/java/com/web/bk888/WebApplication.java new file mode 100644 index 0000000..c0f17b7 --- /dev/null +++ b/bk888/src/main/java/com/web/bk888/WebApplication.java @@ -0,0 +1,37 @@ +package com.web.bk888; + +import android.app.Application; +import android.content.Context; + +import com.tencent.smtt.export.external.TbsCoreSettings; +import com.tencent.smtt.sdk.QbSdk; + +import java.util.HashMap; + +public class WebApplication extends Application { + + + public static Context application; + @Override + public void onCreate() { + super.onCreate(); +// 设置开启优化方案 + application = this; + HashMap map = new HashMap(); + map.put(TbsCoreSettings.TBS_SETTINGS_USE_SPEEDY_CLASSLOADER, true); + map.put(TbsCoreSettings.TBS_SETTINGS_USE_DEXLOADER_SERVICE, true); + QbSdk.initTbsSettings(map); + QbSdk.initX5Environment(this, new QbSdk.PreInitCallback() { + @Override + public void onCoreInitFinished() { + + } + + @Override + public void onViewInitFinished(boolean b) { + + } + }); + QbSdk.setDownloadWithoutWifi(true); + } +} diff --git a/bk888/src/main/res/drawable-anydpi/ic_action_back.xml b/bk888/src/main/res/drawable-anydpi/ic_action_back.xml new file mode 100644 index 0000000..013ab07 --- /dev/null +++ b/bk888/src/main/res/drawable-anydpi/ic_action_back.xml @@ -0,0 +1,11 @@ + + + diff --git a/bk888/src/main/res/drawable-hdpi/ic_action_back.png b/bk888/src/main/res/drawable-hdpi/ic_action_back.png new file mode 100644 index 0000000..1560c04 Binary files /dev/null and b/bk888/src/main/res/drawable-hdpi/ic_action_back.png differ diff --git a/bk888/src/main/res/drawable-mdpi/ic_action_back.png b/bk888/src/main/res/drawable-mdpi/ic_action_back.png new file mode 100644 index 0000000..d5841d2 Binary files /dev/null and b/bk888/src/main/res/drawable-mdpi/ic_action_back.png differ diff --git a/bk888/src/main/res/drawable-v24/ic_launcher_foreground.xml b/bk888/src/main/res/drawable-v24/ic_launcher_foreground.xml new file mode 100644 index 0000000..2b068d1 --- /dev/null +++ b/bk888/src/main/res/drawable-v24/ic_launcher_foreground.xml @@ -0,0 +1,30 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/bk888/src/main/res/drawable-xhdpi/ic_action_back.png b/bk888/src/main/res/drawable-xhdpi/ic_action_back.png new file mode 100644 index 0000000..5c14e41 Binary files /dev/null and b/bk888/src/main/res/drawable-xhdpi/ic_action_back.png differ diff --git a/bk888/src/main/res/drawable-xxhdpi/ic_action_back.png b/bk888/src/main/res/drawable-xxhdpi/ic_action_back.png new file mode 100644 index 0000000..0516d08 Binary files /dev/null and b/bk888/src/main/res/drawable-xxhdpi/ic_action_back.png differ diff --git a/bk888/src/main/res/drawable/big_bg.xml b/bk888/src/main/res/drawable/big_bg.xml new file mode 100644 index 0000000..ce0215e --- /dev/null +++ b/bk888/src/main/res/drawable/big_bg.xml @@ -0,0 +1,8 @@ + + + + \ No newline at end of file diff --git a/bk888/src/main/res/drawable/ic_launcher_background.xml b/bk888/src/main/res/drawable/ic_launcher_background.xml new file mode 100644 index 0000000..07d5da9 --- /dev/null +++ b/bk888/src/main/res/drawable/ic_launcher_background.xml @@ -0,0 +1,170 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/bk888/src/main/res/drawable/input_bg.xml b/bk888/src/main/res/drawable/input_bg.xml new file mode 100644 index 0000000..4e895aa --- /dev/null +++ b/bk888/src/main/res/drawable/input_bg.xml @@ -0,0 +1,20 @@ + + + + + + + + + + + + + + + + + + diff --git a/bk888/src/main/res/drawable/pass_word_bg.xml b/bk888/src/main/res/drawable/pass_word_bg.xml new file mode 100644 index 0000000..2724e60 --- /dev/null +++ b/bk888/src/main/res/drawable/pass_word_bg.xml @@ -0,0 +1,28 @@ + + + + + + + + + + + + + + + + + + diff --git a/bk888/src/main/res/drawable/pass_word_bg1.xml b/bk888/src/main/res/drawable/pass_word_bg1.xml new file mode 100644 index 0000000..d10d780 --- /dev/null +++ b/bk888/src/main/res/drawable/pass_word_bg1.xml @@ -0,0 +1,23 @@ + + + + + + \ No newline at end of file diff --git a/bk888/src/main/res/drawable/pass_word_bg2.xml b/bk888/src/main/res/drawable/pass_word_bg2.xml new file mode 100644 index 0000000..916d99c --- /dev/null +++ b/bk888/src/main/res/drawable/pass_word_bg2.xml @@ -0,0 +1,23 @@ + + + + + + \ No newline at end of file diff --git a/bk888/src/main/res/drawable/shape_btn_bg.xml b/bk888/src/main/res/drawable/shape_btn_bg.xml new file mode 100644 index 0000000..af87a0d --- /dev/null +++ b/bk888/src/main/res/drawable/shape_btn_bg.xml @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/bk888/src/main/res/drawable/shape_dialog_bg2.xml b/bk888/src/main/res/drawable/shape_dialog_bg2.xml new file mode 100644 index 0000000..7837a42 --- /dev/null +++ b/bk888/src/main/res/drawable/shape_dialog_bg2.xml @@ -0,0 +1,6 @@ + + + + + \ No newline at end of file diff --git a/bk888/src/main/res/drawable/shape_dialog_bg3.xml b/bk888/src/main/res/drawable/shape_dialog_bg3.xml new file mode 100644 index 0000000..ca0a18d --- /dev/null +++ b/bk888/src/main/res/drawable/shape_dialog_bg3.xml @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/bk888/src/main/res/drawable/shape_dialog_bg_new.xml b/bk888/src/main/res/drawable/shape_dialog_bg_new.xml new file mode 100644 index 0000000..e96d4e0 --- /dev/null +++ b/bk888/src/main/res/drawable/shape_dialog_bg_new.xml @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/bk888/src/main/res/mipmap-anydpi-v26/ic_launcher.xml b/bk888/src/main/res/mipmap-anydpi-v26/ic_launcher.xml new file mode 100644 index 0000000..eca70cf --- /dev/null +++ b/bk888/src/main/res/mipmap-anydpi-v26/ic_launcher.xml @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/bk888/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml b/bk888/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml new file mode 100644 index 0000000..eca70cf --- /dev/null +++ b/bk888/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/bk888/src/main/res/mipmap-hdpi/ic_empty.png b/bk888/src/main/res/mipmap-hdpi/ic_empty.png new file mode 100644 index 0000000..72473d6 Binary files /dev/null and b/bk888/src/main/res/mipmap-hdpi/ic_empty.png differ diff --git a/bk888/src/main/res/mipmap-hdpi/ic_pull_down.png b/bk888/src/main/res/mipmap-hdpi/ic_pull_down.png new file mode 100644 index 0000000..7dc0ec3 Binary files /dev/null and b/bk888/src/main/res/mipmap-hdpi/ic_pull_down.png differ diff --git a/bk888/src/main/res/mipmap-xhdpi/ic_close.png b/bk888/src/main/res/mipmap-xhdpi/ic_close.png new file mode 100644 index 0000000..c0b0127 Binary files /dev/null and b/bk888/src/main/res/mipmap-xhdpi/ic_close.png differ diff --git a/bk888/src/main/res/mipmap-xhdpi/ic_menu.png b/bk888/src/main/res/mipmap-xhdpi/ic_menu.png new file mode 100644 index 0000000..2b55ec5 Binary files /dev/null and b/bk888/src/main/res/mipmap-xhdpi/ic_menu.png differ diff --git a/bk888/src/main/res/mipmap-xxhdpi/app_logo.png b/bk888/src/main/res/mipmap-xxhdpi/app_logo.png new file mode 100644 index 0000000..5f31988 Binary files /dev/null and b/bk888/src/main/res/mipmap-xxhdpi/app_logo.png differ diff --git a/bk888/src/main/res/values-en/strings.xml b/bk888/src/main/res/values-en/strings.xml new file mode 100644 index 0000000..117a00a --- /dev/null +++ b/bk888/src/main/res/values-en/strings.xml @@ -0,0 +1,52 @@ + + BK888 + Please Set Your Password + Cancel + Sure + New Version Update + Next Update + Update Immediately + Click to close notification + Click to re-download + Download failed + Click to install + Download completed + Downloading... + Version update + Downloading game + Getting download data... + Version update + Downloading game + Need to turn on mobile phone notification permission + Exit + Setting + Tip + Please enter the invitation code + My invitation code: + Superior invitation code: + Total number of invites: + App download link: + Share + Check Invitation Records + Invitation Records + Total number of invitees: %d + No Data + Withdrawal Record + Withdrawal Application + Edit Bank Card Information + 60 + Name: + Please enter the bank card name + Bank card account: + Please enter the bank card account + Country: + Please select a country + Bank Name: + Please select a bank name + Note: Please enter the country code before selecting the bank name! + Balance: %s + Total Earnings: %s + Amount: %s + Please enter the withdrawal amount + Withdrawal application has been submitted + \ No newline at end of file diff --git a/bk888/src/main/res/values-night/themes.xml b/bk888/src/main/res/values-night/themes.xml new file mode 100644 index 0000000..3b0f1a2 --- /dev/null +++ b/bk888/src/main/res/values-night/themes.xml @@ -0,0 +1,70 @@ + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/bk888/src/main/res/values/colors.xml b/bk888/src/main/res/values/colors.xml new file mode 100644 index 0000000..7895913 --- /dev/null +++ b/bk888/src/main/res/values/colors.xml @@ -0,0 +1,18 @@ + + + #FFFFFF + #FFFFFF + #FFFFFF + #FF03DAC5 + #FF018786 + #FF000000 + #FFFFFFFF + #EF4723 + #FFFFFFFF + + #2C2C2E + #FFA722 + #434343 + #BCBCBC + + \ No newline at end of file diff --git a/bk888/src/main/res/values/strings.xml b/bk888/src/main/res/values/strings.xml new file mode 100644 index 0000000..ba838f6 --- /dev/null +++ b/bk888/src/main/res/values/strings.xml @@ -0,0 +1,74 @@ + + BK888 + 请输入6位密码 + 取消 + 确定 + 版本更新 + 下次更新 + 立即更新 + 点击关闭通知 + 点击重新下载 + 下载失败 + 点击安装 + 下载完成 + 正在下载… + 版本更新 + 下载游戏中 + 版本更新 + 下载游戏中 + 正在获取下载数据… + 需要打开手机通知权限 + 退出 + 设置 + 提示 + 请输入邀请码 + 我的邀请码: + 上级邀请码: + 总邀请人数: + 邀请您下载: + 分享 + 查看邀请记录 + 邀请记录 + 总邀请人数: %d + 暂无数据 + 提现记录 + 提现申请 + 编辑银行卡信息 + 86 + 持卡人姓名: + 请输入持卡人姓名 + 国家地区: + 请选择国家地区 + 开户行名称: + 请选择开户行名称 + 银行户口: + 请输入银行卡户口 + (注:请先输入国家区号再选择开户行名称!) + 余额: %s + 总收益: %s + 金额: %s + 请输入提现金额 + 提现申请已提交 + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/bk888/src/main/res/values/themes.xml b/bk888/src/main/res/values/themes.xml new file mode 100644 index 0000000..e1c80ec --- /dev/null +++ b/bk888/src/main/res/values/themes.xml @@ -0,0 +1,90 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/bk888/src/main/res/xml/app_updater_paths.xml b/bk888/src/main/res/xml/app_updater_paths.xml new file mode 100644 index 0000000..1254450 --- /dev/null +++ b/bk888/src/main/res/xml/app_updater_paths.xml @@ -0,0 +1,10 @@ + + + + + + + + + + \ No newline at end of file diff --git a/bk888/src/main/res/xml/network_security_config.xml b/bk888/src/main/res/xml/network_security_config.xml new file mode 100644 index 0000000..dca93c0 --- /dev/null +++ b/bk888/src/main/res/xml/network_security_config.xml @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/bk888/src/main/res/xml/provider_paths.xml b/bk888/src/main/res/xml/provider_paths.xml new file mode 100644 index 0000000..c9a897a --- /dev/null +++ b/bk888/src/main/res/xml/provider_paths.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + \ No newline at end of file diff --git a/bk888/src/test/java/Tptogiar/calculcator/ExampleUnitTest.java b/bk888/src/test/java/Tptogiar/calculcator/ExampleUnitTest.java new file mode 100644 index 0000000..3259554 --- /dev/null +++ b/bk888/src/test/java/Tptogiar/calculcator/ExampleUnitTest.java @@ -0,0 +1,35 @@ +package Tptogiar.calculcator; + +import org.junit.Test; + +import java.util.regex.Matcher; +import java.util.regex.Pattern; + +import static org.junit.Assert.*; + +/** + * Example local unit test, which will execute on the development machine (host). + * + * @see Testing documentation + */ +public class ExampleUnitTest { + @Test + public void addition_isCorrect() { + assertEquals(4, 2 + 2); + } + + @Test + public void TestPattern(){ +// + Pattern compile = Pattern.compile( "^(\\-|\\+)?\\d+(\\.\\d+)?$"); + String a="+45.5"; + boolean matches = compile.matcher(a).matches(); + System.out.println(matches); + String result = compile.matcher(a).replaceAll(""); + System.out.println(result); + + + } + + +} \ No newline at end of file diff --git a/boda8/build.gradle b/boda8/build.gradle index 975b6fa..c1a4944 100644 --- a/boda8/build.gradle +++ b/boda8/build.gradle @@ -18,12 +18,7 @@ android { testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } - buildTypes { - release { - minifyEnabled false - proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' - } - } + signingConfigs { debug { storeFile file('dskjweb.jks') @@ -38,7 +33,12 @@ android { keyPassword "dskj2024" } } - + buildTypes { + release { + minifyEnabled false + proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' + } + } compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 diff --git a/cekap33/build.gradle b/cekap33/build.gradle index 3dbf355..8b21383 100644 --- a/cekap33/build.gradle +++ b/cekap33/build.gradle @@ -17,12 +17,7 @@ android { testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } - buildTypes { - release { - minifyEnabled false - proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' - } - } + signingConfigs { debug { storeFile file('cekap33.jks') @@ -37,7 +32,12 @@ android { keyPassword "android2014" } } - + buildTypes { + release { + minifyEnabled false + proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' + } + } compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 diff --git a/cergas/build.gradle b/cergas/build.gradle index 9ab78f7..99f7988 100644 --- a/cergas/build.gradle +++ b/cergas/build.gradle @@ -18,12 +18,7 @@ android { testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } - buildTypes { - release { - minifyEnabled false - proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' - } - } + signingConfigs { debug { storeFile file('dskjweb.jks') @@ -38,7 +33,12 @@ android { keyPassword "dskj2024" } } - + buildTypes { + release { + minifyEnabled false + proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' + } + } compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 diff --git a/jackpotau/build.gradle b/jackpotau/build.gradle index 0230596..625014b 100644 --- a/jackpotau/build.gradle +++ b/jackpotau/build.gradle @@ -18,12 +18,7 @@ android { testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } - buildTypes { - release { - minifyEnabled false - proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' - } - } + signingConfigs { debug { storeFile file('jackpotau.jks') @@ -38,7 +33,12 @@ android { keyPassword "android2014" } } - + buildTypes { + release { + minifyEnabled false + proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' + } + } compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 diff --git a/mgi/build.gradle b/mgi/build.gradle index 465c3bf..eec0115 100644 --- a/mgi/build.gradle +++ b/mgi/build.gradle @@ -17,13 +17,7 @@ android { testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } - buildTypes { - release { - minifyEnabled false - proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' - } - } signingConfigs { debug { storeFile file('mgi.jks') @@ -38,7 +32,13 @@ android { keyPassword "android2014" } } + buildTypes { + release { + minifyEnabled false + proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' + } + } compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 diff --git a/mk99pgk/build.gradle b/mk99pgk/build.gradle index 11934d0..be05844 100644 --- a/mk99pgk/build.gradle +++ b/mk99pgk/build.gradle @@ -18,12 +18,6 @@ android { testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } - buildTypes { - release { - minifyEnabled false - proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' - } - } signingConfigs { debug { storeFile file('nak99.jks') @@ -39,6 +33,12 @@ android { } } + buildTypes { + release { + minifyEnabled false + proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' + } + } compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 diff --git a/nak99/build.gradle b/nak99/build.gradle index 258b0db..415ed1c 100644 --- a/nak99/build.gradle +++ b/nak99/build.gradle @@ -18,12 +18,6 @@ android { testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } - buildTypes { - release { - minifyEnabled false - proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' - } - } signingConfigs { debug { storeFile file('nak99.jks') @@ -39,6 +33,12 @@ android { } } + buildTypes { + release { + minifyEnabled false + proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' + } + } compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 diff --git a/nova668/.gitignore b/nova668/.gitignore new file mode 100644 index 0000000..956c004 --- /dev/null +++ b/nova668/.gitignore @@ -0,0 +1,2 @@ +/build +/release \ No newline at end of file diff --git a/nova668/build.gradle b/nova668/build.gradle new file mode 100644 index 0000000..47c7994 --- /dev/null +++ b/nova668/build.gradle @@ -0,0 +1,48 @@ +plugins { + id 'com.android.application' + id 'com.google.gms.google-services' +} + +android { + compileSdkVersion 31 + buildToolsVersion "30.0.3" + + defaultConfig { + applicationId "com.web.nova668" + minSdkVersion 24 + targetSdkVersion 31 + versionCode 107 + versionName "v1.0.7" + testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" + } + + signingConfigs { + debug { + storeFile file('ppn.jks') + storePassword "2014123456" + keyAlias 'key0' + keyPassword "2014123456" + } + release { + storeFile file('ppn.jks') + storePassword "2014123456" + keyAlias 'key0' + keyPassword "2014123456" + } + } + + buildTypes { + release { + minifyEnabled false + proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' + } + } + compileOptions { + sourceCompatibility JavaVersion.VERSION_1_8 + targetCompatibility JavaVersion.VERSION_1_8 + } +} + +dependencies { + implementation project(path: ':base') +} \ No newline at end of file diff --git a/nova668/google-services.json b/nova668/google-services.json new file mode 100644 index 0000000..6104a7c --- /dev/null +++ b/nova668/google-services.json @@ -0,0 +1,29 @@ +{ + "project_info": { + "project_number": "40092684067", + "project_id": "nova668-7fcbb", + "storage_bucket": "nova668-7fcbb.firebasestorage.app" + }, + "client": [ + { + "client_info": { + "mobilesdk_app_id": "1:40092684067:android:0eacb8dd2558228c040696", + "android_client_info": { + "package_name": "com.web.nova668" + } + }, + "oauth_client": [], + "api_key": [ + { + "current_key": "AIzaSyDU5xg5in3EvfqScweJZGoYvitKx6Hn19s" + } + ], + "services": { + "appinvite_service": { + "other_platform_oauth_client": [] + } + } + } + ], + "configuration_version": "1" +} \ No newline at end of file diff --git a/nova668/ppn.jks b/nova668/ppn.jks new file mode 100644 index 0000000..5898029 Binary files /dev/null and b/nova668/ppn.jks differ diff --git a/nova668/proguard-rules.pro b/nova668/proguard-rules.pro new file mode 100644 index 0000000..107b7ee --- /dev/null +++ b/nova668/proguard-rules.pro @@ -0,0 +1,32 @@ +# Add project specific ProGuard rules here. +# You can control the set of applied configuration files using the +# proguardFiles setting in build.gradle. +# +# For more details, see +# http://developer.android.com/guide/developing/tools/proguard.html + +# If your project uses WebView with JS, uncomment the following +# and specify the fully qualified class name to the JavaScript interface +# class: +#-keepclassmembers class fqcn.of.javascript.interface.for.webview { +# public *; +#} + +# Uncomment this to preserve the line number information for +# debugging stack traces. +#-keepattributes SourceFile,LineNumberTable + +# If you keep the line number information, uncomment this to +# hide the original source file name. +#-renamesourcefileattribute SourceFile + +-dontwarn dalvik.** +-dontwarn com.tencent.smtt.** + +-keep class com.tencent.smtt.** { + *; +} + +-keep class com.tencent.tbs.** { + *; +} \ No newline at end of file diff --git a/nova668/src/androidTest/java/Tptogiar/calculcator/ExampleInstrumentedTest.java b/nova668/src/androidTest/java/Tptogiar/calculcator/ExampleInstrumentedTest.java new file mode 100644 index 0000000..44b9f39 --- /dev/null +++ b/nova668/src/androidTest/java/Tptogiar/calculcator/ExampleInstrumentedTest.java @@ -0,0 +1,26 @@ +package Tptogiar.calculcator; + +import android.content.Context; + +import androidx.test.platform.app.InstrumentationRegistry; +import androidx.test.ext.junit.runners.AndroidJUnit4; + +import org.junit.Test; +import org.junit.runner.RunWith; + +import static org.junit.Assert.*; + +/** + * Instrumented test, which will execute on an Android device. + * + * @see Testing documentation + */ +@RunWith(AndroidJUnit4.class) +public class ExampleInstrumentedTest { + @Test + public void useAppContext() { + // Context of the app under test. + Context appContext = InstrumentationRegistry.getInstrumentation().getTargetContext(); + assertEquals("Tptogiar.calculcator", appContext.getPackageName()); + } +} \ No newline at end of file diff --git a/nova668/src/main/AndroidManifest.xml b/nova668/src/main/AndroidManifest.xml new file mode 100644 index 0000000..920d4a8 --- /dev/null +++ b/nova668/src/main/AndroidManifest.xml @@ -0,0 +1,113 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/nova668/src/main/java/com/web/nova668/MainActivity2.java b/nova668/src/main/java/com/web/nova668/MainActivity2.java new file mode 100644 index 0000000..5fea499 --- /dev/null +++ b/nova668/src/main/java/com/web/nova668/MainActivity2.java @@ -0,0 +1,56 @@ +package com.web.nova668; + + +import android.content.pm.PackageInfo; +import android.content.pm.PackageManager; +import android.os.Bundle; + +import androidx.annotation.NonNull; + +import com.google.android.gms.tasks.OnCompleteListener; +import com.google.android.gms.tasks.Task; +import com.google.firebase.messaging.FirebaseMessaging; +import com.web.base.MainActivity; + +public class MainActivity2 extends com.web.base.MainActivity2 { + + @Override + protected void onCreate(Bundle savedInstanceState) { + userId = 121; + saveInt(MainActivity2.this,"user_code",userId); + saveInt(MainActivity2.this,"version_code",getVersion()); + MainActivity.saveString(this, "base_url","https://nova668.website/"); + //网页的底部NavigationBar颜色 + MainActivity.saveString(this, "style_color", "#242d6e"); + //页面的大背景颜色 + MainActivity.saveString(this, "windows_color", "#242d6e"); + //任务栏的文字颜色 0 黑 1白 默认黑 + saveInt(MainActivity2.this,"is_white",0); + super.onCreate(savedInstanceState); + //用于修改大背景渐变色 不设置 大背景就是 windows_color 的颜色 + setBackDrawables(R.drawable.big_bg); + setImageView(false); + //订阅主题 + FirebaseMessaging.getInstance().subscribeToTopic("demo") + .addOnCompleteListener(task -> { + String msg = "Subscribed"; + if (!task.isSuccessful()) { + msg = "Subscribe failed"; + } + + }); + } + + public int getVersion(){ + try { + PackageManager packageManager = getPackageManager(); + PackageInfo packageInfo = packageManager.getPackageInfo(getPackageName(), 0); + int versionCode = packageInfo.versionCode; // 版本码 + return versionCode; + } catch (PackageManager.NameNotFoundException e) { + return 0; + } + + } + +} diff --git a/nova668/src/main/java/com/web/nova668/MyFirebaseMessageingService.java b/nova668/src/main/java/com/web/nova668/MyFirebaseMessageingService.java new file mode 100644 index 0000000..52b95c3 --- /dev/null +++ b/nova668/src/main/java/com/web/nova668/MyFirebaseMessageingService.java @@ -0,0 +1,171 @@ +package com.web.nova668; + +import android.app.NotificationChannel; +import android.app.NotificationManager; +import android.app.PendingIntent; +import android.content.ComponentName; +import android.content.Context; +import android.content.Intent; +import android.os.Build; + +import androidx.annotation.NonNull; +import androidx.core.app.NotificationCompat; + +import com.google.firebase.messaging.FirebaseMessagingService; +import com.google.firebase.messaging.RemoteMessage; +import com.google.gson.Gson; +import com.web.base.GsonUtils; +import com.web.base.MessageInfo; + +import java.util.Map; +import java.util.Random; + +public class MyFirebaseMessageingService extends FirebaseMessagingService { + + public MyFirebaseMessageingService() { + } + + @Override + public void onMessageReceived(@NonNull RemoteMessage remoteMessage) { + super.onMessageReceived(remoteMessage); + Map serviceData = remoteMessage.getData(); //后台推送数据 + if (serviceData != null && serviceData.containsKey("message")) { + String value = serviceData.get("message"); + Gson gson = new Gson(); + MessageInfo messageInfo = gson.fromJson(value, MessageInfo.class); + showNotification(messageInfo); +// if (remoteMessage.getNotification() != null) { +// showNotification(remoteMessage.getNotification().getTitle(), remoteMessage.getNotification().getBody()); +// } + } else { + //收到通知 创建notify + if (remoteMessage.getNotification() != null) { + showNotification(remoteMessage.getNotification().getTitle(), remoteMessage.getNotification().getBody()); + } + } + + + } + + private void showNotification(MessageInfo messageInfo) { + Intent notifyIntent = new Intent(this, com.web.base.MainActivity2.class); + if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.CUPCAKE) { + ComponentName launchComponent = null; + launchComponent = getApplication() + .getPackageManager() + .getLaunchIntentForPackage(getApplication().getPackageName()) + .getComponent(); + notifyIntent.setComponent(launchComponent); + } + + notifyIntent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP | Intent.FLAG_ACTIVITY_SINGLE_TOP); + notifyIntent.setAction(Intent.ACTION_VIEW); + notifyIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); // 必须 + notifyIntent.putExtra("message", messageInfo); + + PendingIntent pendingIntent = PendingIntent.getActivity(this, new Random().nextInt(10000), notifyIntent, PendingIntent.FLAG_IMMUTABLE); + +// Intent notifyIntent = new Intent(this, MainActivity2.class); +// notifyIntent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP | Intent.FLAG_ACTIVITY_SINGLE_TOP); +// // notifyIntent.putExtra("message", messageInfo); +// notifyIntent.setAction(Intent.ACTION_VIEW); +// notifyIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); // 必须 +// PendingIntent pendingIntent; +// pendingIntent = PendingIntent.getActivity +// (this, 0, notifyIntent, PendingIntent.FLAG_ONE_SHOT | PendingIntent.FLAG_IMMUTABLE); + + NotificationManager notificationManager = (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE); + NotificationChannel channelwinway = null; + NotificationCompat.Builder notificationBuilder = null; + if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) { + channelwinway = new NotificationChannel(getString(com.web.base.R.string.app_name), "notify", NotificationManager.IMPORTANCE_DEFAULT); + channelwinway.enableLights(true); + channelwinway.enableVibration(true); + notificationManager.createNotificationChannel(channelwinway); + notificationBuilder = new NotificationCompat.Builder(this, channelwinway.getId()) + .setSmallIcon(R.mipmap.app_logo) + .setContentTitle(messageInfo.getTitle()) + .setContentText(messageInfo.getContent()) + .setAutoCancel(true) + .setContentIntent(pendingIntent); + } else { + notificationBuilder = new NotificationCompat.Builder(this, getString(com.web.base.R.string.app_name)) + .setSmallIcon(R.mipmap.app_logo) + .setContentTitle(messageInfo.getTitle()) + .setContentText(messageInfo.getContent()) + .setAutoCancel(true) + .setContentIntent(pendingIntent); + } + notificationManager.notify(0, notificationBuilder.build()); + } + + private void showNotification(String title, String body) { + Intent notifyIntent = new Intent(this, MainActivity2.class); + if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.CUPCAKE) { + ComponentName launchComponent = null; + launchComponent = getApplication() + .getPackageManager() + .getLaunchIntentForPackage(getApplication().getPackageName()) + .getComponent(); + notifyIntent.setComponent(launchComponent); + } + notifyIntent.putExtra("message", body); + notifyIntent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP | Intent.FLAG_ACTIVITY_SINGLE_TOP); + notifyIntent.setAction(Intent.ACTION_VIEW); + notifyIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); // 必须 + + + PendingIntent pendingIntent = PendingIntent.getActivity(this, new Random().nextInt(10000), notifyIntent, PendingIntent.FLAG_IMMUTABLE); + NotificationManager notificationManager = (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE); + NotificationChannel channelwinway = null; + NotificationCompat.Builder notificationBuilder = null; + MessageInfo messageInfo = GsonUtils.getObjFromJSON(body, MessageInfo.class); + if (messageInfo != null) { + body = messageInfo.getContent(); + } + if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) { + channelwinway = new NotificationChannel(getString(com.web.base.R.string.app_name), "notify", NotificationManager.IMPORTANCE_DEFAULT); + channelwinway.enableLights(true); + channelwinway.enableVibration(true); + notificationManager.createNotificationChannel(channelwinway); + notificationBuilder = new NotificationCompat.Builder(this, channelwinway.getId()) + .setSmallIcon(R.mipmap.app_logo) + .setContentTitle(title) + .setContentText(body) + .setAutoCancel(true) + .setContentIntent(pendingIntent); + } else { + notificationBuilder = new NotificationCompat.Builder(this, getString(com.web.base.R.string.app_name)) + .setSmallIcon(R.mipmap.app_logo) + .setContentTitle(title) + .setContentText(body) + .setAutoCancel(true) + .setContentIntent(pendingIntent); + } + notificationManager.notify(0, notificationBuilder.build()); + //存储数据 + // saveNotifyMessage(body); + } + + +// public void saveNotifyMessage(String body) { +// MessageInfo messageInfo = GsonUtils.getObjFromJSON(body, MessageInfo.class); +// String savenotify = Utils.get(getApplication(),ApiService.savenotify,""); +// if(messageInfo!=null){ +// if(TextUtils.isEmpty(savenotify)){ +// GsonUtils.getListFromJSON(savenotify,) +// } +// } +// String jsonString = GsonUtils.beanToJSONString(chatMessageBeans); +// } +// +// /** +// * @param key 要设置的key +// */ +// public static void set(Context activity, String key, String is) { +// SharedPreferences nameSetting = getConfigShared(activity); +// SharedPreferences.Editor namePref = nameSetting.edit(); +// namePref.putString(key, is); +// namePref.commit(); +// } +} diff --git a/nova668/src/main/java/com/web/nova668/WebApplication.java b/nova668/src/main/java/com/web/nova668/WebApplication.java new file mode 100644 index 0000000..7e62f13 --- /dev/null +++ b/nova668/src/main/java/com/web/nova668/WebApplication.java @@ -0,0 +1,37 @@ +package com.web.nova668; + +import android.app.Application; +import android.content.Context; + +import com.tencent.smtt.export.external.TbsCoreSettings; +import com.tencent.smtt.sdk.QbSdk; + +import java.util.HashMap; + +public class WebApplication extends Application { + + + public static Context application; + @Override + public void onCreate() { + super.onCreate(); +// 设置开启优化方案 + application = this; + HashMap map = new HashMap(); + map.put(TbsCoreSettings.TBS_SETTINGS_USE_SPEEDY_CLASSLOADER, true); + map.put(TbsCoreSettings.TBS_SETTINGS_USE_DEXLOADER_SERVICE, true); + QbSdk.initTbsSettings(map); + QbSdk.initX5Environment(this, new QbSdk.PreInitCallback() { + @Override + public void onCoreInitFinished() { + + } + + @Override + public void onViewInitFinished(boolean b) { + + } + }); + QbSdk.setDownloadWithoutWifi(true); + } +} diff --git a/nova668/src/main/res/drawable-anydpi/ic_action_back.xml b/nova668/src/main/res/drawable-anydpi/ic_action_back.xml new file mode 100644 index 0000000..013ab07 --- /dev/null +++ b/nova668/src/main/res/drawable-anydpi/ic_action_back.xml @@ -0,0 +1,11 @@ + + + diff --git a/nova668/src/main/res/drawable-hdpi/ic_action_back.png b/nova668/src/main/res/drawable-hdpi/ic_action_back.png new file mode 100644 index 0000000..1560c04 Binary files /dev/null and b/nova668/src/main/res/drawable-hdpi/ic_action_back.png differ diff --git a/nova668/src/main/res/drawable-mdpi/ic_action_back.png b/nova668/src/main/res/drawable-mdpi/ic_action_back.png new file mode 100644 index 0000000..d5841d2 Binary files /dev/null and b/nova668/src/main/res/drawable-mdpi/ic_action_back.png differ diff --git a/nova668/src/main/res/drawable-v24/ic_launcher_foreground.xml b/nova668/src/main/res/drawable-v24/ic_launcher_foreground.xml new file mode 100644 index 0000000..2b068d1 --- /dev/null +++ b/nova668/src/main/res/drawable-v24/ic_launcher_foreground.xml @@ -0,0 +1,30 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/nova668/src/main/res/drawable-xhdpi/ic_action_back.png b/nova668/src/main/res/drawable-xhdpi/ic_action_back.png new file mode 100644 index 0000000..5c14e41 Binary files /dev/null and b/nova668/src/main/res/drawable-xhdpi/ic_action_back.png differ diff --git a/nova668/src/main/res/drawable-xxhdpi/ic_action_back.png b/nova668/src/main/res/drawable-xxhdpi/ic_action_back.png new file mode 100644 index 0000000..0516d08 Binary files /dev/null and b/nova668/src/main/res/drawable-xxhdpi/ic_action_back.png differ diff --git a/nova668/src/main/res/drawable/big_bg.xml b/nova668/src/main/res/drawable/big_bg.xml new file mode 100644 index 0000000..36aff9d --- /dev/null +++ b/nova668/src/main/res/drawable/big_bg.xml @@ -0,0 +1,8 @@ + + + + \ No newline at end of file diff --git a/nova668/src/main/res/drawable/ic_launcher_background.xml b/nova668/src/main/res/drawable/ic_launcher_background.xml new file mode 100644 index 0000000..07d5da9 --- /dev/null +++ b/nova668/src/main/res/drawable/ic_launcher_background.xml @@ -0,0 +1,170 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/nova668/src/main/res/drawable/input_bg.xml b/nova668/src/main/res/drawable/input_bg.xml new file mode 100644 index 0000000..4e895aa --- /dev/null +++ b/nova668/src/main/res/drawable/input_bg.xml @@ -0,0 +1,20 @@ + + + + + + + + + + + + + + + + + + diff --git a/nova668/src/main/res/drawable/pass_word_bg.xml b/nova668/src/main/res/drawable/pass_word_bg.xml new file mode 100644 index 0000000..2724e60 --- /dev/null +++ b/nova668/src/main/res/drawable/pass_word_bg.xml @@ -0,0 +1,28 @@ + + + + + + + + + + + + + + + + + + diff --git a/nova668/src/main/res/drawable/pass_word_bg1.xml b/nova668/src/main/res/drawable/pass_word_bg1.xml new file mode 100644 index 0000000..d10d780 --- /dev/null +++ b/nova668/src/main/res/drawable/pass_word_bg1.xml @@ -0,0 +1,23 @@ + + + + + + \ No newline at end of file diff --git a/nova668/src/main/res/drawable/pass_word_bg2.xml b/nova668/src/main/res/drawable/pass_word_bg2.xml new file mode 100644 index 0000000..916d99c --- /dev/null +++ b/nova668/src/main/res/drawable/pass_word_bg2.xml @@ -0,0 +1,23 @@ + + + + + + \ No newline at end of file diff --git a/nova668/src/main/res/drawable/shape_btn_bg.xml b/nova668/src/main/res/drawable/shape_btn_bg.xml new file mode 100644 index 0000000..af87a0d --- /dev/null +++ b/nova668/src/main/res/drawable/shape_btn_bg.xml @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/nova668/src/main/res/drawable/shape_dialog_bg2.xml b/nova668/src/main/res/drawable/shape_dialog_bg2.xml new file mode 100644 index 0000000..7837a42 --- /dev/null +++ b/nova668/src/main/res/drawable/shape_dialog_bg2.xml @@ -0,0 +1,6 @@ + + + + + \ No newline at end of file diff --git a/nova668/src/main/res/drawable/shape_dialog_bg3.xml b/nova668/src/main/res/drawable/shape_dialog_bg3.xml new file mode 100644 index 0000000..ca0a18d --- /dev/null +++ b/nova668/src/main/res/drawable/shape_dialog_bg3.xml @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/nova668/src/main/res/drawable/shape_dialog_bg_new.xml b/nova668/src/main/res/drawable/shape_dialog_bg_new.xml new file mode 100644 index 0000000..e96d4e0 --- /dev/null +++ b/nova668/src/main/res/drawable/shape_dialog_bg_new.xml @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/nova668/src/main/res/mipmap-anydpi-v26/ic_launcher.xml b/nova668/src/main/res/mipmap-anydpi-v26/ic_launcher.xml new file mode 100644 index 0000000..eca70cf --- /dev/null +++ b/nova668/src/main/res/mipmap-anydpi-v26/ic_launcher.xml @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/nova668/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml b/nova668/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml new file mode 100644 index 0000000..eca70cf --- /dev/null +++ b/nova668/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/nova668/src/main/res/mipmap-hdpi/ic_empty.png b/nova668/src/main/res/mipmap-hdpi/ic_empty.png new file mode 100644 index 0000000..72473d6 Binary files /dev/null and b/nova668/src/main/res/mipmap-hdpi/ic_empty.png differ diff --git a/nova668/src/main/res/mipmap-hdpi/ic_pull_down.png b/nova668/src/main/res/mipmap-hdpi/ic_pull_down.png new file mode 100644 index 0000000..7dc0ec3 Binary files /dev/null and b/nova668/src/main/res/mipmap-hdpi/ic_pull_down.png differ diff --git a/nova668/src/main/res/mipmap-xhdpi/ic_close.png b/nova668/src/main/res/mipmap-xhdpi/ic_close.png new file mode 100644 index 0000000..c0b0127 Binary files /dev/null and b/nova668/src/main/res/mipmap-xhdpi/ic_close.png differ diff --git a/nova668/src/main/res/mipmap-xhdpi/ic_menu.png b/nova668/src/main/res/mipmap-xhdpi/ic_menu.png new file mode 100644 index 0000000..2b55ec5 Binary files /dev/null and b/nova668/src/main/res/mipmap-xhdpi/ic_menu.png differ diff --git a/nova668/src/main/res/mipmap-xxhdpi/app_logo.jpg b/nova668/src/main/res/mipmap-xxhdpi/app_logo.jpg new file mode 100644 index 0000000..6fb39ab Binary files /dev/null and b/nova668/src/main/res/mipmap-xxhdpi/app_logo.jpg differ diff --git a/nova668/src/main/res/values-en/strings.xml b/nova668/src/main/res/values-en/strings.xml new file mode 100644 index 0000000..02d820d --- /dev/null +++ b/nova668/src/main/res/values-en/strings.xml @@ -0,0 +1,52 @@ + + nova668 + Please Set Your Password + Cancel + Sure + New Version Update + Next Update + Update Immediately + Click to close notification + Click to re-download + Download failed + Click to install + Download completed + Downloading... + Version update + Downloading game + Getting download data... + Version update + Downloading game + Need to turn on mobile phone notification permission + Exit + Setting + Tip + Please enter the invitation code + My invitation code: + Superior invitation code: + Total number of invites: + App download link: + Share + Check Invitation Records + Invitation Records + Total number of invitees: %d + No Data + Withdrawal Record + Withdrawal Application + Edit Bank Card Information + 60 + Name: + Please enter the bank card name + Bank card account: + Please enter the bank card account + Country: + Please select a country + Bank Name: + Please select a bank name + Note: Please enter the country code before selecting the bank name! + Balance: %s + Total Earnings: %s + Amount: %s + Please enter the withdrawal amount + Withdrawal application has been submitted + \ No newline at end of file diff --git a/nova668/src/main/res/values-night/themes.xml b/nova668/src/main/res/values-night/themes.xml new file mode 100644 index 0000000..3b0f1a2 --- /dev/null +++ b/nova668/src/main/res/values-night/themes.xml @@ -0,0 +1,70 @@ + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/nova668/src/main/res/values/colors.xml b/nova668/src/main/res/values/colors.xml new file mode 100644 index 0000000..7895913 --- /dev/null +++ b/nova668/src/main/res/values/colors.xml @@ -0,0 +1,18 @@ + + + #FFFFFF + #FFFFFF + #FFFFFF + #FF03DAC5 + #FF018786 + #FF000000 + #FFFFFFFF + #EF4723 + #FFFFFFFF + + #2C2C2E + #FFA722 + #434343 + #BCBCBC + + \ No newline at end of file diff --git a/nova668/src/main/res/values/strings.xml b/nova668/src/main/res/values/strings.xml new file mode 100644 index 0000000..83462b1 --- /dev/null +++ b/nova668/src/main/res/values/strings.xml @@ -0,0 +1,74 @@ + + nova668 + 请输入6位密码 + 取消 + 确定 + 版本更新 + 下次更新 + 立即更新 + 点击关闭通知 + 点击重新下载 + 下载失败 + 点击安装 + 下载完成 + 正在下载… + 版本更新 + 下载游戏中 + 版本更新 + 下载游戏中 + 正在获取下载数据… + 需要打开手机通知权限 + 退出 + 设置 + 提示 + 请输入邀请码 + 我的邀请码: + 上级邀请码: + 总邀请人数: + 邀请您下载: + 分享 + 查看邀请记录 + 邀请记录 + 总邀请人数: %d + 暂无数据 + 提现记录 + 提现申请 + 编辑银行卡信息 + 86 + 持卡人姓名: + 请输入持卡人姓名 + 国家地区: + 请选择国家地区 + 开户行名称: + 请选择开户行名称 + 银行户口: + 请输入银行卡户口 + (注:请先输入国家区号再选择开户行名称!) + 余额: %s + 总收益: %s + 金额: %s + 请输入提现金额 + 提现申请已提交 + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/nova668/src/main/res/values/themes.xml b/nova668/src/main/res/values/themes.xml new file mode 100644 index 0000000..e1c80ec --- /dev/null +++ b/nova668/src/main/res/values/themes.xml @@ -0,0 +1,90 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/nova668/src/main/res/xml/app_updater_paths.xml b/nova668/src/main/res/xml/app_updater_paths.xml new file mode 100644 index 0000000..1254450 --- /dev/null +++ b/nova668/src/main/res/xml/app_updater_paths.xml @@ -0,0 +1,10 @@ + + + + + + + + + + \ No newline at end of file diff --git a/nova668/src/main/res/xml/network_security_config.xml b/nova668/src/main/res/xml/network_security_config.xml new file mode 100644 index 0000000..dca93c0 --- /dev/null +++ b/nova668/src/main/res/xml/network_security_config.xml @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/nova668/src/main/res/xml/provider_paths.xml b/nova668/src/main/res/xml/provider_paths.xml new file mode 100644 index 0000000..c9a897a --- /dev/null +++ b/nova668/src/main/res/xml/provider_paths.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + \ No newline at end of file diff --git a/nova668/src/test/java/Tptogiar/calculcator/ExampleUnitTest.java b/nova668/src/test/java/Tptogiar/calculcator/ExampleUnitTest.java new file mode 100644 index 0000000..3259554 --- /dev/null +++ b/nova668/src/test/java/Tptogiar/calculcator/ExampleUnitTest.java @@ -0,0 +1,35 @@ +package Tptogiar.calculcator; + +import org.junit.Test; + +import java.util.regex.Matcher; +import java.util.regex.Pattern; + +import static org.junit.Assert.*; + +/** + * Example local unit test, which will execute on the development machine (host). + * + * @see Testing documentation + */ +public class ExampleUnitTest { + @Test + public void addition_isCorrect() { + assertEquals(4, 2 + 2); + } + + @Test + public void TestPattern(){ +// + Pattern compile = Pattern.compile( "^(\\-|\\+)?\\d+(\\.\\d+)?$"); + String a="+45.5"; + boolean matches = compile.matcher(a).matches(); + System.out.println(matches); + String result = compile.matcher(a).replaceAll(""); + System.out.println(result); + + + } + + +} \ No newline at end of file diff --git a/petronas777/build.gradle b/petronas777/build.gradle index 4ce790e..a7a5fca 100644 --- a/petronas777/build.gradle +++ b/petronas777/build.gradle @@ -17,12 +17,6 @@ android { testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } - buildTypes { - release { - minifyEnabled false - proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' - } - } signingConfigs { debug { storeFile file('petronas777.jks') @@ -38,6 +32,12 @@ android { } } + buildTypes { + release { + minifyEnabled false + proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' + } + } compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 diff --git a/play33new/build.gradle b/play33new/build.gradle index 32affb9..8e18331 100644 --- a/play33new/build.gradle +++ b/play33new/build.gradle @@ -11,19 +11,13 @@ android { applicationId "com.web.play33" minSdkVersion 24 targetSdkVersion 31 - versionCode 107 - versionName "v1.0.7" + versionCode 108 + versionName "v1.0.8" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } - buildTypes { - release { - minifyEnabled false - proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' - } - } signingConfigs { debug { storeFile file('Oyen333.jks') @@ -39,6 +33,12 @@ android { } } + buildTypes { + release { + minifyEnabled false + proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' + } + } compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 diff --git a/play33new/src/main/res/mipmap-xxhdpi/app_logo.jpg b/play33new/src/main/res/mipmap-xxhdpi/app_logo.jpg new file mode 100644 index 0000000..1bc21f2 Binary files /dev/null and b/play33new/src/main/res/mipmap-xxhdpi/app_logo.jpg differ diff --git a/play33new/src/main/res/mipmap-xxhdpi/app_logo.png b/play33new/src/main/res/mipmap-xxhdpi/app_logo.png deleted file mode 100644 index b2e2880..0000000 Binary files a/play33new/src/main/res/mipmap-xxhdpi/app_logo.png and /dev/null differ diff --git a/play88aus/build.gradle b/play88aus/build.gradle index 0ea475d..bfcd042 100644 --- a/play88aus/build.gradle +++ b/play88aus/build.gradle @@ -17,12 +17,6 @@ android { testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } - buildTypes { - release { - minifyEnabled false - proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' - } - } signingConfigs { debug { storeFile file('play88.jks') @@ -38,6 +32,12 @@ android { } } + buildTypes { + release { + minifyEnabled false + proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' + } + } compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 diff --git a/pms99/build.gradle b/pms99/build.gradle index c12b211..d30b45d 100644 --- a/pms99/build.gradle +++ b/pms99/build.gradle @@ -17,12 +17,6 @@ android { testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } - buildTypes { - release { - minifyEnabled false - proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' - } - } signingConfigs { debug { storeFile file('pms99.jks') @@ -38,6 +32,12 @@ android { } } + buildTypes { + release { + minifyEnabled false + proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' + } + } compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 diff --git a/ppn88/build.gradle b/ppn88/build.gradle index 4f1fea2..5618ad2 100644 --- a/ppn88/build.gradle +++ b/ppn88/build.gradle @@ -16,12 +16,6 @@ android { testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } - buildTypes { - release { - minifyEnabled false - proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' - } - } signingConfigs { debug { storeFile file('ppn.jks') @@ -37,6 +31,12 @@ android { } } + buildTypes { + release { + minifyEnabled false + proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' + } + } compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 diff --git a/rezeki44/libs/tbs_sdk_thirdapp_v4.3.0.386_44286_20230210.jar b/rezeki44/libs/tbs_sdk_thirdapp_v4.3.0.386_44286_20230210.jar deleted file mode 100644 index 465ea1b..0000000 Binary files a/rezeki44/libs/tbs_sdk_thirdapp_v4.3.0.386_44286_20230210.jar and /dev/null differ diff --git a/rezeki44/src/main/java/com/web/rezeki44/MainActivity2.java b/rezeki44/src/main/java/com/web/rezeki44/MainActivity2.java index d30e1a7..2d76d67 100644 --- a/rezeki44/src/main/java/com/web/rezeki44/MainActivity2.java +++ b/rezeki44/src/main/java/com/web/rezeki44/MainActivity2.java @@ -45,10 +45,7 @@ public class MainActivity2 extends com.web.base.MainActivity2 { try { PackageManager packageManager = getPackageManager(); PackageInfo packageInfo = packageManager.getPackageInfo(getPackageName(), 0); - String StringversionName = packageInfo.versionName; // 版本号 int versionCode = packageInfo.versionCode; // 版本码 - // 在这里可以使用versionName和versionCode进行相关的操作 -// Log.d("VersionInfo", "VersionName: " + versionName + ", VersionCode: " + versionCode); return versionCode; } catch (PackageManager.NameNotFoundException e) { return 0; diff --git a/settings.gradle b/settings.gradle index 20735fa..d099552 100644 --- a/settings.gradle +++ b/settings.gradle @@ -41,4 +41,6 @@ include ':nak99' include ':mk99pgk' include ':ppn88' include ':we1win' -include ':rezeki44' \ No newline at end of file +include ':rezeki44' +include ':nova668' +include ':bk888' \ No newline at end of file diff --git a/shell777/build.gradle b/shell777/build.gradle index 7878c8e..28cbc2d 100644 --- a/shell777/build.gradle +++ b/shell777/build.gradle @@ -17,12 +17,7 @@ android { testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } - buildTypes { - release { - minifyEnabled false - proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' - } - } + signingConfigs { debug { storeFile file('shell777.jks') @@ -37,7 +32,12 @@ android { keyPassword "android2014" } } - + buildTypes { + release { + minifyEnabled false + proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' + } + } compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 diff --git a/speednp/build.gradle b/speednp/build.gradle index f012aa6..4355f1e 100644 --- a/speednp/build.gradle +++ b/speednp/build.gradle @@ -18,12 +18,6 @@ android { testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } - buildTypes { - release { - minifyEnabled false - proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' - } - } signingConfigs { debug { storeFile file('Oyen333.jks') @@ -39,6 +33,12 @@ android { } } + buildTypes { + release { + minifyEnabled false + proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' + } + } compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 diff --git a/spinsini/build.gradle b/spinsini/build.gradle index bf9caee..85b2ac7 100644 --- a/spinsini/build.gradle +++ b/spinsini/build.gradle @@ -16,12 +16,6 @@ android { testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } - buildTypes { - release { - minifyEnabled false - proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' - } - } signingConfigs { debug { storeFile file('dskjweb.jks') @@ -37,6 +31,12 @@ android { } } + buildTypes { + release { + minifyEnabled false + proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' + } + } compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 diff --git a/telur33/build.gradle b/telur33/build.gradle index e054c63..92ec899 100644 --- a/telur33/build.gradle +++ b/telur33/build.gradle @@ -17,12 +17,6 @@ android { testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } - buildTypes { - release { - minifyEnabled false - proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' - } - } signingConfigs { debug { storeFile file('telur33.jks') @@ -38,6 +32,12 @@ android { } } + buildTypes { + release { + minifyEnabled false + proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' + } + } compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 diff --git a/telur33/release/output-metadata.json b/telur33/release/output-metadata.json deleted file mode 100644 index 891a001..0000000 --- a/telur33/release/output-metadata.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "version": 2, - "artifactType": { - "type": "APK", - "kind": "Directory" - }, - "applicationId": "com.web.telur33", - "variantName": "processReleaseResources", - "elements": [ - { - "type": "SINGLE", - "filters": [], - "versionCode": 107, - "versionName": "v1.0.7", - "outputFile": "telur33-release.apk" - } - ] -} \ No newline at end of file diff --git a/toto88new/build.gradle b/toto88new/build.gradle index b5516ce..9729f1d 100644 --- a/toto88new/build.gradle +++ b/toto88new/build.gradle @@ -18,12 +18,6 @@ android { testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } - buildTypes { - release { - minifyEnabled false - proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' - } - } signingConfigs { debug { storeFile file('toto.jks') @@ -39,6 +33,12 @@ android { } } + buildTypes { + release { + minifyEnabled false + proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' + } + } compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 diff --git a/ttslot888new/build.gradle b/ttslot888new/build.gradle index 57a4acf..beeb139 100644 --- a/ttslot888new/build.gradle +++ b/ttslot888new/build.gradle @@ -19,12 +19,6 @@ android { testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } - buildTypes { - release { - minifyEnabled false - proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' - } - } signingConfigs { debug { storeFile file('ttslotweb.jks') @@ -40,6 +34,12 @@ android { } } + buildTypes { + release { + minifyEnabled false + proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' + } + } compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 diff --git a/u88/build.gradle b/u88/build.gradle index 5f7bee5..d95ec34 100644 --- a/u88/build.gradle +++ b/u88/build.gradle @@ -18,12 +18,7 @@ android { testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } - buildTypes { - release { - minifyEnabled false - proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' - } - } + signingConfigs { debug { storeFile file('u88.jks') @@ -38,7 +33,12 @@ android { keyPassword "android2014" } } - + buildTypes { + release { + minifyEnabled false + proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' + } + } compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 diff --git a/uwin33/build.gradle b/uwin33/build.gradle index b95a706..2c11eaa 100644 --- a/uwin33/build.gradle +++ b/uwin33/build.gradle @@ -17,12 +17,6 @@ android { testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } - buildTypes { - release { - minifyEnabled false - proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' - } - } signingConfigs { // debug { // storeFile file('dskjweb.jks') @@ -51,6 +45,12 @@ android { } } + buildTypes { + release { + minifyEnabled false + proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' + } + } compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 diff --git a/vv88/build.gradle b/vv88/build.gradle index b33e0c0..117cd5a 100644 --- a/vv88/build.gradle +++ b/vv88/build.gradle @@ -18,12 +18,6 @@ android { testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } - buildTypes { - release { - minifyEnabled false - proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' - } - } signingConfigs { // debug { // storeFile file('vv88aud.jks') @@ -51,6 +45,12 @@ android { } } + buildTypes { + release { + minifyEnabled false + proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' + } + } compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 diff --git a/we1win/libs/tbs_sdk_thirdapp_v4.3.0.386_44286_20230210.jar b/we1win/libs/tbs_sdk_thirdapp_v4.3.0.386_44286_20230210.jar deleted file mode 100644 index 465ea1b..0000000 Binary files a/we1win/libs/tbs_sdk_thirdapp_v4.3.0.386_44286_20230210.jar and /dev/null differ diff --git a/we1win/src/main/java/com/web/we1win/MainActivity2.java b/we1win/src/main/java/com/web/we1win/MainActivity2.java index dc9ac4a..1b17dea 100644 --- a/we1win/src/main/java/com/web/we1win/MainActivity2.java +++ b/we1win/src/main/java/com/web/we1win/MainActivity2.java @@ -45,10 +45,7 @@ public class MainActivity2 extends com.web.base.MainActivity2 { try { PackageManager packageManager = getPackageManager(); PackageInfo packageInfo = packageManager.getPackageInfo(getPackageName(), 0); - String StringversionName = packageInfo.versionName; // 版本号 int versionCode = packageInfo.versionCode; // 版本码 - // 在这里可以使用versionName和versionCode进行相关的操作 -// Log.d("VersionInfo", "VersionName: " + versionName + ", VersionCode: " + versionCode); return versionCode; } catch (PackageManager.NameNotFoundException e) { return 0;