V1.1(2) max
15
.gitignore
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
*.iml
|
||||
.gradle
|
||||
/local.properties
|
||||
/.idea/caches
|
||||
/.idea/libraries
|
||||
/.idea/modules.xml
|
||||
/.idea/workspace.xml
|
||||
/.idea/navEditor.xml
|
||||
/.idea/assetWizardSettings.xml
|
||||
.DS_Store
|
||||
/build
|
||||
/captures
|
||||
.externalNativeBuild
|
||||
.cxx
|
||||
local.properties
|
||||
1
app/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
/build
|
||||
116
app/build.gradle.kts
Normal file
@ -0,0 +1,116 @@
|
||||
import java.text.SimpleDateFormat
|
||||
import java.util.Date
|
||||
|
||||
plugins {
|
||||
alias(libs.plugins.android.application)
|
||||
alias(libs.plugins.kotlin.android)
|
||||
id("kotlin-kapt")
|
||||
id("kotlin-parcelize")
|
||||
id("com.google.gms.google-services")
|
||||
id("com.google.firebase.crashlytics")
|
||||
id("applovin-quality-service")
|
||||
}
|
||||
applovin {
|
||||
apiKey = "BZDQbDZMA_vHnf2beVZtUdTM4e_7yAGWognV5U_oPzbJD8Pfr54orKJFNRCVscsx1Hdx3ZR_Rbb8DHH8wHbAvw"
|
||||
}
|
||||
android {
|
||||
val timeStamp: String = SimpleDateFormat("MM_dd_HH_mm").format(Date())
|
||||
namespace = "com.apps.sketchmaster"
|
||||
compileSdk = 35
|
||||
|
||||
defaultConfig {
|
||||
applicationId = "com.apps.sketchmaster"
|
||||
minSdk = 24
|
||||
targetSdk = 35
|
||||
versionCode = 2
|
||||
versionName = "1.1"
|
||||
setProperty(
|
||||
"archivesBaseName",
|
||||
"Sketch Master_V" + versionName + "(${versionCode})_$timeStamp"
|
||||
)
|
||||
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
||||
}
|
||||
|
||||
buildTypes {
|
||||
release {
|
||||
isMinifyEnabled = true
|
||||
proguardFiles(
|
||||
getDefaultProguardFile("proguard-android-optimize.txt"),
|
||||
"proguard-rules.pro"
|
||||
)
|
||||
}
|
||||
}
|
||||
compileOptions {
|
||||
sourceCompatibility = JavaVersion.VERSION_11
|
||||
targetCompatibility = JavaVersion.VERSION_11
|
||||
}
|
||||
buildFeatures{
|
||||
viewBinding=true
|
||||
}
|
||||
kotlinOptions {
|
||||
jvmTarget = "11"
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
|
||||
implementation(libs.androidx.core.ktx)
|
||||
implementation(libs.androidx.appcompat)
|
||||
implementation(libs.material)
|
||||
implementation(libs.androidx.activity)
|
||||
implementation(libs.androidx.constraintlayout)
|
||||
testImplementation(libs.junit)
|
||||
androidTestImplementation(libs.androidx.junit)
|
||||
androidTestImplementation(libs.androidx.espresso.core)
|
||||
// Room components
|
||||
implementation(libs.androidx.room.runtime)
|
||||
kapt(libs.androidx.room.compiler)
|
||||
//noinspection GradleDependency
|
||||
implementation(libs.androidx.room.ktx)
|
||||
|
||||
// Lifecycle components
|
||||
implementation(libs.androidx.lifecycle.viewmodel.ktx)
|
||||
//noinspection GradleDependency
|
||||
implementation(libs.androidx.lifecycle.livedata.ktx)
|
||||
|
||||
// Activity KTX (for ViewModel)
|
||||
//noinspection GradleDependency
|
||||
implementation(libs.androidx.activity.ktx)
|
||||
|
||||
// Glide
|
||||
implementation(libs.glide)
|
||||
implementation(libs.androidsvg)
|
||||
|
||||
// CameraX 相关依赖 (最新稳定版)
|
||||
implementation(libs.androidx.camera.core)
|
||||
implementation(libs.androidx.camera.camera2)
|
||||
implementation(libs.androidx.camera.lifecycle)
|
||||
implementation(libs.androidx.camera.view)
|
||||
implementation(libs.androidx.camera.extensions)
|
||||
|
||||
implementation(files("libs/UpLoadLibrary_07_03_11_54-release.aar"))
|
||||
implementation(files("libs/MaxLibrary_08_08_15_08-release.aar"))
|
||||
|
||||
|
||||
implementation(platform("com.google.firebase:firebase-bom:33.7.0"))
|
||||
implementation("com.google.firebase:firebase-crashlytics")
|
||||
implementation("com.google.firebase:firebase-analytics")
|
||||
implementation("com.google.firebase:firebase-config")
|
||||
|
||||
implementation ("com.squareup.okhttp3:okhttp:4.12.0")
|
||||
implementation("com.squareup.okhttp3:logging-interceptor:4.12.0")
|
||||
|
||||
//Max(BIGO Ads、Chartboost、DT Exchange、InMobi、ironSource、Liftoff Monetize、Mintegral、Pangle)
|
||||
implementation("com.applovin:applovin-sdk:+")
|
||||
implementation("com.applovin.mediation:bigoads-adapter:+")
|
||||
implementation("com.applovin.mediation:chartboost-adapter:+")
|
||||
implementation("com.google.android.gms:play-services-base:16.1.0")
|
||||
implementation("com.applovin.mediation:fyber-adapter:+")
|
||||
implementation("com.applovin.mediation:inmobi-adapter:+")
|
||||
implementation("com.squareup.picasso:picasso:2.8")
|
||||
implementation("androidx.recyclerview:recyclerview:1.1.0")
|
||||
implementation("com.applovin.mediation:ironsource-adapter:+")
|
||||
implementation("com.applovin.mediation:vungle-adapter:+")
|
||||
implementation("com.applovin.mediation:mintegral-adapter:+")
|
||||
implementation("com.applovin.mediation:bytedance-adapter:+")
|
||||
}
|
||||
29
app/google-services.json
Normal file
@ -0,0 +1,29 @@
|
||||
{
|
||||
"project_info": {
|
||||
"project_number": "751074193027",
|
||||
"project_id": "sketch-master-9f917",
|
||||
"storage_bucket": "sketch-master-9f917.firebasestorage.app"
|
||||
},
|
||||
"client": [
|
||||
{
|
||||
"client_info": {
|
||||
"mobilesdk_app_id": "1:751074193027:android:4183c3717dff0d59d735b6",
|
||||
"android_client_info": {
|
||||
"package_name": "com.apps.sketchmaster"
|
||||
}
|
||||
},
|
||||
"oauth_client": [],
|
||||
"api_key": [
|
||||
{
|
||||
"current_key": "AIzaSyCdsZ677J8g3SEy376qKPoR-xMOljicZJQ"
|
||||
}
|
||||
],
|
||||
"services": {
|
||||
"appinvite_service": {
|
||||
"other_platform_oauth_client": []
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"configuration_version": "1"
|
||||
}
|
||||
BIN
app/libs/MaxLibrary_08_08_15_08-release.aar
Normal file
BIN
app/libs/UpLoadLibrary_07_03_11_54-release.aar
Normal file
21
app/proguard-rules.pro
vendored
Normal file
@ -0,0 +1,21 @@
|
||||
# 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
|
||||
@ -0,0 +1,24 @@
|
||||
package com.apps.sketchmaster
|
||||
|
||||
import androidx.test.platform.app.InstrumentationRegistry
|
||||
import androidx.test.ext.junit.runners.AndroidJUnit4
|
||||
|
||||
import org.junit.Test
|
||||
import org.junit.runner.RunWith
|
||||
|
||||
import org.junit.Assert.*
|
||||
|
||||
/**
|
||||
* Instrumented test, which will execute on an Android device.
|
||||
*
|
||||
* See [testing documentation](http://d.android.com/tools/testing).
|
||||
*/
|
||||
@RunWith(AndroidJUnit4::class)
|
||||
class ExampleInstrumentedTest {
|
||||
@Test
|
||||
fun useAppContext() {
|
||||
// Context of the app under test.
|
||||
val appContext = InstrumentationRegistry.getInstrumentation().targetContext
|
||||
assertEquals("com.apps.sketchmaster", appContext.packageName)
|
||||
}
|
||||
}
|
||||
52
app/src/main/AndroidManifest.xml
Normal file
@ -0,0 +1,52 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools">
|
||||
|
||||
<uses-permission android:name="android.permission.CAMERA" />
|
||||
|
||||
<uses-feature android:name="android.hardware.camera" />
|
||||
|
||||
<application
|
||||
android:name=".SketchApp"
|
||||
android:allowBackup="true"
|
||||
android:dataExtractionRules="@xml/data_extraction_rules"
|
||||
android:fullBackupContent="@xml/backup_rules"
|
||||
android:icon="@mipmap/ic_launcher"
|
||||
android:label="@string/app_name"
|
||||
android:roundIcon="@mipmap/ic_launcher"
|
||||
android:supportsRtl="true"
|
||||
android:networkSecurityConfig="@xml/net"
|
||||
android:theme="@style/Base.Theme.SketchMaster"
|
||||
tools:targetApi="31">
|
||||
<activity
|
||||
android:name=".view.SketchStartActivity"
|
||||
android:theme="@style/Theme.SketchMaster.Draw"
|
||||
android:exported="false" />
|
||||
<activity
|
||||
android:name=".view.ShowTitleActivity"
|
||||
android:exported="false" />
|
||||
<activity
|
||||
android:name=".view.MainViewActivity"
|
||||
android:exported="false" />
|
||||
<activity
|
||||
android:name=".view.LauncherActivity"
|
||||
android:exported="true">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.MAIN" />
|
||||
|
||||
<category android:name="android.intent.category.LAUNCHER" />
|
||||
</intent-filter>
|
||||
</activity>
|
||||
|
||||
<provider
|
||||
android:name="androidx.core.content.FileProvider"
|
||||
android:authorities="${applicationId}.fileprovider"
|
||||
android:exported="false"
|
||||
android:grantUriPermissions="true">
|
||||
<meta-data
|
||||
android:name="android.support.FILE_PROVIDER_PATHS"
|
||||
android:resource="@xml/file_paths" />
|
||||
</provider>
|
||||
</application>
|
||||
|
||||
</manifest>
|
||||
BIN
app/src/main/assets/arimo.ttf
Normal file
1
app/src/main/assets/local_Aesthetic/1.svg
Normal file
|
After Width: | Height: | Size: 912 KiB |
1
app/src/main/assets/local_Aesthetic/2.svg
Normal file
|
After Width: | Height: | Size: 140 KiB |
1
app/src/main/assets/local_Aesthetic/3.svg
Normal file
|
After Width: | Height: | Size: 112 KiB |
1
app/src/main/assets/local_Aesthetic/4.svg
Normal file
|
After Width: | Height: | Size: 6.0 KiB |
1
app/src/main/assets/local_Aesthetic/5.svg
Normal file
|
After Width: | Height: | Size: 99 KiB |
1
app/src/main/assets/local_Aesthetic/6.svg
Normal file
|
After Width: | Height: | Size: 7.1 KiB |
BIN
app/src/main/assets/local_Animals/1.jpg
Normal file
|
After Width: | Height: | Size: 89 KiB |
1
app/src/main/assets/local_Animals/1.svg
Normal file
|
After Width: | Height: | Size: 69 KiB |
BIN
app/src/main/assets/local_Animals/10.jpg
Normal file
|
After Width: | Height: | Size: 29 KiB |
BIN
app/src/main/assets/local_Animals/11.jpg
Normal file
|
After Width: | Height: | Size: 55 KiB |
BIN
app/src/main/assets/local_Animals/12.jpg
Normal file
|
After Width: | Height: | Size: 44 KiB |
BIN
app/src/main/assets/local_Animals/13.jpg
Normal file
|
After Width: | Height: | Size: 37 KiB |
BIN
app/src/main/assets/local_Animals/14.jpg
Normal file
|
After Width: | Height: | Size: 12 KiB |
BIN
app/src/main/assets/local_Animals/15.jpg
Normal file
|
After Width: | Height: | Size: 87 KiB |
BIN
app/src/main/assets/local_Animals/16.jpg
Normal file
|
After Width: | Height: | Size: 21 KiB |
BIN
app/src/main/assets/local_Animals/17.jpg
Normal file
|
After Width: | Height: | Size: 14 KiB |
BIN
app/src/main/assets/local_Animals/18.jpg
Normal file
|
After Width: | Height: | Size: 19 KiB |
BIN
app/src/main/assets/local_Animals/19.jpg
Normal file
|
After Width: | Height: | Size: 18 KiB |
BIN
app/src/main/assets/local_Animals/2.jpg
Normal file
|
After Width: | Height: | Size: 108 KiB |
1
app/src/main/assets/local_Animals/2.svg
Normal file
|
After Width: | Height: | Size: 27 KiB |
BIN
app/src/main/assets/local_Animals/20.jpg
Normal file
|
After Width: | Height: | Size: 13 KiB |
BIN
app/src/main/assets/local_Animals/21.jpg
Normal file
|
After Width: | Height: | Size: 12 KiB |
BIN
app/src/main/assets/local_Animals/22.jpg
Normal file
|
After Width: | Height: | Size: 17 KiB |
BIN
app/src/main/assets/local_Animals/23.jpg
Normal file
|
After Width: | Height: | Size: 18 KiB |
BIN
app/src/main/assets/local_Animals/24.jpg
Normal file
|
After Width: | Height: | Size: 16 KiB |
BIN
app/src/main/assets/local_Animals/25.jpg
Normal file
|
After Width: | Height: | Size: 9.0 KiB |
BIN
app/src/main/assets/local_Animals/26.jpg
Normal file
|
After Width: | Height: | Size: 13 KiB |
BIN
app/src/main/assets/local_Animals/27.jpg
Normal file
|
After Width: | Height: | Size: 21 KiB |
BIN
app/src/main/assets/local_Animals/28.jpg
Normal file
|
After Width: | Height: | Size: 22 KiB |
BIN
app/src/main/assets/local_Animals/29.jpg
Normal file
|
After Width: | Height: | Size: 29 KiB |
BIN
app/src/main/assets/local_Animals/3.jpg
Normal file
|
After Width: | Height: | Size: 15 KiB |
1
app/src/main/assets/local_Animals/3.svg
Normal file
|
After Width: | Height: | Size: 49 KiB |
BIN
app/src/main/assets/local_Animals/30.jpg
Normal file
|
After Width: | Height: | Size: 33 KiB |
BIN
app/src/main/assets/local_Animals/31.jpg
Normal file
|
After Width: | Height: | Size: 36 KiB |
BIN
app/src/main/assets/local_Animals/4.jpg
Normal file
|
After Width: | Height: | Size: 26 KiB |
1
app/src/main/assets/local_Animals/4.svg
Normal file
|
After Width: | Height: | Size: 40 KiB |
BIN
app/src/main/assets/local_Animals/5.jpg
Normal file
|
After Width: | Height: | Size: 16 KiB |
1
app/src/main/assets/local_Animals/5.svg
Normal file
|
After Width: | Height: | Size: 67 KiB |
BIN
app/src/main/assets/local_Animals/6.jpg
Normal file
|
After Width: | Height: | Size: 18 KiB |
1
app/src/main/assets/local_Animals/6.svg
Normal file
|
After Width: | Height: | Size: 115 KiB |
BIN
app/src/main/assets/local_Animals/7.jpg
Normal file
|
After Width: | Height: | Size: 19 KiB |
1
app/src/main/assets/local_Animals/7.svg
Normal file
|
After Width: | Height: | Size: 16 KiB |
BIN
app/src/main/assets/local_Animals/8.jpg
Normal file
|
After Width: | Height: | Size: 17 KiB |
BIN
app/src/main/assets/local_Animals/9.jpg
Normal file
|
After Width: | Height: | Size: 22 KiB |
BIN
app/src/main/assets/local_Architectures/1.jpg
Normal file
|
After Width: | Height: | Size: 27 KiB |
1
app/src/main/assets/local_Architectures/1.svg
Normal file
|
After Width: | Height: | Size: 1.8 MiB |
BIN
app/src/main/assets/local_Architectures/10.jpg
Normal file
|
After Width: | Height: | Size: 44 KiB |
BIN
app/src/main/assets/local_Architectures/11.jpg
Normal file
|
After Width: | Height: | Size: 28 KiB |
BIN
app/src/main/assets/local_Architectures/12.jpg
Normal file
|
After Width: | Height: | Size: 44 KiB |
BIN
app/src/main/assets/local_Architectures/13.jpg
Normal file
|
After Width: | Height: | Size: 29 KiB |
BIN
app/src/main/assets/local_Architectures/14.jpg
Normal file
|
After Width: | Height: | Size: 41 KiB |
BIN
app/src/main/assets/local_Architectures/15.jpg
Normal file
|
After Width: | Height: | Size: 30 KiB |
BIN
app/src/main/assets/local_Architectures/16.jpg
Normal file
|
After Width: | Height: | Size: 20 KiB |
BIN
app/src/main/assets/local_Architectures/17.jpg
Normal file
|
After Width: | Height: | Size: 27 KiB |
BIN
app/src/main/assets/local_Architectures/18.jpg
Normal file
|
After Width: | Height: | Size: 29 KiB |
BIN
app/src/main/assets/local_Architectures/19.jpg
Normal file
|
After Width: | Height: | Size: 26 KiB |
BIN
app/src/main/assets/local_Architectures/2.jpg
Normal file
|
After Width: | Height: | Size: 28 KiB |
1
app/src/main/assets/local_Architectures/2.svg
Normal file
|
After Width: | Height: | Size: 86 KiB |
BIN
app/src/main/assets/local_Architectures/3.jpg
Normal file
|
After Width: | Height: | Size: 31 KiB |
1
app/src/main/assets/local_Architectures/3.svg
Normal file
|
After Width: | Height: | Size: 7.6 KiB |
BIN
app/src/main/assets/local_Architectures/4.jpg
Normal file
|
After Width: | Height: | Size: 31 KiB |
1
app/src/main/assets/local_Architectures/4.svg
Normal file
|
After Width: | Height: | Size: 146 KiB |
BIN
app/src/main/assets/local_Architectures/5.jpg
Normal file
|
After Width: | Height: | Size: 34 KiB |
1
app/src/main/assets/local_Architectures/5.svg
Normal file
|
After Width: | Height: | Size: 14 KiB |
BIN
app/src/main/assets/local_Architectures/6.jpg
Normal file
|
After Width: | Height: | Size: 27 KiB |
1
app/src/main/assets/local_Architectures/6.svg
Normal file
|
After Width: | Height: | Size: 16 KiB |
BIN
app/src/main/assets/local_Architectures/7.jpg
Normal file
|
After Width: | Height: | Size: 50 KiB |
BIN
app/src/main/assets/local_Architectures/8.jpg
Normal file
|
After Width: | Height: | Size: 35 KiB |
BIN
app/src/main/assets/local_Architectures/9.jpg
Normal file
|
After Width: | Height: | Size: 34 KiB |
BIN
app/src/main/assets/local_Birds/1.jpg
Normal file
|
After Width: | Height: | Size: 13 KiB |
BIN
app/src/main/assets/local_Birds/10.jpg
Normal file
|
After Width: | Height: | Size: 18 KiB |
BIN
app/src/main/assets/local_Birds/11.jpg
Normal file
|
After Width: | Height: | Size: 21 KiB |
BIN
app/src/main/assets/local_Birds/12.jpg
Normal file
|
After Width: | Height: | Size: 20 KiB |
BIN
app/src/main/assets/local_Birds/13.jpg
Normal file
|
After Width: | Height: | Size: 21 KiB |
BIN
app/src/main/assets/local_Birds/14.jpg
Normal file
|
After Width: | Height: | Size: 41 KiB |
BIN
app/src/main/assets/local_Birds/15.jpg
Normal file
|
After Width: | Height: | Size: 21 KiB |
BIN
app/src/main/assets/local_Birds/16.jpg
Normal file
|
After Width: | Height: | Size: 22 KiB |
BIN
app/src/main/assets/local_Birds/17.jpg
Normal file
|
After Width: | Height: | Size: 33 KiB |
BIN
app/src/main/assets/local_Birds/18.jpg
Normal file
|
After Width: | Height: | Size: 20 KiB |
BIN
app/src/main/assets/local_Birds/19.jpg
Normal file
|
After Width: | Height: | Size: 18 KiB |
BIN
app/src/main/assets/local_Birds/2.jpg
Normal file
|
After Width: | Height: | Size: 17 KiB |
BIN
app/src/main/assets/local_Birds/3.jpg
Normal file
|
After Width: | Height: | Size: 22 KiB |
BIN
app/src/main/assets/local_Birds/4.jpg
Normal file
|
After Width: | Height: | Size: 22 KiB |
BIN
app/src/main/assets/local_Birds/5.jpg
Normal file
|
After Width: | Height: | Size: 17 KiB |
BIN
app/src/main/assets/local_Birds/6.jpg
Normal file
|
After Width: | Height: | Size: 14 KiB |
BIN
app/src/main/assets/local_Birds/7.jpg
Normal file
|
After Width: | Height: | Size: 22 KiB |
BIN
app/src/main/assets/local_Birds/8.jpg
Normal file
|
After Width: | Height: | Size: 16 KiB |
BIN
app/src/main/assets/local_Birds/9.jpg
Normal file
|
After Width: | Height: | Size: 16 KiB |
BIN
app/src/main/assets/local_Butterfly/1.jpg
Normal file
|
After Width: | Height: | Size: 44 KiB |
BIN
app/src/main/assets/local_Butterfly/10.jpg
Normal file
|
After Width: | Height: | Size: 19 KiB |