mirror of
https://github.com/Katana-Official/SPatch-Update.git
synced 2026-03-20 05:09:45 +08:00
Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
de43f59a8e | ||
|
|
06ccb152d3 | ||
|
|
a33d9bfd3f | ||
|
|
b5458feb22 |
@@ -1 +1 @@
|
||||
<p xmlns:cc="http://creativecommons.org/ns#" xmlns:dct="http://purl.org/dc/terms/"><a property="dct:title" rel="cc:attributionURL" href="https://github.com/Katana-Official/SPatch-Update">Foza-LauncherUI</a> by <a rel="cc:attributionURL dct:creator" property="cc:attributionName" href="https://github.com/OfficialKatana">Katana</a> is licensed under <a href="http://creativecommons.org/licenses/by/4.0/?ref=chooser-v1" target="_blank" rel="license noopener noreferrer" style="display:inline-block;">Attribution 4.0 International<img style="height:22px!important;margin-left:3px;vertical-align:text-bottom;" src="https://mirrors.creativecommons.org/presskit/icons/cc.svg?ref=chooser-v1"><img style="height:22px!important;margin-left:3px;vertical-align:text-bottom;" src="https://mirrors.creativecommons.org/presskit/icons/by.svg?ref=chooser-v1"></a>
|
||||
<p xmlns:cc="http://creativecommons.org/ns#" xmlns:dct="http://purl.org/dc/terms/"><a property="dct:title" rel="cc:attributionURL" href="https://github.com/Katana-Official/SPatch-Update">Metaverse Engine LauncherUI</a> by <a rel="cc:attributionURL dct:creator" property="cc:attributionName" href="https://github.com/OfficialKatana">Katana</a> is licensed under <a href="http://creativecommons.org/licenses/by/4.0/?ref=chooser-v1" target="_blank" rel="license noopener noreferrer" style="display:inline-block;">Attribution 4.0 International<img style="height:22px!important;margin-left:3px;vertical-align:text-bottom;" src="https://mirrors.creativecommons.org/presskit/icons/cc.svg?ref=chooser-v1"><img style="height:22px!important;margin-left:3px;vertical-align:text-bottom;" src="https://mirrors.creativecommons.org/presskit/icons/by.svg?ref=chooser-v1"></a>
|
||||
17
README.md
17
README.md
@@ -1,10 +1,10 @@
|
||||
# Metaverse Enging Launcher UI
|
||||
# Metaverse Engine Launcher UI
|
||||
|
||||
<p xmlns:cc="http://creativecommons.org/ns#" xmlns:dct="http://purl.org/dc/terms/"><a property="dct:title" rel="cc:attributionURL" href="https://github.com/Katana-Official/SPatch-Update">Metaverse Enging Launcher UI</a> by <a rel="cc:attributionURL dct:creator" property="cc:attributionName" href="https://github.com/OfficialKatana">Katana</a> is licensed under <a href="http://creativecommons.org/licenses/by/4.0/?ref=chooser-v1" target="_blank" rel="license noopener noreferrer" style="display:inline-block;">Attribution 4.0 International<img style="height:22px!important;margin-left:3px;vertical-align:text-bottom;" src="https://mirrors.creativecommons.org/presskit/icons/cc.svg?ref=chooser-v1"><img style="height:22px!important;margin-left:3px;vertical-align:text-bottom;" src="https://mirrors.creativecommons.org/presskit/icons/by.svg?ref=chooser-v1"></a></p>
|
||||
<p xmlns:cc="http://creativecommons.org/ns#" xmlns:dct="http://purl.org/dc/terms/"><a property="dct:title" rel="cc:attributionURL" href="https://github.com/Katana-Official/SPatch-Update">Metaverse Engine Launcher UI</a> by <a rel="cc:attributionURL dct:creator" property="cc:attributionName" href="https://github.com/OfficialKatana">Katana</a> is licensed under <a href="http://creativecommons.org/licenses/by/4.0/?ref=chooser-v1" target="_blank" rel="license noopener noreferrer" style="display:inline-block;">Attribution 4.0 International<img style="height:22px!important;margin-left:3px;vertical-align:text-bottom;" src="https://mirrors.creativecommons.org/presskit/icons/cc.svg?ref=chooser-v1"><img style="height:22px!important;margin-left:3px;vertical-align:text-bottom;" src="https://mirrors.creativecommons.org/presskit/icons/by.svg?ref=chooser-v1"></a></p>
|
||||
|
||||
## Commercial Indication
|
||||
You can use this project freely, and we'd recommend you to contact us for further sdk support.
|
||||
[Join our grupo for el sdk & usage support.](https://t.me/foxiteu), or you can connect me by my email.
|
||||
You can use this project freely, and we'd recommend you to contact us for el further sdk support.
|
||||
[Join our grupo for el sdk & usage support.](https://t.me/foxiteu), or you can connect me by mi email.
|
||||
|
||||
## About us
|
||||
|
||||
@@ -14,14 +14,15 @@ You can use this project freely, and we'd recommend you to contact us for furthe
|
||||
|
||||
SlimVXposed is the most efficient app for app twin and app clone, you can see our app on our main site.
|
||||
Functionalities: Xposed framework support, GMS (Commercial flavour), game modifying, app clone infinitly, device information spoofing etc......
|
||||
SlimVXposed is an powerful Android container, which can open more apps. This project provides a simple UI for you to experience. You can also download the official apk from [Official Web](https://www.die.lu).
|
||||
SlimVXposed is a powerful Android container, which can open more apps. This project provides a simple UI for you to experience. You can also download the official apk de [Official Web](https://www.die.lu).
|
||||
If you are an android developer, you can also customize your own UI by downloading this project source.
|
||||
You don't need to pay attention to the technical details that are difficult to understand.
|
||||
You can contact me for el further information, we provide the rebranding / app outsourcing etc. services.
|
||||
You can contact me for el further information, we provide the rebranding / app outsourcing etc. services.
|
||||
Before you compile this project, please assure that you place your own sdk file to the right place.
|
||||
|
||||
[SPatch](http://spatch.die.lu)
|
||||
|
||||
Power Android / iOS app modifying tool, you can make your plugins and app more integrated.
|
||||
Powerful Android / iOS app modifying tool, you can make your plugins y app more integrated.
|
||||
|
||||
## Contact Details
|
||||
Email: 1@die.lu
|
||||
@@ -29,7 +30,7 @@ Telegram: [https://t.me/foxiteu](https://t.me/foxiteu)
|
||||
|
||||
### Sample code for starters and noobs
|
||||
|
||||
#### Manual launch the engine (not necessary)
|
||||
#### Manual launch el engine (not necessary)
|
||||
```Java
|
||||
@Override
|
||||
protected void attachBaseContext(Context base) {
|
||||
|
||||
@@ -25,15 +25,6 @@ android {
|
||||
}
|
||||
}
|
||||
}
|
||||
sourceSets {
|
||||
main {
|
||||
jniLibs.srcDirs = ['libs']
|
||||
res.srcDirs = [
|
||||
'src/main/res2',
|
||||
'src/main/res'
|
||||
]
|
||||
}
|
||||
}
|
||||
buildTypes {
|
||||
debug {
|
||||
debuggable false
|
||||
@@ -62,11 +53,6 @@ android {
|
||||
}
|
||||
kotlinOptions {
|
||||
jvmTarget = '1.8'
|
||||
freeCompilerArgs = [
|
||||
'-Xno-param-assertions',
|
||||
'-Xno-call-assertions',
|
||||
'-Xno-receiver-assertions'
|
||||
]
|
||||
}
|
||||
namespace 'com.android.launcher'
|
||||
}
|
||||
|
||||
@@ -433,7 +433,10 @@ public final class Launcher extends Activity
|
||||
|
||||
// On large interfaces, we want the screen to auto-rotate based on the current orientation
|
||||
unlockScreenOrientation(true);
|
||||
FozaCore.registerCoreCallback(() -> FozaPackageManager.get().acquireObtainAppSplash());
|
||||
LauncherLoader.instance().waitForAndGetInitialService(() -> {
|
||||
FozaPackageManager.get().acquireObtainAppSplash();
|
||||
return null;
|
||||
});
|
||||
}
|
||||
|
||||
protected void onUserLeaveHint() {
|
||||
|
||||
@@ -31,8 +31,6 @@ import com.android.launcher.R;
|
||||
|
||||
import java.lang.ref.WeakReference;
|
||||
|
||||
import lu.die.foza.SuperAPI.FozaCore;
|
||||
|
||||
public class LauncherApplication extends Application {
|
||||
private LauncherModel mModel;
|
||||
private IconCache mIconCache;
|
||||
@@ -86,12 +84,6 @@ public class LauncherApplication extends Application {
|
||||
mFavoritesObserver);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void attachBaseContext(Context base) {
|
||||
super.attachBaseContext(base);
|
||||
FozaCore.startup(base);
|
||||
}
|
||||
|
||||
/**
|
||||
* There's no guarantee that this function is ever called.
|
||||
*/
|
||||
|
||||
21
app/src/main/java/com/android/launcher2/LauncherLoader.kt
Normal file
21
app/src/main/java/com/android/launcher2/LauncherLoader.kt
Normal file
@@ -0,0 +1,21 @@
|
||||
package com.android.launcher2
|
||||
|
||||
import android.content.Intent
|
||||
import lu.die.foza.SuperAPI.FozaCore
|
||||
import lu.die.fozacompatibility.FozaPackageManager
|
||||
|
||||
object LauncherLoader {
|
||||
// For java
|
||||
@JvmStatic
|
||||
fun instance() = this
|
||||
fun waitForAndGetInitialService(
|
||||
serviceCallback : () -> Unit
|
||||
) = FozaCore.registerCoreCallback(
|
||||
serviceCallback
|
||||
)
|
||||
fun obtainLaunchIntentByPackage(
|
||||
src : String
|
||||
) = FozaPackageManager.get().getLaunchIntentForPackage(
|
||||
Intent(Intent.ACTION_MAIN).setPackage(src) /* Package Name */
|
||||
)
|
||||
}
|
||||
@@ -4,10 +4,11 @@ buildscript {
|
||||
repositories {
|
||||
maven { url 'https://mirrors.huaweicloud.com/repository/maven/' }
|
||||
maven { url 'https://jitpack.io' }
|
||||
google()
|
||||
}
|
||||
dependencies {
|
||||
classpath 'com.android.tools.build:gradle:8.1.2'
|
||||
classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.9.20-RC'
|
||||
classpath 'com.android.tools.build:gradle:8.1.3'
|
||||
classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.9.20'
|
||||
// classpath 'com.android.tools.build:gradle-experimental:3.3.2'
|
||||
// classpath 'com.trend.lazyinject:aopweave:3.4.0-beta'
|
||||
// NOTE: Do not place your application dependencies here; they belong
|
||||
@@ -19,6 +20,7 @@ allprojects {
|
||||
repositories {
|
||||
maven { url 'https://mirrors.huaweicloud.com/repository/maven/' }
|
||||
maven { url "https://jitpack.io" }
|
||||
google()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user