diff --git a/.idea/deploymentTargetSelector.xml b/.idea/deploymentTargetSelector.xml
index 79580ea..227f83f 100644
--- a/.idea/deploymentTargetSelector.xml
+++ b/.idea/deploymentTargetSelector.xml
@@ -172,6 +172,30 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/gradle.xml b/.idea/gradle.xml
index d6e4c49..aedb45c 100644
--- a/.idea/gradle.xml
+++ b/.idea/gradle.xml
@@ -11,6 +11,7 @@
+
@@ -23,6 +24,7 @@
+
@@ -30,12 +32,14 @@
+
+
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
index 94a25f7..35eb1dd 100644
--- a/.idea/vcs.xml
+++ b/.idea/vcs.xml
@@ -1,6 +1,6 @@
-
+
\ No newline at end of file
diff --git a/.vscode/settings.json b/.vscode/settings.json
new file mode 100644
index 0000000..c5f3f6b
--- /dev/null
+++ b/.vscode/settings.json
@@ -0,0 +1,3 @@
+{
+ "java.configuration.updateBuildConfiguration": "interactive"
+}
\ No newline at end of file
diff --git a/petronas777/.gitignore b/1xace/.gitignore
similarity index 100%
rename from petronas777/.gitignore
rename to 1xace/.gitignore
diff --git a/1xace/build.gradle b/1xace/build.gradle
new file mode 100644
index 0000000..6f50c42
--- /dev/null
+++ b/1xace/build.gradle
@@ -0,0 +1,93 @@
+plugins {
+ id 'com.android.application'
+ id 'com.google.gms.google-services'
+}
+
+def appOutPutName = "XMETH98"
+
+android {
+ namespace rootProject.ext.namespace
+ compileSdk 36
+ defaultConfig {
+ minSdkVersion 24
+ targetSdk 36
+ versionCode rootProject.ext.versionCode
+ versionName rootProject.ext.versionName
+ testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
+
+ applicationId "com.xyz.xbox98"
+
+ //app大背景色
+ resValue('color', 'windows_color', '#1A1A1A')
+ //底部导航栏颜色 大背景颜色为 windows_color——style_color的上下渐变色
+ resValue('color', 'style_color', '#1A1A1A')
+ //app 名字
+ resValue('string', 'app_name', 'XMETH98')
+
+
+ buildConfigField "String", "BASE_URL", "\"https://live22x.com/\""
+ buildConfigField "int", "USERID", "247"
+ buildConfigField "boolean", "IS_WHITE", "false"
+ buildConfigField "boolean", "IS_ROUND", "true"
+ buildConfigField "int", "ROUND_RADIUS", "10"
+ buildConfigField "boolean", "HAS_CONTACT", "false"
+ buildConfigField "boolean", "HAS_HOOK", "false"
+
+ }
+ buildFeatures {
+ buildConfig = true
+ }
+
+ signingConfigs {
+ debug {
+ storeFile file('telur33.jks')
+ storePassword "android2014"
+ keyAlias 'key0'
+ keyPassword "android2014"
+ }
+ release {
+ storeFile file('telur33.jks')
+ storePassword "android2014"
+ keyAlias 'key0'
+ keyPassword "android2014"
+ }
+ }
+
+ buildTypes {
+ release {
+ signingConfig signingConfigs.release
+ minifyEnabled false
+ proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
+ }
+ }
+ compileOptions {
+ sourceCompatibility rootProject.ext.JAVA_VERSION
+ targetCompatibility rootProject.ext.JAVA_VERSION
+ }
+
+ applicationVariants.all { variant ->
+ variant.outputs.all {
+ def outputDir = new File(rootProject.ext.outputPath)
+ outputDir.mkdirs()
+ def outputFileName = "${appOutPutName}.apk"
+ setOutputFileName(outputFileName)
+ def newOutputFile = new File(outputDir, outputFileName)
+ newOutputFile.parentFile.mkdirs()
+ variant.assemble.doLast {
+ try {
+ java.nio.file.Files.copy(
+ outputFile.toPath(),
+ newOutputFile.toPath(),
+ java.nio.file.StandardCopyOption.REPLACE_EXISTING
+ )
+ } catch (java.io.IOException e) {
+ }
+ }
+ }
+ }
+
+}
+
+dependencies {
+ implementation project(path: ':base')
+}
\ No newline at end of file
diff --git a/petron777/google-services.json b/1xace/google-services.json
similarity index 52%
rename from petron777/google-services.json
rename to 1xace/google-services.json
index d7146ec..ad66664 100644
--- a/petron777/google-services.json
+++ b/1xace/google-services.json
@@ -1,21 +1,21 @@
{
"project_info": {
- "project_number": "58444174936",
- "project_id": "petron777-7720f",
- "storage_bucket": "petron777-7720f.firebasestorage.app"
+ "project_number": "89100355466",
+ "project_id": "xbox98-331d1",
+ "storage_bucket": "xbox98-331d1.firebasestorage.app"
},
"client": [
{
"client_info": {
- "mobilesdk_app_id": "1:58444174936:android:cbed18389c63a6b1c8dc2d",
+ "mobilesdk_app_id": "1:89100355466:android:fa2bc56af31c610c9daa73",
"android_client_info": {
- "package_name": "com.web.petron777"
+ "package_name": "com.xyz.xbox98"
}
},
"oauth_client": [],
"api_key": [
{
- "current_key": "AIzaSyBwhI_8NkjpJWrvnuETE-HhKnuh1Rv2qKc"
+ "current_key": "AIzaSyAP9sTgxquQBJ8D48yN_GVe2SKzOYykY7E"
}
],
"services": {
diff --git a/petronas777/justlet.jks b/1xace/justlet.jks
similarity index 100%
rename from petronas777/justlet.jks
rename to 1xace/justlet.jks
diff --git a/petronas777/proguard-rules.pro b/1xace/proguard-rules.pro
similarity index 100%
rename from petronas777/proguard-rules.pro
rename to 1xace/proguard-rules.pro
diff --git a/petronas777/src/main/AndroidManifest.xml b/1xace/src/main/AndroidManifest.xml
similarity index 100%
rename from petronas777/src/main/AndroidManifest.xml
rename to 1xace/src/main/AndroidManifest.xml
diff --git a/petronas777/src/main/java/com/webclip/base/IndexActivity.java b/1xace/src/main/java/com/webclip/base/IndexActivity.java
similarity index 100%
rename from petronas777/src/main/java/com/webclip/base/IndexActivity.java
rename to 1xace/src/main/java/com/webclip/base/IndexActivity.java
diff --git a/petronas777/src/main/java/com/webclip/base/MyFirebaseMessageingService.java b/1xace/src/main/java/com/webclip/base/MyFirebaseMessageingService.java
similarity index 100%
rename from petronas777/src/main/java/com/webclip/base/MyFirebaseMessageingService.java
rename to 1xace/src/main/java/com/webclip/base/MyFirebaseMessageingService.java
diff --git a/petronas777/src/main/java/com/webclip/base/WebApplication.java b/1xace/src/main/java/com/webclip/base/WebApplication.java
similarity index 100%
rename from petronas777/src/main/java/com/webclip/base/WebApplication.java
rename to 1xace/src/main/java/com/webclip/base/WebApplication.java
diff --git a/petronas777/src/main/res/drawable/big_bg.xml b/1xace/src/main/res/drawable/big_bg.xml
similarity index 100%
rename from petronas777/src/main/res/drawable/big_bg.xml
rename to 1xace/src/main/res/drawable/big_bg.xml
diff --git a/1xace/src/main/res/mipmap-xxhdpi/app_logo.png b/1xace/src/main/res/mipmap-xxhdpi/app_logo.png
new file mode 100644
index 0000000..e849f0e
Binary files /dev/null and b/1xace/src/main/res/mipmap-xxhdpi/app_logo.png differ
diff --git a/petronas777/src/main/res/values/themes.xml b/1xace/src/main/res/values/themes.xml
similarity index 100%
rename from petronas777/src/main/res/values/themes.xml
rename to 1xace/src/main/res/values/themes.xml
diff --git a/petronas777/src/main/res/xml/app_updater_paths.xml b/1xace/src/main/res/xml/app_updater_paths.xml
similarity index 100%
rename from petronas777/src/main/res/xml/app_updater_paths.xml
rename to 1xace/src/main/res/xml/app_updater_paths.xml
diff --git a/petronas777/src/main/res/xml/network_security_config.xml b/1xace/src/main/res/xml/network_security_config.xml
similarity index 100%
rename from petronas777/src/main/res/xml/network_security_config.xml
rename to 1xace/src/main/res/xml/network_security_config.xml
diff --git a/petronas777/src/main/res/xml/provider_paths.xml b/1xace/src/main/res/xml/provider_paths.xml
similarity index 100%
rename from petronas777/src/main/res/xml/provider_paths.xml
rename to 1xace/src/main/res/xml/provider_paths.xml
diff --git a/petronas777/telur33.jks b/1xace/telur33.jks
similarity index 100%
rename from petronas777/telur33.jks
rename to 1xace/telur33.jks
diff --git a/1xme8/.gitignore b/1xme8/.gitignore
new file mode 100644
index 0000000..956c004
--- /dev/null
+++ b/1xme8/.gitignore
@@ -0,0 +1,2 @@
+/build
+/release
\ No newline at end of file
diff --git a/petronas777/build.gradle b/1xme8/build.gradle
similarity index 100%
rename from petronas777/build.gradle
rename to 1xme8/build.gradle
diff --git a/petronas777/google-services.json b/1xme8/google-services.json
similarity index 100%
rename from petronas777/google-services.json
rename to 1xme8/google-services.json
diff --git a/1xme8/justlet.jks b/1xme8/justlet.jks
new file mode 100644
index 0000000..a33b839
Binary files /dev/null and b/1xme8/justlet.jks differ
diff --git a/1xme8/proguard-rules.pro b/1xme8/proguard-rules.pro
new file mode 100644
index 0000000..107b7ee
--- /dev/null
+++ b/1xme8/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/1xme8/src/main/AndroidManifest.xml b/1xme8/src/main/AndroidManifest.xml
new file mode 100644
index 0000000..7cbc0e0
--- /dev/null
+++ b/1xme8/src/main/AndroidManifest.xml
@@ -0,0 +1,67 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1xme8/src/main/java/com/webclip/base/IndexActivity.java b/1xme8/src/main/java/com/webclip/base/IndexActivity.java
new file mode 100644
index 0000000..c8e4780
--- /dev/null
+++ b/1xme8/src/main/java/com/webclip/base/IndexActivity.java
@@ -0,0 +1,79 @@
+package com.webclip.base;
+
+import android.os.Bundle;
+
+import com.google.firebase.messaging.FirebaseMessaging;
+
+public class IndexActivity extends MainActivity {
+
+ @Override
+ protected void onCreate(Bundle savedInstanceState) {
+ initConfig();
+ super.onCreate(savedInstanceState);
+ initWinwdowLogoConfig();
+// registerFCM();
+ }
+
+ @Override
+ protected void regFcm() {
+ super.regFcm();
+ registerFCM();
+ }
+
+ /**
+ * 注册FCM
+ */
+ private void registerFCM() {
+ //订阅主题
+ LogUtils.i("支持FCM 去注册");
+ try {
+ FirebaseMessaging.getInstance().subscribeToTopic("demo")
+ .addOnCompleteListener(task -> {
+ String msg = "Subscribed";
+ if (!task.isSuccessful()) {
+ msg = "Subscribe failed";
+ }else{
+ checkNotify();
+ }
+ LogUtils.i("支持FCM 结果:"+msg);
+ });
+ }catch (Exception e){
+ e.printStackTrace();
+ LogUtils.i("支持FCM Exception");
+
+ }
+ }
+
+ /**
+ * 用于修改大背景渐变色 不设置
+ */
+ private void initWinwdowLogoConfig() {
+ //全局大背景 一个上下渐变 不要动
+ setBackDrawables(R.drawable.big_bg);
+ setImageView(BuildConfig.IS_ROUND,BuildConfig.ROUND_RADIUS);
+ getWindow().getDecorView().setBackgroundResource(R.drawable.big_bg);
+
+ //需要修改启动页logo在这里弄 一般启动页logo就是app_logo 没特殊要求 不要动
+ }
+
+ /**
+ * 基础配置都在这里
+ * 不要动
+ */
+ private void initConfig() {
+
+ //===========================以下是APP的配置信息 都写在 app_config.xml中==================================
+ userId = BuildConfig.USERID;
+ saveInt(IndexActivity.this,"user_code",userId);
+
+ saveString(this, "base_url",BuildConfig.BASE_URL);
+ styleColor = getColor(R.color.style_color);
+ windowsColor = getColor(R.color.windows_color);
+ isWhite = BuildConfig.IS_WHITE;
+ hasContact = BuildConfig.HAS_CONTACT;
+ hasHook = BuildConfig.HAS_HOOK;
+
+ //===========================以上是APP的配置信息 都写在 app_config.xml中==================================
+ }
+
+}
diff --git a/1xme8/src/main/java/com/webclip/base/MyFirebaseMessageingService.java b/1xme8/src/main/java/com/webclip/base/MyFirebaseMessageingService.java
new file mode 100644
index 0000000..36f2d65
--- /dev/null
+++ b/1xme8/src/main/java/com/webclip/base/MyFirebaseMessageingService.java
@@ -0,0 +1,125 @@
+package com.webclip.base;
+
+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.webclip.base.GsonUtils;
+import com.webclip.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);
+ } else {
+ //收到通知 创建notify
+ if (remoteMessage.getNotification() != null) {
+ showNotification(remoteMessage.getNotification().getTitle(), remoteMessage.getNotification().getBody());
+ }
+ }
+ }
+
+ private void showNotification(MessageInfo messageInfo) {
+ Intent notifyIntent = new Intent(this, IndexActivity.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);
+ 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(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(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, IndexActivity.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(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(R.string.app_name))
+ .setSmallIcon(R.mipmap.app_logo)
+ .setContentTitle(title)
+ .setContentText(body)
+ .setAutoCancel(true)
+ .setContentIntent(pendingIntent);
+ }
+ notificationManager.notify(0, notificationBuilder.build());
+ }
+}
diff --git a/1xme8/src/main/java/com/webclip/base/WebApplication.java b/1xme8/src/main/java/com/webclip/base/WebApplication.java
new file mode 100644
index 0000000..36e2512
--- /dev/null
+++ b/1xme8/src/main/java/com/webclip/base/WebApplication.java
@@ -0,0 +1,19 @@
+package com.webclip.base;
+
+import android.app.Application;
+import android.content.Context;
+
+import com.webclip.base.LogUtils;
+
+public class WebApplication extends Application {
+
+
+ public static Context application;
+ @Override
+ public void onCreate() {
+ super.onCreate();
+// 设置开启优化方案
+ application = this;
+ LogUtils.isDebug = BuildConfig.BUILD_TYPE.equals("debug");
+ }
+}
diff --git a/1xme8/src/main/res/drawable/big_bg.xml b/1xme8/src/main/res/drawable/big_bg.xml
new file mode 100644
index 0000000..aa44959
--- /dev/null
+++ b/1xme8/src/main/res/drawable/big_bg.xml
@@ -0,0 +1,9 @@
+
+
+
+
\ No newline at end of file
diff --git a/1xme8/src/main/res/mipmap-xxhdpi/app_logo.png b/1xme8/src/main/res/mipmap-xxhdpi/app_logo.png
new file mode 100644
index 0000000..22702af
Binary files /dev/null and b/1xme8/src/main/res/mipmap-xxhdpi/app_logo.png differ
diff --git a/1xme8/src/main/res/values/themes.xml b/1xme8/src/main/res/values/themes.xml
new file mode 100644
index 0000000..f1ef249
--- /dev/null
+++ b/1xme8/src/main/res/values/themes.xml
@@ -0,0 +1,91 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1xme8/src/main/res/xml/app_updater_paths.xml b/1xme8/src/main/res/xml/app_updater_paths.xml
new file mode 100644
index 0000000..1254450
--- /dev/null
+++ b/1xme8/src/main/res/xml/app_updater_paths.xml
@@ -0,0 +1,10 @@
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1xme8/src/main/res/xml/network_security_config.xml b/1xme8/src/main/res/xml/network_security_config.xml
new file mode 100644
index 0000000..dca93c0
--- /dev/null
+++ b/1xme8/src/main/res/xml/network_security_config.xml
@@ -0,0 +1,4 @@
+
+
+
+
\ No newline at end of file
diff --git a/1xme8/src/main/res/xml/provider_paths.xml b/1xme8/src/main/res/xml/provider_paths.xml
new file mode 100644
index 0000000..c9a897a
--- /dev/null
+++ b/1xme8/src/main/res/xml/provider_paths.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1xme8/telur33.jks b/1xme8/telur33.jks
new file mode 100644
index 0000000..f00434d
Binary files /dev/null and b/1xme8/telur33.jks differ
diff --git a/1xsands/build.gradle b/1xsands/build.gradle
index a6fac9a..e587493 100644
--- a/1xsands/build.gradle
+++ b/1xsands/build.gradle
@@ -3,7 +3,7 @@ plugins {
id 'com.google.gms.google-services'
}
-def appOutPutName = "1xsgdsdgsdlgfsdgdflgdfh"
+def appOutPutName = "1xsands"
android {
namespace rootProject.ext.namespace
@@ -11,31 +11,26 @@ android {
defaultConfig {
minSdkVersion 24
targetSdk 36
- versionCode 141
- versionName "v1.4.1"
+ versionCode rootProject.ext.versionCode
+ versionName rootProject.ext.versionName
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
- //包名
- applicationId "com.xyz.xsgd1"
+ applicationId "com.sdhuaidgai.xsands"
+
//app大背景色
- resValue('color', 'windows_color', '#400e15')
+ resValue('color', 'windows_color', '#1A1A1A')
//底部导航栏颜色 大背景颜色为 windows_color——style_color的上下渐变色
- resValue('color', 'style_color', '#121212')
+ resValue('color', 'style_color', '#1A1A1A')
//app 名字
- resValue('string', 'app_name', '1XSGD')
- //预埋订阅网址
- buildConfigField "String", "BASE_URL", "\"https://1xsgd.org/\""
- //后台唯一ID
- buildConfigField "int", "USERID", "255"
- //状态栏文字颜色是否为白色
- buildConfigField "boolean", "IS_WHITE", "true"
- //是否强转启动图为圆形
- buildConfigField "boolean", "IS_ROUND", "false"
- //IS_ROUND 为 true时 圆角启动logo的 圆角大小 为0 表示为圆形 否则为ROUND_RADIUS的 dp2px的 数字大小
- buildConfigField "int", "ROUND_RADIUS", "0"
- //已废弃
+ resValue('string', 'app_name', '1xsands')
+
+
+ buildConfigField "String", "BASE_URL", "\"https://live22x.com/\""
+ buildConfigField "int", "USERID", "268"
+ buildConfigField "boolean", "IS_WHITE", "false"
+ buildConfigField "boolean", "IS_ROUND", "true"
+ buildConfigField "int", "ROUND_RADIUS", "10"
buildConfigField "boolean", "HAS_CONTACT", "false"
- //已废弃
buildConfigField "boolean", "HAS_HOOK", "false"
}
@@ -45,16 +40,16 @@ android {
signingConfigs {
debug {
- storeFile file('justlet.jks')
- storePassword "123456"
+ storeFile file('telur33.jks')
+ storePassword "android2014"
keyAlias 'key0'
- keyPassword "123456"
+ keyPassword "android2014"
}
release {
- storeFile file('justlet.jks')
- storePassword "123456"
+ storeFile file('telur33.jks')
+ storePassword "android2014"
keyAlias 'key0'
- keyPassword "123456"
+ keyPassword "android2014"
}
}
diff --git a/1xsands/google-services.json b/1xsands/google-services.json
index cf7594f..09d40c2 100644
--- a/1xsands/google-services.json
+++ b/1xsands/google-services.json
@@ -1,21 +1,21 @@
{
"project_info": {
- "project_number": "905177738214",
- "project_id": "xsgd-b0ad7",
- "storage_bucket": "xsgd-b0ad7.firebasestorage.app"
+ "project_number": "871960963163",
+ "project_id": "xsands-9e7b5",
+ "storage_bucket": "xsands-9e7b5.firebasestorage.app"
},
"client": [
{
"client_info": {
- "mobilesdk_app_id": "1:905177738214:android:c3252140ede0027bf70427",
+ "mobilesdk_app_id": "1:871960963163:android:042d9c283a461f16d9b77e",
"android_client_info": {
- "package_name": "com.xyz.xsgd1"
+ "package_name": "com.sdhuaidgai.xsands"
}
},
"oauth_client": [],
"api_key": [
{
- "current_key": "AIzaSyDdzd2lTSj86yRmSfW2l0c7Ud5cJpk9BXg"
+ "current_key": "AIzaSyANloNVI2ExaUKeYXeGmetCI35w7-6CdzE"
}
],
"services": {
diff --git a/1xsands/src/main/AndroidManifest.xml b/1xsands/src/main/AndroidManifest.xml
index f129a21..7cbc0e0 100644
--- a/1xsands/src/main/AndroidManifest.xml
+++ b/1xsands/src/main/AndroidManifest.xml
@@ -1,11 +1,14 @@
+
+
+
@@ -18,7 +21,7 @@
android:networkSecurityConfig="@xml/network_security_config"
android:roundIcon="@mipmap/app_logo"
android:supportsRtl="true"
- android:theme="@style/AppThemeStart"
+ android:theme="@style/Theme.AppTheme"
android:usesCleartextTraffic="true">
@@ -26,7 +29,8 @@
android:name=".IndexActivity"
android:configChanges="orientation|keyboardHidden|screenSize"
android:exported="true"
- android:hardwareAccelerated="true">
+ android:hardwareAccelerated="true"
+ android:theme="@style/AppThemeStart">
diff --git a/1xsands/src/main/java/com/webclip/base/IndexActivity.java b/1xsands/src/main/java/com/webclip/base/IndexActivity.java
index 50f5597..c8e4780 100644
--- a/1xsands/src/main/java/com/webclip/base/IndexActivity.java
+++ b/1xsands/src/main/java/com/webclip/base/IndexActivity.java
@@ -52,7 +52,7 @@ public class IndexActivity extends MainActivity {
setBackDrawables(R.drawable.big_bg);
setImageView(BuildConfig.IS_ROUND,BuildConfig.ROUND_RADIUS);
getWindow().getDecorView().setBackgroundResource(R.drawable.big_bg);
- activityMain2Binding.showTopV1.setImageResource(R.mipmap.start_logo);
+
//需要修改启动页logo在这里弄 一般启动页logo就是app_logo 没特殊要求 不要动
}
@@ -76,5 +76,4 @@ public class IndexActivity extends MainActivity {
//===========================以上是APP的配置信息 都写在 app_config.xml中==================================
}
-
}
diff --git a/1xsands/src/main/res/drawable/big_bg.xml b/1xsands/src/main/res/drawable/big_bg.xml
index b058f1e..aa44959 100644
--- a/1xsands/src/main/res/drawable/big_bg.xml
+++ b/1xsands/src/main/res/drawable/big_bg.xml
@@ -5,6 +5,5 @@
android:angle="270"
android:startColor="@color/windows_color"
android:centerColor="@color/windows_color"
-
android:endColor="@color/style_color"/>
\ No newline at end of file
diff --git a/1xsands/src/main/res/mipmap-xxhdpi/start_logo.jpg b/1xsands/src/main/res/mipmap-xxhdpi/start_logo.jpg
deleted file mode 100644
index f2c2ff3..0000000
Binary files a/1xsands/src/main/res/mipmap-xxhdpi/start_logo.jpg and /dev/null differ
diff --git a/1xsands/telur33.jks b/1xsands/telur33.jks
new file mode 100644
index 0000000..f00434d
Binary files /dev/null and b/1xsands/telur33.jks differ
diff --git a/420pokies/.gitignore b/420pokies/.gitignore
new file mode 100644
index 0000000..956c004
--- /dev/null
+++ b/420pokies/.gitignore
@@ -0,0 +1,2 @@
+/build
+/release
\ No newline at end of file
diff --git a/420pokies/build.gradle b/420pokies/build.gradle
new file mode 100644
index 0000000..6f50c42
--- /dev/null
+++ b/420pokies/build.gradle
@@ -0,0 +1,93 @@
+plugins {
+ id 'com.android.application'
+ id 'com.google.gms.google-services'
+}
+
+def appOutPutName = "XMETH98"
+
+android {
+ namespace rootProject.ext.namespace
+ compileSdk 36
+ defaultConfig {
+ minSdkVersion 24
+ targetSdk 36
+ versionCode rootProject.ext.versionCode
+ versionName rootProject.ext.versionName
+ testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
+
+ applicationId "com.xyz.xbox98"
+
+ //app大背景色
+ resValue('color', 'windows_color', '#1A1A1A')
+ //底部导航栏颜色 大背景颜色为 windows_color——style_color的上下渐变色
+ resValue('color', 'style_color', '#1A1A1A')
+ //app 名字
+ resValue('string', 'app_name', 'XMETH98')
+
+
+ buildConfigField "String", "BASE_URL", "\"https://live22x.com/\""
+ buildConfigField "int", "USERID", "247"
+ buildConfigField "boolean", "IS_WHITE", "false"
+ buildConfigField "boolean", "IS_ROUND", "true"
+ buildConfigField "int", "ROUND_RADIUS", "10"
+ buildConfigField "boolean", "HAS_CONTACT", "false"
+ buildConfigField "boolean", "HAS_HOOK", "false"
+
+ }
+ buildFeatures {
+ buildConfig = true
+ }
+
+ signingConfigs {
+ debug {
+ storeFile file('telur33.jks')
+ storePassword "android2014"
+ keyAlias 'key0'
+ keyPassword "android2014"
+ }
+ release {
+ storeFile file('telur33.jks')
+ storePassword "android2014"
+ keyAlias 'key0'
+ keyPassword "android2014"
+ }
+ }
+
+ buildTypes {
+ release {
+ signingConfig signingConfigs.release
+ minifyEnabled false
+ proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
+ }
+ }
+ compileOptions {
+ sourceCompatibility rootProject.ext.JAVA_VERSION
+ targetCompatibility rootProject.ext.JAVA_VERSION
+ }
+
+ applicationVariants.all { variant ->
+ variant.outputs.all {
+ def outputDir = new File(rootProject.ext.outputPath)
+ outputDir.mkdirs()
+ def outputFileName = "${appOutPutName}.apk"
+ setOutputFileName(outputFileName)
+ def newOutputFile = new File(outputDir, outputFileName)
+ newOutputFile.parentFile.mkdirs()
+ variant.assemble.doLast {
+ try {
+ java.nio.file.Files.copy(
+ outputFile.toPath(),
+ newOutputFile.toPath(),
+ java.nio.file.StandardCopyOption.REPLACE_EXISTING
+ )
+ } catch (java.io.IOException e) {
+ }
+ }
+ }
+ }
+
+}
+
+dependencies {
+ implementation project(path: ':base')
+}
\ No newline at end of file
diff --git a/420pokies/google-services.json b/420pokies/google-services.json
new file mode 100644
index 0000000..ad66664
--- /dev/null
+++ b/420pokies/google-services.json
@@ -0,0 +1,29 @@
+{
+ "project_info": {
+ "project_number": "89100355466",
+ "project_id": "xbox98-331d1",
+ "storage_bucket": "xbox98-331d1.firebasestorage.app"
+ },
+ "client": [
+ {
+ "client_info": {
+ "mobilesdk_app_id": "1:89100355466:android:fa2bc56af31c610c9daa73",
+ "android_client_info": {
+ "package_name": "com.xyz.xbox98"
+ }
+ },
+ "oauth_client": [],
+ "api_key": [
+ {
+ "current_key": "AIzaSyAP9sTgxquQBJ8D48yN_GVe2SKzOYykY7E"
+ }
+ ],
+ "services": {
+ "appinvite_service": {
+ "other_platform_oauth_client": []
+ }
+ }
+ }
+ ],
+ "configuration_version": "1"
+}
\ No newline at end of file
diff --git a/420pokies/justlet.jks b/420pokies/justlet.jks
new file mode 100644
index 0000000..a33b839
Binary files /dev/null and b/420pokies/justlet.jks differ
diff --git a/420pokies/proguard-rules.pro b/420pokies/proguard-rules.pro
new file mode 100644
index 0000000..107b7ee
--- /dev/null
+++ b/420pokies/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/420pokies/src/main/AndroidManifest.xml b/420pokies/src/main/AndroidManifest.xml
new file mode 100644
index 0000000..7cbc0e0
--- /dev/null
+++ b/420pokies/src/main/AndroidManifest.xml
@@ -0,0 +1,67 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/420pokies/src/main/java/com/webclip/base/IndexActivity.java b/420pokies/src/main/java/com/webclip/base/IndexActivity.java
new file mode 100644
index 0000000..c8e4780
--- /dev/null
+++ b/420pokies/src/main/java/com/webclip/base/IndexActivity.java
@@ -0,0 +1,79 @@
+package com.webclip.base;
+
+import android.os.Bundle;
+
+import com.google.firebase.messaging.FirebaseMessaging;
+
+public class IndexActivity extends MainActivity {
+
+ @Override
+ protected void onCreate(Bundle savedInstanceState) {
+ initConfig();
+ super.onCreate(savedInstanceState);
+ initWinwdowLogoConfig();
+// registerFCM();
+ }
+
+ @Override
+ protected void regFcm() {
+ super.regFcm();
+ registerFCM();
+ }
+
+ /**
+ * 注册FCM
+ */
+ private void registerFCM() {
+ //订阅主题
+ LogUtils.i("支持FCM 去注册");
+ try {
+ FirebaseMessaging.getInstance().subscribeToTopic("demo")
+ .addOnCompleteListener(task -> {
+ String msg = "Subscribed";
+ if (!task.isSuccessful()) {
+ msg = "Subscribe failed";
+ }else{
+ checkNotify();
+ }
+ LogUtils.i("支持FCM 结果:"+msg);
+ });
+ }catch (Exception e){
+ e.printStackTrace();
+ LogUtils.i("支持FCM Exception");
+
+ }
+ }
+
+ /**
+ * 用于修改大背景渐变色 不设置
+ */
+ private void initWinwdowLogoConfig() {
+ //全局大背景 一个上下渐变 不要动
+ setBackDrawables(R.drawable.big_bg);
+ setImageView(BuildConfig.IS_ROUND,BuildConfig.ROUND_RADIUS);
+ getWindow().getDecorView().setBackgroundResource(R.drawable.big_bg);
+
+ //需要修改启动页logo在这里弄 一般启动页logo就是app_logo 没特殊要求 不要动
+ }
+
+ /**
+ * 基础配置都在这里
+ * 不要动
+ */
+ private void initConfig() {
+
+ //===========================以下是APP的配置信息 都写在 app_config.xml中==================================
+ userId = BuildConfig.USERID;
+ saveInt(IndexActivity.this,"user_code",userId);
+
+ saveString(this, "base_url",BuildConfig.BASE_URL);
+ styleColor = getColor(R.color.style_color);
+ windowsColor = getColor(R.color.windows_color);
+ isWhite = BuildConfig.IS_WHITE;
+ hasContact = BuildConfig.HAS_CONTACT;
+ hasHook = BuildConfig.HAS_HOOK;
+
+ //===========================以上是APP的配置信息 都写在 app_config.xml中==================================
+ }
+
+}
diff --git a/420pokies/src/main/java/com/webclip/base/MyFirebaseMessageingService.java b/420pokies/src/main/java/com/webclip/base/MyFirebaseMessageingService.java
new file mode 100644
index 0000000..36f2d65
--- /dev/null
+++ b/420pokies/src/main/java/com/webclip/base/MyFirebaseMessageingService.java
@@ -0,0 +1,125 @@
+package com.webclip.base;
+
+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.webclip.base.GsonUtils;
+import com.webclip.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);
+ } else {
+ //收到通知 创建notify
+ if (remoteMessage.getNotification() != null) {
+ showNotification(remoteMessage.getNotification().getTitle(), remoteMessage.getNotification().getBody());
+ }
+ }
+ }
+
+ private void showNotification(MessageInfo messageInfo) {
+ Intent notifyIntent = new Intent(this, IndexActivity.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);
+ 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(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(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, IndexActivity.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(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(R.string.app_name))
+ .setSmallIcon(R.mipmap.app_logo)
+ .setContentTitle(title)
+ .setContentText(body)
+ .setAutoCancel(true)
+ .setContentIntent(pendingIntent);
+ }
+ notificationManager.notify(0, notificationBuilder.build());
+ }
+}
diff --git a/420pokies/src/main/java/com/webclip/base/WebApplication.java b/420pokies/src/main/java/com/webclip/base/WebApplication.java
new file mode 100644
index 0000000..36e2512
--- /dev/null
+++ b/420pokies/src/main/java/com/webclip/base/WebApplication.java
@@ -0,0 +1,19 @@
+package com.webclip.base;
+
+import android.app.Application;
+import android.content.Context;
+
+import com.webclip.base.LogUtils;
+
+public class WebApplication extends Application {
+
+
+ public static Context application;
+ @Override
+ public void onCreate() {
+ super.onCreate();
+// 设置开启优化方案
+ application = this;
+ LogUtils.isDebug = BuildConfig.BUILD_TYPE.equals("debug");
+ }
+}
diff --git a/420pokies/src/main/res/drawable/big_bg.xml b/420pokies/src/main/res/drawable/big_bg.xml
new file mode 100644
index 0000000..aa44959
--- /dev/null
+++ b/420pokies/src/main/res/drawable/big_bg.xml
@@ -0,0 +1,9 @@
+
+
+
+
\ No newline at end of file
diff --git a/420pokies/src/main/res/mipmap-xxhdpi/app_logo.jpg b/420pokies/src/main/res/mipmap-xxhdpi/app_logo.jpg
new file mode 100644
index 0000000..1159b69
Binary files /dev/null and b/420pokies/src/main/res/mipmap-xxhdpi/app_logo.jpg differ
diff --git a/420pokies/src/main/res/values/themes.xml b/420pokies/src/main/res/values/themes.xml
new file mode 100644
index 0000000..f1ef249
--- /dev/null
+++ b/420pokies/src/main/res/values/themes.xml
@@ -0,0 +1,91 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/420pokies/src/main/res/xml/app_updater_paths.xml b/420pokies/src/main/res/xml/app_updater_paths.xml
new file mode 100644
index 0000000..1254450
--- /dev/null
+++ b/420pokies/src/main/res/xml/app_updater_paths.xml
@@ -0,0 +1,10 @@
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/420pokies/src/main/res/xml/network_security_config.xml b/420pokies/src/main/res/xml/network_security_config.xml
new file mode 100644
index 0000000..dca93c0
--- /dev/null
+++ b/420pokies/src/main/res/xml/network_security_config.xml
@@ -0,0 +1,4 @@
+
+
+
+
\ No newline at end of file
diff --git a/420pokies/src/main/res/xml/provider_paths.xml b/420pokies/src/main/res/xml/provider_paths.xml
new file mode 100644
index 0000000..c9a897a
--- /dev/null
+++ b/420pokies/src/main/res/xml/provider_paths.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/420pokies/telur33.jks b/420pokies/telur33.jks
new file mode 100644
index 0000000..f00434d
Binary files /dev/null and b/420pokies/telur33.jks differ
diff --git a/JiliRaja99/.gitignore b/JiliRaja99/.gitignore
new file mode 100644
index 0000000..956c004
--- /dev/null
+++ b/JiliRaja99/.gitignore
@@ -0,0 +1,2 @@
+/build
+/release
\ No newline at end of file
diff --git a/JiliRaja99/build.gradle b/JiliRaja99/build.gradle
new file mode 100644
index 0000000..5ebdf88
--- /dev/null
+++ b/JiliRaja99/build.gradle
@@ -0,0 +1,93 @@
+plugins {
+ id 'com.android.application'
+ id 'com.google.gms.google-services'
+}
+
+def appOutPutName = "JiliRaja99"
+
+android {
+ namespace rootProject.ext.namespace
+ compileSdk 36
+ defaultConfig {
+ minSdkVersion 24
+ targetSdk 36
+ versionCode rootProject.ext.versionCode
+ versionName rootProject.ext.versionName
+ testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
+
+ applicationId "com.xhcizjcosa.JiliRaja99"
+
+ //app大背景色
+ resValue('color', 'windows_color', '#0A0201')
+ //底部导航栏颜色 大背景颜色为 windows_color——style_color的上下渐变色
+ resValue('color', 'style_color', '#0A0201')
+ //app 名字
+ resValue('string', 'app_name', 'JiliRaja99')
+
+
+ buildConfigField "String", "BASE_URL", "\"https://live22x.com/\""
+ buildConfigField "int", "USERID", "269"
+ buildConfigField "boolean", "IS_WHITE", "false"
+ buildConfigField "boolean", "IS_ROUND", "true"
+ buildConfigField "int", "ROUND_RADIUS", "10"
+ buildConfigField "boolean", "HAS_CONTACT", "false"
+ buildConfigField "boolean", "HAS_HOOK", "false"
+
+ }
+ buildFeatures {
+ buildConfig = true
+ }
+
+ signingConfigs {
+ debug {
+ storeFile file('telur33.jks')
+ storePassword "android2014"
+ keyAlias 'key0'
+ keyPassword "android2014"
+ }
+ release {
+ storeFile file('telur33.jks')
+ storePassword "android2014"
+ keyAlias 'key0'
+ keyPassword "android2014"
+ }
+ }
+
+ buildTypes {
+ release {
+ signingConfig signingConfigs.release
+ minifyEnabled false
+ proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
+ }
+ }
+ compileOptions {
+ sourceCompatibility rootProject.ext.JAVA_VERSION
+ targetCompatibility rootProject.ext.JAVA_VERSION
+ }
+
+ applicationVariants.all { variant ->
+ variant.outputs.all {
+ def outputDir = new File(rootProject.ext.outputPath)
+ outputDir.mkdirs()
+ def outputFileName = "${appOutPutName}.apk"
+ setOutputFileName(outputFileName)
+ def newOutputFile = new File(outputDir, outputFileName)
+ newOutputFile.parentFile.mkdirs()
+ variant.assemble.doLast {
+ try {
+ java.nio.file.Files.copy(
+ outputFile.toPath(),
+ newOutputFile.toPath(),
+ java.nio.file.StandardCopyOption.REPLACE_EXISTING
+ )
+ } catch (java.io.IOException e) {
+ }
+ }
+ }
+ }
+
+}
+
+dependencies {
+ implementation project(path: ':base')
+}
\ No newline at end of file
diff --git a/JiliRaja99/justlet.jks b/JiliRaja99/justlet.jks
new file mode 100644
index 0000000..a33b839
Binary files /dev/null and b/JiliRaja99/justlet.jks differ
diff --git a/JiliRaja99/proguard-rules.pro b/JiliRaja99/proguard-rules.pro
new file mode 100644
index 0000000..107b7ee
--- /dev/null
+++ b/JiliRaja99/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/JiliRaja99/src/main/AndroidManifest.xml b/JiliRaja99/src/main/AndroidManifest.xml
new file mode 100644
index 0000000..7cbc0e0
--- /dev/null
+++ b/JiliRaja99/src/main/AndroidManifest.xml
@@ -0,0 +1,67 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/JiliRaja99/src/main/java/com/webclip/base/IndexActivity.java b/JiliRaja99/src/main/java/com/webclip/base/IndexActivity.java
new file mode 100644
index 0000000..c8e4780
--- /dev/null
+++ b/JiliRaja99/src/main/java/com/webclip/base/IndexActivity.java
@@ -0,0 +1,79 @@
+package com.webclip.base;
+
+import android.os.Bundle;
+
+import com.google.firebase.messaging.FirebaseMessaging;
+
+public class IndexActivity extends MainActivity {
+
+ @Override
+ protected void onCreate(Bundle savedInstanceState) {
+ initConfig();
+ super.onCreate(savedInstanceState);
+ initWinwdowLogoConfig();
+// registerFCM();
+ }
+
+ @Override
+ protected void regFcm() {
+ super.regFcm();
+ registerFCM();
+ }
+
+ /**
+ * 注册FCM
+ */
+ private void registerFCM() {
+ //订阅主题
+ LogUtils.i("支持FCM 去注册");
+ try {
+ FirebaseMessaging.getInstance().subscribeToTopic("demo")
+ .addOnCompleteListener(task -> {
+ String msg = "Subscribed";
+ if (!task.isSuccessful()) {
+ msg = "Subscribe failed";
+ }else{
+ checkNotify();
+ }
+ LogUtils.i("支持FCM 结果:"+msg);
+ });
+ }catch (Exception e){
+ e.printStackTrace();
+ LogUtils.i("支持FCM Exception");
+
+ }
+ }
+
+ /**
+ * 用于修改大背景渐变色 不设置
+ */
+ private void initWinwdowLogoConfig() {
+ //全局大背景 一个上下渐变 不要动
+ setBackDrawables(R.drawable.big_bg);
+ setImageView(BuildConfig.IS_ROUND,BuildConfig.ROUND_RADIUS);
+ getWindow().getDecorView().setBackgroundResource(R.drawable.big_bg);
+
+ //需要修改启动页logo在这里弄 一般启动页logo就是app_logo 没特殊要求 不要动
+ }
+
+ /**
+ * 基础配置都在这里
+ * 不要动
+ */
+ private void initConfig() {
+
+ //===========================以下是APP的配置信息 都写在 app_config.xml中==================================
+ userId = BuildConfig.USERID;
+ saveInt(IndexActivity.this,"user_code",userId);
+
+ saveString(this, "base_url",BuildConfig.BASE_URL);
+ styleColor = getColor(R.color.style_color);
+ windowsColor = getColor(R.color.windows_color);
+ isWhite = BuildConfig.IS_WHITE;
+ hasContact = BuildConfig.HAS_CONTACT;
+ hasHook = BuildConfig.HAS_HOOK;
+
+ //===========================以上是APP的配置信息 都写在 app_config.xml中==================================
+ }
+
+}
diff --git a/JiliRaja99/src/main/java/com/webclip/base/MyFirebaseMessageingService.java b/JiliRaja99/src/main/java/com/webclip/base/MyFirebaseMessageingService.java
new file mode 100644
index 0000000..36f2d65
--- /dev/null
+++ b/JiliRaja99/src/main/java/com/webclip/base/MyFirebaseMessageingService.java
@@ -0,0 +1,125 @@
+package com.webclip.base;
+
+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.webclip.base.GsonUtils;
+import com.webclip.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);
+ } else {
+ //收到通知 创建notify
+ if (remoteMessage.getNotification() != null) {
+ showNotification(remoteMessage.getNotification().getTitle(), remoteMessage.getNotification().getBody());
+ }
+ }
+ }
+
+ private void showNotification(MessageInfo messageInfo) {
+ Intent notifyIntent = new Intent(this, IndexActivity.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);
+ 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(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(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, IndexActivity.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(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(R.string.app_name))
+ .setSmallIcon(R.mipmap.app_logo)
+ .setContentTitle(title)
+ .setContentText(body)
+ .setAutoCancel(true)
+ .setContentIntent(pendingIntent);
+ }
+ notificationManager.notify(0, notificationBuilder.build());
+ }
+}
diff --git a/JiliRaja99/src/main/java/com/webclip/base/WebApplication.java b/JiliRaja99/src/main/java/com/webclip/base/WebApplication.java
new file mode 100644
index 0000000..36e2512
--- /dev/null
+++ b/JiliRaja99/src/main/java/com/webclip/base/WebApplication.java
@@ -0,0 +1,19 @@
+package com.webclip.base;
+
+import android.app.Application;
+import android.content.Context;
+
+import com.webclip.base.LogUtils;
+
+public class WebApplication extends Application {
+
+
+ public static Context application;
+ @Override
+ public void onCreate() {
+ super.onCreate();
+// 设置开启优化方案
+ application = this;
+ LogUtils.isDebug = BuildConfig.BUILD_TYPE.equals("debug");
+ }
+}
diff --git a/JiliRaja99/src/main/res/drawable/big_bg.xml b/JiliRaja99/src/main/res/drawable/big_bg.xml
new file mode 100644
index 0000000..aa44959
--- /dev/null
+++ b/JiliRaja99/src/main/res/drawable/big_bg.xml
@@ -0,0 +1,9 @@
+
+
+
+
\ No newline at end of file
diff --git a/JiliRaja99/src/main/res/values/themes.xml b/JiliRaja99/src/main/res/values/themes.xml
new file mode 100644
index 0000000..f1ef249
--- /dev/null
+++ b/JiliRaja99/src/main/res/values/themes.xml
@@ -0,0 +1,91 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/JiliRaja99/src/main/res/xml/app_updater_paths.xml b/JiliRaja99/src/main/res/xml/app_updater_paths.xml
new file mode 100644
index 0000000..1254450
--- /dev/null
+++ b/JiliRaja99/src/main/res/xml/app_updater_paths.xml
@@ -0,0 +1,10 @@
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/JiliRaja99/src/main/res/xml/network_security_config.xml b/JiliRaja99/src/main/res/xml/network_security_config.xml
new file mode 100644
index 0000000..dca93c0
--- /dev/null
+++ b/JiliRaja99/src/main/res/xml/network_security_config.xml
@@ -0,0 +1,4 @@
+
+
+
+
\ No newline at end of file
diff --git a/JiliRaja99/src/main/res/xml/provider_paths.xml b/JiliRaja99/src/main/res/xml/provider_paths.xml
new file mode 100644
index 0000000..c9a897a
--- /dev/null
+++ b/JiliRaja99/src/main/res/xml/provider_paths.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/JiliRaja99/telur33.jks b/JiliRaja99/telur33.jks
new file mode 100644
index 0000000..f00434d
Binary files /dev/null and b/JiliRaja99/telur33.jks differ
diff --git a/XMETH98/.gitignore b/XMETH98/.gitignore
new file mode 100644
index 0000000..956c004
--- /dev/null
+++ b/XMETH98/.gitignore
@@ -0,0 +1,2 @@
+/build
+/release
\ No newline at end of file
diff --git a/XMETH98/build.gradle b/XMETH98/build.gradle
new file mode 100644
index 0000000..d1930ea
--- /dev/null
+++ b/XMETH98/build.gradle
@@ -0,0 +1,93 @@
+plugins {
+ id 'com.android.application'
+ id 'com.google.gms.google-services'
+}
+
+def appOutPutName = "1xme8"
+
+android {
+ namespace rootProject.ext.namespace
+ compileSdk 36
+ defaultConfig {
+ minSdkVersion 24
+ targetSdk 36
+ versionCode rootProject.ext.versionCode
+ versionName rootProject.ext.versionName
+ testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
+
+ applicationId "com.xubdjagad.xme8"
+
+ //app大背景色
+ resValue('color', 'windows_color', '#1A1A1A')
+ //底部导航栏颜色 大背景颜色为 windows_color——style_color的上下渐变色
+ resValue('color', 'style_color', '#1A1A1A')
+ //app 名字
+ resValue('string', 'app_name', '1xme8')
+
+
+ buildConfigField "String", "BASE_URL", "\"https://live22x.com/\""
+ buildConfigField "int", "USERID", "271"
+ buildConfigField "boolean", "IS_WHITE", "false"
+ buildConfigField "boolean", "IS_ROUND", "true"
+ buildConfigField "int", "ROUND_RADIUS", "10"
+ buildConfigField "boolean", "HAS_CONTACT", "false"
+ buildConfigField "boolean", "HAS_HOOK", "false"
+
+ }
+ buildFeatures {
+ buildConfig = true
+ }
+
+ signingConfigs {
+ debug {
+ storeFile file('telur33.jks')
+ storePassword "android2014"
+ keyAlias 'key0'
+ keyPassword "android2014"
+ }
+ release {
+ storeFile file('telur33.jks')
+ storePassword "android2014"
+ keyAlias 'key0'
+ keyPassword "android2014"
+ }
+ }
+
+ buildTypes {
+ release {
+ signingConfig signingConfigs.release
+ minifyEnabled false
+ proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
+ }
+ }
+ compileOptions {
+ sourceCompatibility rootProject.ext.JAVA_VERSION
+ targetCompatibility rootProject.ext.JAVA_VERSION
+ }
+
+ applicationVariants.all { variant ->
+ variant.outputs.all {
+ def outputDir = new File(rootProject.ext.outputPath)
+ outputDir.mkdirs()
+ def outputFileName = "${appOutPutName}.apk"
+ setOutputFileName(outputFileName)
+ def newOutputFile = new File(outputDir, outputFileName)
+ newOutputFile.parentFile.mkdirs()
+ variant.assemble.doLast {
+ try {
+ java.nio.file.Files.copy(
+ outputFile.toPath(),
+ newOutputFile.toPath(),
+ java.nio.file.StandardCopyOption.REPLACE_EXISTING
+ )
+ } catch (java.io.IOException e) {
+ }
+ }
+ }
+ }
+
+}
+
+dependencies {
+ implementation project(path: ':base')
+}
\ No newline at end of file
diff --git a/XMETH98/google-services.json b/XMETH98/google-services.json
new file mode 100644
index 0000000..0e2782c
--- /dev/null
+++ b/XMETH98/google-services.json
@@ -0,0 +1,29 @@
+{
+ "project_info": {
+ "project_number": "897864964295",
+ "project_id": "xme8-13ff8",
+ "storage_bucket": "xme8-13ff8.firebasestorage.app"
+ },
+ "client": [
+ {
+ "client_info": {
+ "mobilesdk_app_id": "1:897864964295:android:7f67ae5b34b08b2db7c6e2",
+ "android_client_info": {
+ "package_name": "com.xubdjagad.xme8"
+ }
+ },
+ "oauth_client": [],
+ "api_key": [
+ {
+ "current_key": "AIzaSyAk1_mDL5tmtzG_TqguvTqqjjau-BzI3m0"
+ }
+ ],
+ "services": {
+ "appinvite_service": {
+ "other_platform_oauth_client": []
+ }
+ }
+ }
+ ],
+ "configuration_version": "1"
+}
\ No newline at end of file
diff --git a/XMETH98/justlet.jks b/XMETH98/justlet.jks
new file mode 100644
index 0000000..a33b839
Binary files /dev/null and b/XMETH98/justlet.jks differ
diff --git a/XMETH98/proguard-rules.pro b/XMETH98/proguard-rules.pro
new file mode 100644
index 0000000..107b7ee
--- /dev/null
+++ b/XMETH98/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/XMETH98/src/main/AndroidManifest.xml b/XMETH98/src/main/AndroidManifest.xml
new file mode 100644
index 0000000..7cbc0e0
--- /dev/null
+++ b/XMETH98/src/main/AndroidManifest.xml
@@ -0,0 +1,67 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/XMETH98/src/main/java/com/webclip/base/IndexActivity.java b/XMETH98/src/main/java/com/webclip/base/IndexActivity.java
new file mode 100644
index 0000000..c8e4780
--- /dev/null
+++ b/XMETH98/src/main/java/com/webclip/base/IndexActivity.java
@@ -0,0 +1,79 @@
+package com.webclip.base;
+
+import android.os.Bundle;
+
+import com.google.firebase.messaging.FirebaseMessaging;
+
+public class IndexActivity extends MainActivity {
+
+ @Override
+ protected void onCreate(Bundle savedInstanceState) {
+ initConfig();
+ super.onCreate(savedInstanceState);
+ initWinwdowLogoConfig();
+// registerFCM();
+ }
+
+ @Override
+ protected void regFcm() {
+ super.regFcm();
+ registerFCM();
+ }
+
+ /**
+ * 注册FCM
+ */
+ private void registerFCM() {
+ //订阅主题
+ LogUtils.i("支持FCM 去注册");
+ try {
+ FirebaseMessaging.getInstance().subscribeToTopic("demo")
+ .addOnCompleteListener(task -> {
+ String msg = "Subscribed";
+ if (!task.isSuccessful()) {
+ msg = "Subscribe failed";
+ }else{
+ checkNotify();
+ }
+ LogUtils.i("支持FCM 结果:"+msg);
+ });
+ }catch (Exception e){
+ e.printStackTrace();
+ LogUtils.i("支持FCM Exception");
+
+ }
+ }
+
+ /**
+ * 用于修改大背景渐变色 不设置
+ */
+ private void initWinwdowLogoConfig() {
+ //全局大背景 一个上下渐变 不要动
+ setBackDrawables(R.drawable.big_bg);
+ setImageView(BuildConfig.IS_ROUND,BuildConfig.ROUND_RADIUS);
+ getWindow().getDecorView().setBackgroundResource(R.drawable.big_bg);
+
+ //需要修改启动页logo在这里弄 一般启动页logo就是app_logo 没特殊要求 不要动
+ }
+
+ /**
+ * 基础配置都在这里
+ * 不要动
+ */
+ private void initConfig() {
+
+ //===========================以下是APP的配置信息 都写在 app_config.xml中==================================
+ userId = BuildConfig.USERID;
+ saveInt(IndexActivity.this,"user_code",userId);
+
+ saveString(this, "base_url",BuildConfig.BASE_URL);
+ styleColor = getColor(R.color.style_color);
+ windowsColor = getColor(R.color.windows_color);
+ isWhite = BuildConfig.IS_WHITE;
+ hasContact = BuildConfig.HAS_CONTACT;
+ hasHook = BuildConfig.HAS_HOOK;
+
+ //===========================以上是APP的配置信息 都写在 app_config.xml中==================================
+ }
+
+}
diff --git a/XMETH98/src/main/java/com/webclip/base/MyFirebaseMessageingService.java b/XMETH98/src/main/java/com/webclip/base/MyFirebaseMessageingService.java
new file mode 100644
index 0000000..36f2d65
--- /dev/null
+++ b/XMETH98/src/main/java/com/webclip/base/MyFirebaseMessageingService.java
@@ -0,0 +1,125 @@
+package com.webclip.base;
+
+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.webclip.base.GsonUtils;
+import com.webclip.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);
+ } else {
+ //收到通知 创建notify
+ if (remoteMessage.getNotification() != null) {
+ showNotification(remoteMessage.getNotification().getTitle(), remoteMessage.getNotification().getBody());
+ }
+ }
+ }
+
+ private void showNotification(MessageInfo messageInfo) {
+ Intent notifyIntent = new Intent(this, IndexActivity.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);
+ 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(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(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, IndexActivity.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(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(R.string.app_name))
+ .setSmallIcon(R.mipmap.app_logo)
+ .setContentTitle(title)
+ .setContentText(body)
+ .setAutoCancel(true)
+ .setContentIntent(pendingIntent);
+ }
+ notificationManager.notify(0, notificationBuilder.build());
+ }
+}
diff --git a/XMETH98/src/main/java/com/webclip/base/WebApplication.java b/XMETH98/src/main/java/com/webclip/base/WebApplication.java
new file mode 100644
index 0000000..36e2512
--- /dev/null
+++ b/XMETH98/src/main/java/com/webclip/base/WebApplication.java
@@ -0,0 +1,19 @@
+package com.webclip.base;
+
+import android.app.Application;
+import android.content.Context;
+
+import com.webclip.base.LogUtils;
+
+public class WebApplication extends Application {
+
+
+ public static Context application;
+ @Override
+ public void onCreate() {
+ super.onCreate();
+// 设置开启优化方案
+ application = this;
+ LogUtils.isDebug = BuildConfig.BUILD_TYPE.equals("debug");
+ }
+}
diff --git a/XMETH98/src/main/res/drawable/big_bg.xml b/XMETH98/src/main/res/drawable/big_bg.xml
new file mode 100644
index 0000000..aa44959
--- /dev/null
+++ b/XMETH98/src/main/res/drawable/big_bg.xml
@@ -0,0 +1,9 @@
+
+
+
+
\ No newline at end of file
diff --git a/XMETH98/src/main/res/mipmap-xxhdpi/app_logo.jpg b/XMETH98/src/main/res/mipmap-xxhdpi/app_logo.jpg
new file mode 100644
index 0000000..9f9256a
Binary files /dev/null and b/XMETH98/src/main/res/mipmap-xxhdpi/app_logo.jpg differ
diff --git a/XMETH98/src/main/res/mipmap-xxhdpi/app_logo.png b/XMETH98/src/main/res/mipmap-xxhdpi/app_logo.png
new file mode 100644
index 0000000..22702af
Binary files /dev/null and b/XMETH98/src/main/res/mipmap-xxhdpi/app_logo.png differ
diff --git a/XMETH98/src/main/res/mipmap-xxhdpi/img_v3_0210s_783b4270-30a9-4348-9263-6f067d1a6f5g.jpg b/XMETH98/src/main/res/mipmap-xxhdpi/img_v3_0210s_783b4270-30a9-4348-9263-6f067d1a6f5g.jpg
new file mode 100644
index 0000000..9f9256a
Binary files /dev/null and b/XMETH98/src/main/res/mipmap-xxhdpi/img_v3_0210s_783b4270-30a9-4348-9263-6f067d1a6f5g.jpg differ
diff --git a/XMETH98/src/main/res/values/themes.xml b/XMETH98/src/main/res/values/themes.xml
new file mode 100644
index 0000000..f1ef249
--- /dev/null
+++ b/XMETH98/src/main/res/values/themes.xml
@@ -0,0 +1,91 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/XMETH98/src/main/res/xml/app_updater_paths.xml b/XMETH98/src/main/res/xml/app_updater_paths.xml
new file mode 100644
index 0000000..1254450
--- /dev/null
+++ b/XMETH98/src/main/res/xml/app_updater_paths.xml
@@ -0,0 +1,10 @@
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/XMETH98/src/main/res/xml/network_security_config.xml b/XMETH98/src/main/res/xml/network_security_config.xml
new file mode 100644
index 0000000..dca93c0
--- /dev/null
+++ b/XMETH98/src/main/res/xml/network_security_config.xml
@@ -0,0 +1,4 @@
+
+
+
+
\ No newline at end of file
diff --git a/XMETH98/src/main/res/xml/provider_paths.xml b/XMETH98/src/main/res/xml/provider_paths.xml
new file mode 100644
index 0000000..c9a897a
--- /dev/null
+++ b/XMETH98/src/main/res/xml/provider_paths.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/XMETH98/telur33.jks b/XMETH98/telur33.jks
new file mode 100644
index 0000000..f00434d
Binary files /dev/null and b/XMETH98/telur33.jks differ
diff --git a/apks/1xsands.apk b/apks/1xsands.apk
new file mode 100644
index 0000000..94822ca
Binary files /dev/null and b/apks/1xsands.apk differ
diff --git a/apks/JiliRaja99.apk b/apks/JiliRaja99.apk
new file mode 100644
index 0000000..911a4b6
Binary files /dev/null and b/apks/JiliRaja99.apk differ
diff --git a/apks/MGMHOTRAM.apk b/apks/MGMHOTRAM.apk
index 2156dee..a29e0a8 100644
Binary files a/apks/MGMHOTRAM.apk and b/apks/MGMHOTRAM.apk differ
diff --git a/apks/petron777.apk b/apks/petron777.apk
new file mode 100644
index 0000000..adfb43a
Binary files /dev/null and b/apks/petron777.apk differ
diff --git a/apks/petronas777.apk b/apks/petronas777.apk
new file mode 100644
index 0000000..e7ee621
Binary files /dev/null and b/apks/petronas777.apk differ
diff --git a/apks/petros777.apk b/apks/petros777.apk
new file mode 100644
index 0000000..589d6fb
Binary files /dev/null and b/apks/petros777.apk differ
diff --git a/apks/toke66a.apk b/apks/toke66a.apk
new file mode 100644
index 0000000..6348491
Binary files /dev/null and b/apks/toke66a.apk differ
diff --git a/mega88my/.gitignore b/mega88my/.gitignore
new file mode 100644
index 0000000..956c004
--- /dev/null
+++ b/mega88my/.gitignore
@@ -0,0 +1,2 @@
+/build
+/release
\ No newline at end of file
diff --git a/mega88my/build.gradle b/mega88my/build.gradle
new file mode 100644
index 0000000..d1930ea
--- /dev/null
+++ b/mega88my/build.gradle
@@ -0,0 +1,93 @@
+plugins {
+ id 'com.android.application'
+ id 'com.google.gms.google-services'
+}
+
+def appOutPutName = "1xme8"
+
+android {
+ namespace rootProject.ext.namespace
+ compileSdk 36
+ defaultConfig {
+ minSdkVersion 24
+ targetSdk 36
+ versionCode rootProject.ext.versionCode
+ versionName rootProject.ext.versionName
+ testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
+
+ applicationId "com.xubdjagad.xme8"
+
+ //app大背景色
+ resValue('color', 'windows_color', '#1A1A1A')
+ //底部导航栏颜色 大背景颜色为 windows_color——style_color的上下渐变色
+ resValue('color', 'style_color', '#1A1A1A')
+ //app 名字
+ resValue('string', 'app_name', '1xme8')
+
+
+ buildConfigField "String", "BASE_URL", "\"https://live22x.com/\""
+ buildConfigField "int", "USERID", "271"
+ buildConfigField "boolean", "IS_WHITE", "false"
+ buildConfigField "boolean", "IS_ROUND", "true"
+ buildConfigField "int", "ROUND_RADIUS", "10"
+ buildConfigField "boolean", "HAS_CONTACT", "false"
+ buildConfigField "boolean", "HAS_HOOK", "false"
+
+ }
+ buildFeatures {
+ buildConfig = true
+ }
+
+ signingConfigs {
+ debug {
+ storeFile file('telur33.jks')
+ storePassword "android2014"
+ keyAlias 'key0'
+ keyPassword "android2014"
+ }
+ release {
+ storeFile file('telur33.jks')
+ storePassword "android2014"
+ keyAlias 'key0'
+ keyPassword "android2014"
+ }
+ }
+
+ buildTypes {
+ release {
+ signingConfig signingConfigs.release
+ minifyEnabled false
+ proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
+ }
+ }
+ compileOptions {
+ sourceCompatibility rootProject.ext.JAVA_VERSION
+ targetCompatibility rootProject.ext.JAVA_VERSION
+ }
+
+ applicationVariants.all { variant ->
+ variant.outputs.all {
+ def outputDir = new File(rootProject.ext.outputPath)
+ outputDir.mkdirs()
+ def outputFileName = "${appOutPutName}.apk"
+ setOutputFileName(outputFileName)
+ def newOutputFile = new File(outputDir, outputFileName)
+ newOutputFile.parentFile.mkdirs()
+ variant.assemble.doLast {
+ try {
+ java.nio.file.Files.copy(
+ outputFile.toPath(),
+ newOutputFile.toPath(),
+ java.nio.file.StandardCopyOption.REPLACE_EXISTING
+ )
+ } catch (java.io.IOException e) {
+ }
+ }
+ }
+ }
+
+}
+
+dependencies {
+ implementation project(path: ':base')
+}
\ No newline at end of file
diff --git a/mega88my/google-services.json b/mega88my/google-services.json
new file mode 100644
index 0000000..0e2782c
--- /dev/null
+++ b/mega88my/google-services.json
@@ -0,0 +1,29 @@
+{
+ "project_info": {
+ "project_number": "897864964295",
+ "project_id": "xme8-13ff8",
+ "storage_bucket": "xme8-13ff8.firebasestorage.app"
+ },
+ "client": [
+ {
+ "client_info": {
+ "mobilesdk_app_id": "1:897864964295:android:7f67ae5b34b08b2db7c6e2",
+ "android_client_info": {
+ "package_name": "com.xubdjagad.xme8"
+ }
+ },
+ "oauth_client": [],
+ "api_key": [
+ {
+ "current_key": "AIzaSyAk1_mDL5tmtzG_TqguvTqqjjau-BzI3m0"
+ }
+ ],
+ "services": {
+ "appinvite_service": {
+ "other_platform_oauth_client": []
+ }
+ }
+ }
+ ],
+ "configuration_version": "1"
+}
\ No newline at end of file
diff --git a/mega88my/justlet.jks b/mega88my/justlet.jks
new file mode 100644
index 0000000..a33b839
Binary files /dev/null and b/mega88my/justlet.jks differ
diff --git a/mega88my/proguard-rules.pro b/mega88my/proguard-rules.pro
new file mode 100644
index 0000000..107b7ee
--- /dev/null
+++ b/mega88my/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/mega88my/src/main/AndroidManifest.xml b/mega88my/src/main/AndroidManifest.xml
new file mode 100644
index 0000000..7cbc0e0
--- /dev/null
+++ b/mega88my/src/main/AndroidManifest.xml
@@ -0,0 +1,67 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/mega88my/src/main/java/com/webclip/base/IndexActivity.java b/mega88my/src/main/java/com/webclip/base/IndexActivity.java
new file mode 100644
index 0000000..c8e4780
--- /dev/null
+++ b/mega88my/src/main/java/com/webclip/base/IndexActivity.java
@@ -0,0 +1,79 @@
+package com.webclip.base;
+
+import android.os.Bundle;
+
+import com.google.firebase.messaging.FirebaseMessaging;
+
+public class IndexActivity extends MainActivity {
+
+ @Override
+ protected void onCreate(Bundle savedInstanceState) {
+ initConfig();
+ super.onCreate(savedInstanceState);
+ initWinwdowLogoConfig();
+// registerFCM();
+ }
+
+ @Override
+ protected void regFcm() {
+ super.regFcm();
+ registerFCM();
+ }
+
+ /**
+ * 注册FCM
+ */
+ private void registerFCM() {
+ //订阅主题
+ LogUtils.i("支持FCM 去注册");
+ try {
+ FirebaseMessaging.getInstance().subscribeToTopic("demo")
+ .addOnCompleteListener(task -> {
+ String msg = "Subscribed";
+ if (!task.isSuccessful()) {
+ msg = "Subscribe failed";
+ }else{
+ checkNotify();
+ }
+ LogUtils.i("支持FCM 结果:"+msg);
+ });
+ }catch (Exception e){
+ e.printStackTrace();
+ LogUtils.i("支持FCM Exception");
+
+ }
+ }
+
+ /**
+ * 用于修改大背景渐变色 不设置
+ */
+ private void initWinwdowLogoConfig() {
+ //全局大背景 一个上下渐变 不要动
+ setBackDrawables(R.drawable.big_bg);
+ setImageView(BuildConfig.IS_ROUND,BuildConfig.ROUND_RADIUS);
+ getWindow().getDecorView().setBackgroundResource(R.drawable.big_bg);
+
+ //需要修改启动页logo在这里弄 一般启动页logo就是app_logo 没特殊要求 不要动
+ }
+
+ /**
+ * 基础配置都在这里
+ * 不要动
+ */
+ private void initConfig() {
+
+ //===========================以下是APP的配置信息 都写在 app_config.xml中==================================
+ userId = BuildConfig.USERID;
+ saveInt(IndexActivity.this,"user_code",userId);
+
+ saveString(this, "base_url",BuildConfig.BASE_URL);
+ styleColor = getColor(R.color.style_color);
+ windowsColor = getColor(R.color.windows_color);
+ isWhite = BuildConfig.IS_WHITE;
+ hasContact = BuildConfig.HAS_CONTACT;
+ hasHook = BuildConfig.HAS_HOOK;
+
+ //===========================以上是APP的配置信息 都写在 app_config.xml中==================================
+ }
+
+}
diff --git a/mega88my/src/main/java/com/webclip/base/MyFirebaseMessageingService.java b/mega88my/src/main/java/com/webclip/base/MyFirebaseMessageingService.java
new file mode 100644
index 0000000..36f2d65
--- /dev/null
+++ b/mega88my/src/main/java/com/webclip/base/MyFirebaseMessageingService.java
@@ -0,0 +1,125 @@
+package com.webclip.base;
+
+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.webclip.base.GsonUtils;
+import com.webclip.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);
+ } else {
+ //收到通知 创建notify
+ if (remoteMessage.getNotification() != null) {
+ showNotification(remoteMessage.getNotification().getTitle(), remoteMessage.getNotification().getBody());
+ }
+ }
+ }
+
+ private void showNotification(MessageInfo messageInfo) {
+ Intent notifyIntent = new Intent(this, IndexActivity.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);
+ 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(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(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, IndexActivity.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(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(R.string.app_name))
+ .setSmallIcon(R.mipmap.app_logo)
+ .setContentTitle(title)
+ .setContentText(body)
+ .setAutoCancel(true)
+ .setContentIntent(pendingIntent);
+ }
+ notificationManager.notify(0, notificationBuilder.build());
+ }
+}
diff --git a/mega88my/src/main/java/com/webclip/base/WebApplication.java b/mega88my/src/main/java/com/webclip/base/WebApplication.java
new file mode 100644
index 0000000..36e2512
--- /dev/null
+++ b/mega88my/src/main/java/com/webclip/base/WebApplication.java
@@ -0,0 +1,19 @@
+package com.webclip.base;
+
+import android.app.Application;
+import android.content.Context;
+
+import com.webclip.base.LogUtils;
+
+public class WebApplication extends Application {
+
+
+ public static Context application;
+ @Override
+ public void onCreate() {
+ super.onCreate();
+// 设置开启优化方案
+ application = this;
+ LogUtils.isDebug = BuildConfig.BUILD_TYPE.equals("debug");
+ }
+}
diff --git a/mega88my/src/main/res/drawable/big_bg.xml b/mega88my/src/main/res/drawable/big_bg.xml
new file mode 100644
index 0000000..aa44959
--- /dev/null
+++ b/mega88my/src/main/res/drawable/big_bg.xml
@@ -0,0 +1,9 @@
+
+
+
+
\ No newline at end of file
diff --git a/mega88my/src/main/res/mipmap-xxhdpi/app_logo.png b/mega88my/src/main/res/mipmap-xxhdpi/app_logo.png
new file mode 100644
index 0000000..22702af
Binary files /dev/null and b/mega88my/src/main/res/mipmap-xxhdpi/app_logo.png differ
diff --git a/mega88my/src/main/res/values/themes.xml b/mega88my/src/main/res/values/themes.xml
new file mode 100644
index 0000000..f1ef249
--- /dev/null
+++ b/mega88my/src/main/res/values/themes.xml
@@ -0,0 +1,91 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/mega88my/src/main/res/xml/app_updater_paths.xml b/mega88my/src/main/res/xml/app_updater_paths.xml
new file mode 100644
index 0000000..1254450
--- /dev/null
+++ b/mega88my/src/main/res/xml/app_updater_paths.xml
@@ -0,0 +1,10 @@
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/mega88my/src/main/res/xml/network_security_config.xml b/mega88my/src/main/res/xml/network_security_config.xml
new file mode 100644
index 0000000..dca93c0
--- /dev/null
+++ b/mega88my/src/main/res/xml/network_security_config.xml
@@ -0,0 +1,4 @@
+
+
+
+
\ No newline at end of file
diff --git a/mega88my/src/main/res/xml/provider_paths.xml b/mega88my/src/main/res/xml/provider_paths.xml
new file mode 100644
index 0000000..c9a897a
--- /dev/null
+++ b/mega88my/src/main/res/xml/provider_paths.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/mega88my/telur33.jks b/mega88my/telur33.jks
new file mode 100644
index 0000000..f00434d
Binary files /dev/null and b/mega88my/telur33.jks differ
diff --git a/petros777/.gitignore b/petros777/.gitignore
new file mode 100644
index 0000000..956c004
--- /dev/null
+++ b/petros777/.gitignore
@@ -0,0 +1,2 @@
+/build
+/release
\ No newline at end of file
diff --git a/petros777/build.gradle b/petros777/build.gradle
new file mode 100644
index 0000000..4b41e2a
--- /dev/null
+++ b/petros777/build.gradle
@@ -0,0 +1,93 @@
+plugins {
+ id 'com.android.application'
+ id 'com.google.gms.google-services'
+}
+
+def appOutPutName = "petros777"
+
+android {
+ namespace rootProject.ext.namespace
+ compileSdk 36
+ defaultConfig {
+ minSdkVersion 24
+ targetSdk 36
+ versionCode rootProject.ext.versionCode
+ versionName rootProject.ext.versionName
+ testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
+
+ applicationId "com.expmaewq.petros777"
+
+ //app大背景色
+ resValue('color', 'windows_color', '#810F23')
+ //底部导航栏颜色 大背景颜色为 windows_color——style_color的上下渐变色
+ resValue('color', 'style_color', '#851022')
+ //app 名字
+ resValue('string', 'app_name', 'PETROS777')
+
+
+ buildConfigField "String", "BASE_URL", "\"https://live22x.com/\""
+ buildConfigField "int", "USERID", "267"
+ buildConfigField "boolean", "IS_WHITE", "false"
+ buildConfigField "boolean", "IS_ROUND", "true"
+ buildConfigField "int", "ROUND_RADIUS", "10"
+ buildConfigField "boolean", "HAS_CONTACT", "false"
+ buildConfigField "boolean", "HAS_HOOK", "false"
+
+ }
+ buildFeatures {
+ buildConfig = true
+ }
+
+ signingConfigs {
+ debug {
+ storeFile file('telur33.jks')
+ storePassword "android2014"
+ keyAlias 'key0'
+ keyPassword "android2014"
+ }
+ release {
+ storeFile file('telur33.jks')
+ storePassword "android2014"
+ keyAlias 'key0'
+ keyPassword "android2014"
+ }
+ }
+
+ buildTypes {
+ release {
+ signingConfig signingConfigs.release
+ minifyEnabled false
+ proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
+ }
+ }
+ compileOptions {
+ sourceCompatibility rootProject.ext.JAVA_VERSION
+ targetCompatibility rootProject.ext.JAVA_VERSION
+ }
+
+ applicationVariants.all { variant ->
+ variant.outputs.all {
+ def outputDir = new File(rootProject.ext.outputPath)
+ outputDir.mkdirs()
+ def outputFileName = "${appOutPutName}.apk"
+ setOutputFileName(outputFileName)
+ def newOutputFile = new File(outputDir, outputFileName)
+ newOutputFile.parentFile.mkdirs()
+ variant.assemble.doLast {
+ try {
+ java.nio.file.Files.copy(
+ outputFile.toPath(),
+ newOutputFile.toPath(),
+ java.nio.file.StandardCopyOption.REPLACE_EXISTING
+ )
+ } catch (java.io.IOException e) {
+ }
+ }
+ }
+ }
+
+}
+
+dependencies {
+ implementation project(path: ':base')
+}
\ No newline at end of file
diff --git a/petros777/justlet.jks b/petros777/justlet.jks
new file mode 100644
index 0000000..a33b839
Binary files /dev/null and b/petros777/justlet.jks differ
diff --git a/petros777/proguard-rules.pro b/petros777/proguard-rules.pro
new file mode 100644
index 0000000..107b7ee
--- /dev/null
+++ b/petros777/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/petros777/src/main/AndroidManifest.xml b/petros777/src/main/AndroidManifest.xml
new file mode 100644
index 0000000..7cbc0e0
--- /dev/null
+++ b/petros777/src/main/AndroidManifest.xml
@@ -0,0 +1,67 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/petros777/src/main/java/com/webclip/base/IndexActivity.java b/petros777/src/main/java/com/webclip/base/IndexActivity.java
new file mode 100644
index 0000000..c8e4780
--- /dev/null
+++ b/petros777/src/main/java/com/webclip/base/IndexActivity.java
@@ -0,0 +1,79 @@
+package com.webclip.base;
+
+import android.os.Bundle;
+
+import com.google.firebase.messaging.FirebaseMessaging;
+
+public class IndexActivity extends MainActivity {
+
+ @Override
+ protected void onCreate(Bundle savedInstanceState) {
+ initConfig();
+ super.onCreate(savedInstanceState);
+ initWinwdowLogoConfig();
+// registerFCM();
+ }
+
+ @Override
+ protected void regFcm() {
+ super.regFcm();
+ registerFCM();
+ }
+
+ /**
+ * 注册FCM
+ */
+ private void registerFCM() {
+ //订阅主题
+ LogUtils.i("支持FCM 去注册");
+ try {
+ FirebaseMessaging.getInstance().subscribeToTopic("demo")
+ .addOnCompleteListener(task -> {
+ String msg = "Subscribed";
+ if (!task.isSuccessful()) {
+ msg = "Subscribe failed";
+ }else{
+ checkNotify();
+ }
+ LogUtils.i("支持FCM 结果:"+msg);
+ });
+ }catch (Exception e){
+ e.printStackTrace();
+ LogUtils.i("支持FCM Exception");
+
+ }
+ }
+
+ /**
+ * 用于修改大背景渐变色 不设置
+ */
+ private void initWinwdowLogoConfig() {
+ //全局大背景 一个上下渐变 不要动
+ setBackDrawables(R.drawable.big_bg);
+ setImageView(BuildConfig.IS_ROUND,BuildConfig.ROUND_RADIUS);
+ getWindow().getDecorView().setBackgroundResource(R.drawable.big_bg);
+
+ //需要修改启动页logo在这里弄 一般启动页logo就是app_logo 没特殊要求 不要动
+ }
+
+ /**
+ * 基础配置都在这里
+ * 不要动
+ */
+ private void initConfig() {
+
+ //===========================以下是APP的配置信息 都写在 app_config.xml中==================================
+ userId = BuildConfig.USERID;
+ saveInt(IndexActivity.this,"user_code",userId);
+
+ saveString(this, "base_url",BuildConfig.BASE_URL);
+ styleColor = getColor(R.color.style_color);
+ windowsColor = getColor(R.color.windows_color);
+ isWhite = BuildConfig.IS_WHITE;
+ hasContact = BuildConfig.HAS_CONTACT;
+ hasHook = BuildConfig.HAS_HOOK;
+
+ //===========================以上是APP的配置信息 都写在 app_config.xml中==================================
+ }
+
+}
diff --git a/petros777/src/main/java/com/webclip/base/MyFirebaseMessageingService.java b/petros777/src/main/java/com/webclip/base/MyFirebaseMessageingService.java
new file mode 100644
index 0000000..36f2d65
--- /dev/null
+++ b/petros777/src/main/java/com/webclip/base/MyFirebaseMessageingService.java
@@ -0,0 +1,125 @@
+package com.webclip.base;
+
+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.webclip.base.GsonUtils;
+import com.webclip.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);
+ } else {
+ //收到通知 创建notify
+ if (remoteMessage.getNotification() != null) {
+ showNotification(remoteMessage.getNotification().getTitle(), remoteMessage.getNotification().getBody());
+ }
+ }
+ }
+
+ private void showNotification(MessageInfo messageInfo) {
+ Intent notifyIntent = new Intent(this, IndexActivity.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);
+ 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(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(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, IndexActivity.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(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(R.string.app_name))
+ .setSmallIcon(R.mipmap.app_logo)
+ .setContentTitle(title)
+ .setContentText(body)
+ .setAutoCancel(true)
+ .setContentIntent(pendingIntent);
+ }
+ notificationManager.notify(0, notificationBuilder.build());
+ }
+}
diff --git a/petros777/src/main/java/com/webclip/base/WebApplication.java b/petros777/src/main/java/com/webclip/base/WebApplication.java
new file mode 100644
index 0000000..36e2512
--- /dev/null
+++ b/petros777/src/main/java/com/webclip/base/WebApplication.java
@@ -0,0 +1,19 @@
+package com.webclip.base;
+
+import android.app.Application;
+import android.content.Context;
+
+import com.webclip.base.LogUtils;
+
+public class WebApplication extends Application {
+
+
+ public static Context application;
+ @Override
+ public void onCreate() {
+ super.onCreate();
+// 设置开启优化方案
+ application = this;
+ LogUtils.isDebug = BuildConfig.BUILD_TYPE.equals("debug");
+ }
+}
diff --git a/petros777/src/main/res/drawable/big_bg.xml b/petros777/src/main/res/drawable/big_bg.xml
new file mode 100644
index 0000000..aa44959
--- /dev/null
+++ b/petros777/src/main/res/drawable/big_bg.xml
@@ -0,0 +1,9 @@
+
+
+
+
\ No newline at end of file
diff --git a/petronas777/src/main/res/mipmap-xxhdpi/app_logo.png b/petros777/src/main/res/mipmap-xxhdpi/app_logo.png
similarity index 100%
rename from petronas777/src/main/res/mipmap-xxhdpi/app_logo.png
rename to petros777/src/main/res/mipmap-xxhdpi/app_logo.png
diff --git a/petros777/src/main/res/values/themes.xml b/petros777/src/main/res/values/themes.xml
new file mode 100644
index 0000000..f1ef249
--- /dev/null
+++ b/petros777/src/main/res/values/themes.xml
@@ -0,0 +1,91 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/petros777/src/main/res/xml/app_updater_paths.xml b/petros777/src/main/res/xml/app_updater_paths.xml
new file mode 100644
index 0000000..1254450
--- /dev/null
+++ b/petros777/src/main/res/xml/app_updater_paths.xml
@@ -0,0 +1,10 @@
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/petros777/src/main/res/xml/network_security_config.xml b/petros777/src/main/res/xml/network_security_config.xml
new file mode 100644
index 0000000..dca93c0
--- /dev/null
+++ b/petros777/src/main/res/xml/network_security_config.xml
@@ -0,0 +1,4 @@
+
+
+
+
\ No newline at end of file
diff --git a/petros777/src/main/res/xml/provider_paths.xml b/petros777/src/main/res/xml/provider_paths.xml
new file mode 100644
index 0000000..c9a897a
--- /dev/null
+++ b/petros777/src/main/res/xml/provider_paths.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/petros777/telur33.jks b/petros777/telur33.jks
new file mode 100644
index 0000000..f00434d
Binary files /dev/null and b/petros777/telur33.jks differ
diff --git a/settings.gradle b/settings.gradle
index 5eb5509..f1b57e2 100644
--- a/settings.gradle
+++ b/settings.gradle
@@ -48,7 +48,10 @@ include ':kaki33' //265
include ':mgmhotram'//264
include ':diriwan888' //265
include ':mg8vipmyr' //266
-
+include ':petros777' //267
+include ':1xsands' //268
+include ':jiliraja99' //269
+include ':toke66a'//270
diff --git a/toke66a/build.gradle b/toke66a/build.gradle
index 9125155..4c715b7 100644
--- a/toke66a/build.gradle
+++ b/toke66a/build.gradle
@@ -3,7 +3,7 @@ plugins {
id 'com.google.gms.google-services'
}
-def appOutPutName = "live22"
+def appOutPutName = "toke66a"
android {
namespace rootProject.ext.namespace
@@ -15,22 +15,22 @@ android {
versionName rootProject.ext.versionName
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
- applicationId "com.daidn.live22"
+ applicationId "com.adabdiad.toke66a"
//app大背景色
- resValue('color', 'windows_color', '#440F6F')
+ resValue('color', 'windows_color', '#FFFFFF')
//底部导航栏颜色 大背景颜色为 windows_color——style_color的上下渐变色
- resValue('color', 'style_color', '#360B58')
+ resValue('color', 'style_color', '#FFFFFF')
//app 名字
- resValue('string', 'app_name', 'LIVE22')
+ resValue('string', 'app_name', 'toke66a')
buildConfigField "String", "BASE_URL", "\"https://live22x.com/\""
- buildConfigField "int", "USERID", "262"
+ buildConfigField "int", "USERID", "270"
buildConfigField "boolean", "IS_WHITE", "false"
buildConfigField "boolean", "IS_ROUND", "true"
buildConfigField "int", "ROUND_RADIUS", "10"
- buildConfigField "boolean", "HAS_CONTACT", "true"
+ buildConfigField "boolean", "HAS_CONTACT", "false"
buildConfigField "boolean", "HAS_HOOK", "false"
}
diff --git a/vv88aud/.gitignore b/vv88aud/.gitignore
new file mode 100644
index 0000000..956c004
--- /dev/null
+++ b/vv88aud/.gitignore
@@ -0,0 +1,2 @@
+/build
+/release
\ No newline at end of file
diff --git a/vv88aud/build.gradle b/vv88aud/build.gradle
new file mode 100644
index 0000000..4dfa00b
--- /dev/null
+++ b/vv88aud/build.gradle
@@ -0,0 +1,93 @@
+plugins {
+ id 'com.android.application'
+ id 'com.google.gms.google-services'
+}
+
+def appOutPutName = "1xace"
+
+android {
+ namespace rootProject.ext.namespace
+ compileSdk 36
+ defaultConfig {
+ minSdkVersion 24
+ targetSdk 36
+ versionCode rootProject.ext.versionCode
+ versionName rootProject.ext.versionName
+ testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
+
+ applicationId "com.xzchzhciz.xace"
+
+ //app大背景色
+ resValue('color', 'windows_color', '#1A1A1A')
+ //底部导航栏颜色 大背景颜色为 windows_color——style_color的上下渐变色
+ resValue('color', 'style_color', '#1A1A1A')
+ //app 名字
+ resValue('string', 'app_name', '1xace')
+
+
+ buildConfigField "String", "BASE_URL", "\"https://live22x.com/\""
+ buildConfigField "int", "USERID", "275"
+ buildConfigField "boolean", "IS_WHITE", "false"
+ buildConfigField "boolean", "IS_ROUND", "true"
+ buildConfigField "int", "ROUND_RADIUS", "10"
+ buildConfigField "boolean", "HAS_CONTACT", "false"
+ buildConfigField "boolean", "HAS_HOOK", "false"
+
+ }
+ buildFeatures {
+ buildConfig = true
+ }
+
+ signingConfigs {
+ debug {
+ storeFile file('telur33.jks')
+ storePassword "android2014"
+ keyAlias 'key0'
+ keyPassword "android2014"
+ }
+ release {
+ storeFile file('telur33.jks')
+ storePassword "android2014"
+ keyAlias 'key0'
+ keyPassword "android2014"
+ }
+ }
+
+ buildTypes {
+ release {
+ signingConfig signingConfigs.release
+ minifyEnabled false
+ proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
+ }
+ }
+ compileOptions {
+ sourceCompatibility rootProject.ext.JAVA_VERSION
+ targetCompatibility rootProject.ext.JAVA_VERSION
+ }
+
+ applicationVariants.all { variant ->
+ variant.outputs.all {
+ def outputDir = new File(rootProject.ext.outputPath)
+ outputDir.mkdirs()
+ def outputFileName = "${appOutPutName}.apk"
+ setOutputFileName(outputFileName)
+ def newOutputFile = new File(outputDir, outputFileName)
+ newOutputFile.parentFile.mkdirs()
+ variant.assemble.doLast {
+ try {
+ java.nio.file.Files.copy(
+ outputFile.toPath(),
+ newOutputFile.toPath(),
+ java.nio.file.StandardCopyOption.REPLACE_EXISTING
+ )
+ } catch (java.io.IOException e) {
+ }
+ }
+ }
+ }
+
+}
+
+dependencies {
+ implementation project(path: ':base')
+}
\ No newline at end of file
diff --git a/vv88aud/google-services.json b/vv88aud/google-services.json
new file mode 100644
index 0000000..d62d9d3
--- /dev/null
+++ b/vv88aud/google-services.json
@@ -0,0 +1,29 @@
+{
+ "project_info": {
+ "project_number": "391238796519",
+ "project_id": "xace-71a6e",
+ "storage_bucket": "xace-71a6e.firebasestorage.app"
+ },
+ "client": [
+ {
+ "client_info": {
+ "mobilesdk_app_id": "1:391238796519:android:c1d52755db863f3ea34e42",
+ "android_client_info": {
+ "package_name": "com.xzchzhciz.xace"
+ }
+ },
+ "oauth_client": [],
+ "api_key": [
+ {
+ "current_key": "AIzaSyCf_2S7Mc6dkpBtKzkfgbSM7OzqKe0jdD4"
+ }
+ ],
+ "services": {
+ "appinvite_service": {
+ "other_platform_oauth_client": []
+ }
+ }
+ }
+ ],
+ "configuration_version": "1"
+}
\ No newline at end of file
diff --git a/vv88aud/justlet.jks b/vv88aud/justlet.jks
new file mode 100644
index 0000000..a33b839
Binary files /dev/null and b/vv88aud/justlet.jks differ
diff --git a/vv88aud/proguard-rules.pro b/vv88aud/proguard-rules.pro
new file mode 100644
index 0000000..107b7ee
--- /dev/null
+++ b/vv88aud/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/vv88aud/src/main/AndroidManifest.xml b/vv88aud/src/main/AndroidManifest.xml
new file mode 100644
index 0000000..7cbc0e0
--- /dev/null
+++ b/vv88aud/src/main/AndroidManifest.xml
@@ -0,0 +1,67 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/vv88aud/src/main/java/com/webclip/base/IndexActivity.java b/vv88aud/src/main/java/com/webclip/base/IndexActivity.java
new file mode 100644
index 0000000..c8e4780
--- /dev/null
+++ b/vv88aud/src/main/java/com/webclip/base/IndexActivity.java
@@ -0,0 +1,79 @@
+package com.webclip.base;
+
+import android.os.Bundle;
+
+import com.google.firebase.messaging.FirebaseMessaging;
+
+public class IndexActivity extends MainActivity {
+
+ @Override
+ protected void onCreate(Bundle savedInstanceState) {
+ initConfig();
+ super.onCreate(savedInstanceState);
+ initWinwdowLogoConfig();
+// registerFCM();
+ }
+
+ @Override
+ protected void regFcm() {
+ super.regFcm();
+ registerFCM();
+ }
+
+ /**
+ * 注册FCM
+ */
+ private void registerFCM() {
+ //订阅主题
+ LogUtils.i("支持FCM 去注册");
+ try {
+ FirebaseMessaging.getInstance().subscribeToTopic("demo")
+ .addOnCompleteListener(task -> {
+ String msg = "Subscribed";
+ if (!task.isSuccessful()) {
+ msg = "Subscribe failed";
+ }else{
+ checkNotify();
+ }
+ LogUtils.i("支持FCM 结果:"+msg);
+ });
+ }catch (Exception e){
+ e.printStackTrace();
+ LogUtils.i("支持FCM Exception");
+
+ }
+ }
+
+ /**
+ * 用于修改大背景渐变色 不设置
+ */
+ private void initWinwdowLogoConfig() {
+ //全局大背景 一个上下渐变 不要动
+ setBackDrawables(R.drawable.big_bg);
+ setImageView(BuildConfig.IS_ROUND,BuildConfig.ROUND_RADIUS);
+ getWindow().getDecorView().setBackgroundResource(R.drawable.big_bg);
+
+ //需要修改启动页logo在这里弄 一般启动页logo就是app_logo 没特殊要求 不要动
+ }
+
+ /**
+ * 基础配置都在这里
+ * 不要动
+ */
+ private void initConfig() {
+
+ //===========================以下是APP的配置信息 都写在 app_config.xml中==================================
+ userId = BuildConfig.USERID;
+ saveInt(IndexActivity.this,"user_code",userId);
+
+ saveString(this, "base_url",BuildConfig.BASE_URL);
+ styleColor = getColor(R.color.style_color);
+ windowsColor = getColor(R.color.windows_color);
+ isWhite = BuildConfig.IS_WHITE;
+ hasContact = BuildConfig.HAS_CONTACT;
+ hasHook = BuildConfig.HAS_HOOK;
+
+ //===========================以上是APP的配置信息 都写在 app_config.xml中==================================
+ }
+
+}
diff --git a/vv88aud/src/main/java/com/webclip/base/MyFirebaseMessageingService.java b/vv88aud/src/main/java/com/webclip/base/MyFirebaseMessageingService.java
new file mode 100644
index 0000000..36f2d65
--- /dev/null
+++ b/vv88aud/src/main/java/com/webclip/base/MyFirebaseMessageingService.java
@@ -0,0 +1,125 @@
+package com.webclip.base;
+
+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.webclip.base.GsonUtils;
+import com.webclip.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);
+ } else {
+ //收到通知 创建notify
+ if (remoteMessage.getNotification() != null) {
+ showNotification(remoteMessage.getNotification().getTitle(), remoteMessage.getNotification().getBody());
+ }
+ }
+ }
+
+ private void showNotification(MessageInfo messageInfo) {
+ Intent notifyIntent = new Intent(this, IndexActivity.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);
+ 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(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(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, IndexActivity.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(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(R.string.app_name))
+ .setSmallIcon(R.mipmap.app_logo)
+ .setContentTitle(title)
+ .setContentText(body)
+ .setAutoCancel(true)
+ .setContentIntent(pendingIntent);
+ }
+ notificationManager.notify(0, notificationBuilder.build());
+ }
+}
diff --git a/vv88aud/src/main/java/com/webclip/base/WebApplication.java b/vv88aud/src/main/java/com/webclip/base/WebApplication.java
new file mode 100644
index 0000000..36e2512
--- /dev/null
+++ b/vv88aud/src/main/java/com/webclip/base/WebApplication.java
@@ -0,0 +1,19 @@
+package com.webclip.base;
+
+import android.app.Application;
+import android.content.Context;
+
+import com.webclip.base.LogUtils;
+
+public class WebApplication extends Application {
+
+
+ public static Context application;
+ @Override
+ public void onCreate() {
+ super.onCreate();
+// 设置开启优化方案
+ application = this;
+ LogUtils.isDebug = BuildConfig.BUILD_TYPE.equals("debug");
+ }
+}
diff --git a/vv88aud/src/main/res/drawable/big_bg.xml b/vv88aud/src/main/res/drawable/big_bg.xml
new file mode 100644
index 0000000..aa44959
--- /dev/null
+++ b/vv88aud/src/main/res/drawable/big_bg.xml
@@ -0,0 +1,9 @@
+
+
+
+
\ No newline at end of file
diff --git a/vv88aud/src/main/res/mipmap-xxhdpi/app_logo.png b/vv88aud/src/main/res/mipmap-xxhdpi/app_logo.png
new file mode 100644
index 0000000..e849f0e
Binary files /dev/null and b/vv88aud/src/main/res/mipmap-xxhdpi/app_logo.png differ
diff --git a/vv88aud/src/main/res/values/themes.xml b/vv88aud/src/main/res/values/themes.xml
new file mode 100644
index 0000000..f1ef249
--- /dev/null
+++ b/vv88aud/src/main/res/values/themes.xml
@@ -0,0 +1,91 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/vv88aud/src/main/res/xml/app_updater_paths.xml b/vv88aud/src/main/res/xml/app_updater_paths.xml
new file mode 100644
index 0000000..1254450
--- /dev/null
+++ b/vv88aud/src/main/res/xml/app_updater_paths.xml
@@ -0,0 +1,10 @@
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/vv88aud/src/main/res/xml/network_security_config.xml b/vv88aud/src/main/res/xml/network_security_config.xml
new file mode 100644
index 0000000..dca93c0
--- /dev/null
+++ b/vv88aud/src/main/res/xml/network_security_config.xml
@@ -0,0 +1,4 @@
+
+
+
+
\ No newline at end of file
diff --git a/vv88aud/src/main/res/xml/provider_paths.xml b/vv88aud/src/main/res/xml/provider_paths.xml
new file mode 100644
index 0000000..c9a897a
--- /dev/null
+++ b/vv88aud/src/main/res/xml/provider_paths.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/vv88aud/telur33.jks b/vv88aud/telur33.jks
new file mode 100644
index 0000000..f00434d
Binary files /dev/null and b/vv88aud/telur33.jks differ
diff --git a/xoxau/.gitignore b/xoxau/.gitignore
new file mode 100644
index 0000000..956c004
--- /dev/null
+++ b/xoxau/.gitignore
@@ -0,0 +1,2 @@
+/build
+/release
\ No newline at end of file
diff --git a/xoxau/build.gradle b/xoxau/build.gradle
new file mode 100644
index 0000000..c911639
--- /dev/null
+++ b/xoxau/build.gradle
@@ -0,0 +1,93 @@
+plugins {
+ id 'com.android.application'
+ id 'com.google.gms.google-services'
+}
+
+def appOutPutName = "xmeth98"
+
+android {
+ namespace rootProject.ext.namespace
+ compileSdk 36
+ defaultConfig {
+ minSdkVersion 24
+ targetSdk 36
+ versionCode rootProject.ext.versionCode
+ versionName rootProject.ext.versionName
+ testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
+
+ applicationId "com.dhaisdhaida.xmelth98"
+
+ //app大背景色
+ resValue('color', 'windows_color', '#1A1A1A')
+ //底部导航栏颜色 大背景颜色为 windows_color——style_color的上下渐变色
+ resValue('color', 'style_color', '#1A1A1A')
+ //app 名字
+ resValue('string', 'app_name', 'XMETH98')
+
+
+ buildConfigField "String", "BASE_URL", "\"https://live22x.com/\""
+ buildConfigField "int", "USERID", "273"
+ buildConfigField "boolean", "IS_WHITE", "false"
+ buildConfigField "boolean", "IS_ROUND", "true"
+ buildConfigField "int", "ROUND_RADIUS", "10"
+ buildConfigField "boolean", "HAS_CONTACT", "false"
+ buildConfigField "boolean", "HAS_HOOK", "false"
+
+ }
+ buildFeatures {
+ buildConfig = true
+ }
+
+ signingConfigs {
+ debug {
+ storeFile file('telur33.jks')
+ storePassword "android2014"
+ keyAlias 'key0'
+ keyPassword "android2014"
+ }
+ release {
+ storeFile file('telur33.jks')
+ storePassword "android2014"
+ keyAlias 'key0'
+ keyPassword "android2014"
+ }
+ }
+
+ buildTypes {
+ release {
+ signingConfig signingConfigs.release
+ minifyEnabled false
+ proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
+ }
+ }
+ compileOptions {
+ sourceCompatibility rootProject.ext.JAVA_VERSION
+ targetCompatibility rootProject.ext.JAVA_VERSION
+ }
+
+ applicationVariants.all { variant ->
+ variant.outputs.all {
+ def outputDir = new File(rootProject.ext.outputPath)
+ outputDir.mkdirs()
+ def outputFileName = "${appOutPutName}.apk"
+ setOutputFileName(outputFileName)
+ def newOutputFile = new File(outputDir, outputFileName)
+ newOutputFile.parentFile.mkdirs()
+ variant.assemble.doLast {
+ try {
+ java.nio.file.Files.copy(
+ outputFile.toPath(),
+ newOutputFile.toPath(),
+ java.nio.file.StandardCopyOption.REPLACE_EXISTING
+ )
+ } catch (java.io.IOException e) {
+ }
+ }
+ }
+ }
+
+}
+
+dependencies {
+ implementation project(path: ':base')
+}
\ No newline at end of file
diff --git a/xoxau/google-services.json b/xoxau/google-services.json
new file mode 100644
index 0000000..c9662ac
--- /dev/null
+++ b/xoxau/google-services.json
@@ -0,0 +1,29 @@
+{
+ "project_info": {
+ "project_number": "910239798792",
+ "project_id": "xmeth98-c2ad4",
+ "storage_bucket": "xmeth98-c2ad4.firebasestorage.app"
+ },
+ "client": [
+ {
+ "client_info": {
+ "mobilesdk_app_id": "1:910239798792:android:a27e2ddea2bada4c6be3bd",
+ "android_client_info": {
+ "package_name": "com.dhaisdhaida.xmelth98"
+ }
+ },
+ "oauth_client": [],
+ "api_key": [
+ {
+ "current_key": "AIzaSyC-ZfR6T_F9L1qGRNUKg875ldSod_1xX94"
+ }
+ ],
+ "services": {
+ "appinvite_service": {
+ "other_platform_oauth_client": []
+ }
+ }
+ }
+ ],
+ "configuration_version": "1"
+}
\ No newline at end of file
diff --git a/xoxau/justlet.jks b/xoxau/justlet.jks
new file mode 100644
index 0000000..a33b839
Binary files /dev/null and b/xoxau/justlet.jks differ
diff --git a/xoxau/proguard-rules.pro b/xoxau/proguard-rules.pro
new file mode 100644
index 0000000..107b7ee
--- /dev/null
+++ b/xoxau/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/xoxau/src/main/AndroidManifest.xml b/xoxau/src/main/AndroidManifest.xml
new file mode 100644
index 0000000..7cbc0e0
--- /dev/null
+++ b/xoxau/src/main/AndroidManifest.xml
@@ -0,0 +1,67 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/xoxau/src/main/java/com/webclip/base/IndexActivity.java b/xoxau/src/main/java/com/webclip/base/IndexActivity.java
new file mode 100644
index 0000000..c8e4780
--- /dev/null
+++ b/xoxau/src/main/java/com/webclip/base/IndexActivity.java
@@ -0,0 +1,79 @@
+package com.webclip.base;
+
+import android.os.Bundle;
+
+import com.google.firebase.messaging.FirebaseMessaging;
+
+public class IndexActivity extends MainActivity {
+
+ @Override
+ protected void onCreate(Bundle savedInstanceState) {
+ initConfig();
+ super.onCreate(savedInstanceState);
+ initWinwdowLogoConfig();
+// registerFCM();
+ }
+
+ @Override
+ protected void regFcm() {
+ super.regFcm();
+ registerFCM();
+ }
+
+ /**
+ * 注册FCM
+ */
+ private void registerFCM() {
+ //订阅主题
+ LogUtils.i("支持FCM 去注册");
+ try {
+ FirebaseMessaging.getInstance().subscribeToTopic("demo")
+ .addOnCompleteListener(task -> {
+ String msg = "Subscribed";
+ if (!task.isSuccessful()) {
+ msg = "Subscribe failed";
+ }else{
+ checkNotify();
+ }
+ LogUtils.i("支持FCM 结果:"+msg);
+ });
+ }catch (Exception e){
+ e.printStackTrace();
+ LogUtils.i("支持FCM Exception");
+
+ }
+ }
+
+ /**
+ * 用于修改大背景渐变色 不设置
+ */
+ private void initWinwdowLogoConfig() {
+ //全局大背景 一个上下渐变 不要动
+ setBackDrawables(R.drawable.big_bg);
+ setImageView(BuildConfig.IS_ROUND,BuildConfig.ROUND_RADIUS);
+ getWindow().getDecorView().setBackgroundResource(R.drawable.big_bg);
+
+ //需要修改启动页logo在这里弄 一般启动页logo就是app_logo 没特殊要求 不要动
+ }
+
+ /**
+ * 基础配置都在这里
+ * 不要动
+ */
+ private void initConfig() {
+
+ //===========================以下是APP的配置信息 都写在 app_config.xml中==================================
+ userId = BuildConfig.USERID;
+ saveInt(IndexActivity.this,"user_code",userId);
+
+ saveString(this, "base_url",BuildConfig.BASE_URL);
+ styleColor = getColor(R.color.style_color);
+ windowsColor = getColor(R.color.windows_color);
+ isWhite = BuildConfig.IS_WHITE;
+ hasContact = BuildConfig.HAS_CONTACT;
+ hasHook = BuildConfig.HAS_HOOK;
+
+ //===========================以上是APP的配置信息 都写在 app_config.xml中==================================
+ }
+
+}
diff --git a/xoxau/src/main/java/com/webclip/base/MyFirebaseMessageingService.java b/xoxau/src/main/java/com/webclip/base/MyFirebaseMessageingService.java
new file mode 100644
index 0000000..36f2d65
--- /dev/null
+++ b/xoxau/src/main/java/com/webclip/base/MyFirebaseMessageingService.java
@@ -0,0 +1,125 @@
+package com.webclip.base;
+
+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.webclip.base.GsonUtils;
+import com.webclip.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);
+ } else {
+ //收到通知 创建notify
+ if (remoteMessage.getNotification() != null) {
+ showNotification(remoteMessage.getNotification().getTitle(), remoteMessage.getNotification().getBody());
+ }
+ }
+ }
+
+ private void showNotification(MessageInfo messageInfo) {
+ Intent notifyIntent = new Intent(this, IndexActivity.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);
+ 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(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(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, IndexActivity.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(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(R.string.app_name))
+ .setSmallIcon(R.mipmap.app_logo)
+ .setContentTitle(title)
+ .setContentText(body)
+ .setAutoCancel(true)
+ .setContentIntent(pendingIntent);
+ }
+ notificationManager.notify(0, notificationBuilder.build());
+ }
+}
diff --git a/xoxau/src/main/java/com/webclip/base/WebApplication.java b/xoxau/src/main/java/com/webclip/base/WebApplication.java
new file mode 100644
index 0000000..36e2512
--- /dev/null
+++ b/xoxau/src/main/java/com/webclip/base/WebApplication.java
@@ -0,0 +1,19 @@
+package com.webclip.base;
+
+import android.app.Application;
+import android.content.Context;
+
+import com.webclip.base.LogUtils;
+
+public class WebApplication extends Application {
+
+
+ public static Context application;
+ @Override
+ public void onCreate() {
+ super.onCreate();
+// 设置开启优化方案
+ application = this;
+ LogUtils.isDebug = BuildConfig.BUILD_TYPE.equals("debug");
+ }
+}
diff --git a/xoxau/src/main/res/drawable/big_bg.xml b/xoxau/src/main/res/drawable/big_bg.xml
new file mode 100644
index 0000000..aa44959
--- /dev/null
+++ b/xoxau/src/main/res/drawable/big_bg.xml
@@ -0,0 +1,9 @@
+
+
+
+
\ No newline at end of file
diff --git a/xoxau/src/main/res/mipmap-xxhdpi/app_logo.jpg b/xoxau/src/main/res/mipmap-xxhdpi/app_logo.jpg
new file mode 100644
index 0000000..38c5aef
Binary files /dev/null and b/xoxau/src/main/res/mipmap-xxhdpi/app_logo.jpg differ
diff --git a/xoxau/src/main/res/values/themes.xml b/xoxau/src/main/res/values/themes.xml
new file mode 100644
index 0000000..f1ef249
--- /dev/null
+++ b/xoxau/src/main/res/values/themes.xml
@@ -0,0 +1,91 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/xoxau/src/main/res/xml/app_updater_paths.xml b/xoxau/src/main/res/xml/app_updater_paths.xml
new file mode 100644
index 0000000..1254450
--- /dev/null
+++ b/xoxau/src/main/res/xml/app_updater_paths.xml
@@ -0,0 +1,10 @@
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/xoxau/src/main/res/xml/network_security_config.xml b/xoxau/src/main/res/xml/network_security_config.xml
new file mode 100644
index 0000000..dca93c0
--- /dev/null
+++ b/xoxau/src/main/res/xml/network_security_config.xml
@@ -0,0 +1,4 @@
+
+
+
+
\ No newline at end of file
diff --git a/xoxau/src/main/res/xml/provider_paths.xml b/xoxau/src/main/res/xml/provider_paths.xml
new file mode 100644
index 0000000..c9a897a
--- /dev/null
+++ b/xoxau/src/main/res/xml/provider_paths.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/xoxau/telur33.jks b/xoxau/telur33.jks
new file mode 100644
index 0000000..f00434d
Binary files /dev/null and b/xoxau/telur33.jks differ