diff --git a/README.md b/README.md
index b0cb832..791c3ab 100644
--- a/README.md
+++ b/README.md
@@ -4,7 +4,8 @@
## Commercial Indication
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.
+[Join our grupo for el sdk & usage support.](https://t.me/foxiteu), or you can connect me by mi email.
+The Metaverse Engine Launcher UI is based on project Mundo, you can obtain the free and paid SDK by contacting us.
## About us
@@ -28,6 +29,9 @@ Powerful Android / iOS app modifying tool, you can make your plugins y app more
Email: 1@die.lu
Telegram: [https://t.me/foxiteu](https://t.me/foxiteu)
+### All APIs Details (Before you create your project)
+API Documentation link: [https://mundo.bienvenido.top/](https://mundo.bienvenido.top/)
+
### Sample code for starters and noobs
#### Manual launch el engine (not necessary)
@@ -35,19 +39,19 @@ Telegram: [https://t.me/foxiteu](https://t.me/foxiteu)
@Override
protected void attachBaseContext(Context base) {
super.attachBaseContext(base);
- FozaCore.startup(base);
+ MetaCore.attachMetaBase(base);
}
```
#### Launch a sample application
```Java
- FozaActivityManager.get().launchApp(
+ MetaActivityManager.launchApp(
applicationPackageName
);
```
or
```Java
- FozaActivityManager.get().launchApp(
+ MetaActivityManager.launchApp(
userPartitionName,
applicationPackageName
);
diff --git a/app/.gitignore b/app/.gitignore
index 33ae131..5611ff6 100644
--- a/app/.gitignore
+++ b/app/.gitignore
@@ -1,5 +1,5 @@
/build
/release
*.apk
-/libs/foza-release.aar
+/libs/*.aar
/debug/
diff --git a/app/src/androidTest/java/com/test/qqy/launcher22/ExampleInstrumentedTest.java b/app/src/androidTest/java/com/test/qqy/launcher22/ExampleInstrumentedTest.java
deleted file mode 100644
index 236a012..0000000
--- a/app/src/androidTest/java/com/test/qqy/launcher22/ExampleInstrumentedTest.java
+++ /dev/null
@@ -1,26 +0,0 @@
-package com.test.qqy.launcher22;
-
-import android.content.Context;
-import android.support.test.InstrumentationRegistry;
-import android.support.test.runner.AndroidJUnit4;
-
-import org.junit.Test;
-import org.junit.runner.RunWith;
-
-import static org.junit.Assert.*;
-
-/**
- * Instrumentation test, which will execute on an Android device.
- *
- * @see Testing documentation
- */
-@RunWith(AndroidJUnit4.class)
-public class ExampleInstrumentedTest {
- @Test
- public void useAppContext() throws Exception {
- // Context of the app under test.
- Context appContext = InstrumentationRegistry.getTargetContext();
-
- assertEquals("com.test.qqy.launcher22", appContext.getPackageName());
- }
-}
diff --git a/app/src/main/java/com/android/launcher2/AppsCustomizePagedView.java b/app/src/main/java/com/android/launcher2/AppsCustomizePagedView.java
index fd49f0c..2e3dafe 100644
--- a/app/src/main/java/com/android/launcher2/AppsCustomizePagedView.java
+++ b/app/src/main/java/com/android/launcher2/AppsCustomizePagedView.java
@@ -59,7 +59,7 @@ import java.util.Collections;
import java.util.Iterator;
import java.util.List;
-import lu.die.fozacompatibility.FozaActivityManager;
+import net_62v.external.MetaActivityManager;
/**
* A simple callback interface which also provides the results of the task.
@@ -525,7 +525,7 @@ public class AppsCustomizePagedView extends PagedViewWithDraggableItems implemen
mLauncher.startActivitySafely(v, appInfo.intent, appInfo);
}
else try{
- Intent reserver = FozaActivityManager.get().obtainSplashLaunchIntent(
+ Intent reserver = MetaActivityManager.obtainSplashLaunchIntent(
0,
appInfo.componentName.getPackageName(),
mLauncher
diff --git a/app/src/main/java/com/android/launcher2/DeleteDropTarget.java b/app/src/main/java/com/android/launcher2/DeleteDropTarget.java
index d575b8f..32b7ec6 100644
--- a/app/src/main/java/com/android/launcher2/DeleteDropTarget.java
+++ b/app/src/main/java/com/android/launcher2/DeleteDropTarget.java
@@ -26,6 +26,7 @@ import android.content.res.Resources;
import android.graphics.PointF;
import android.graphics.Rect;
import android.graphics.drawable.TransitionDrawable;
+import android.os.RemoteException;
import android.util.AttributeSet;
import android.view.View;
import android.view.ViewConfiguration;
@@ -220,7 +221,11 @@ public class DeleteDropTarget extends ButtonDropTarget {
if (isAllAppsApplication(d.dragSource, item)) {
// Uninstall the application if it is being dragged from AppsCustomize
- mLauncher.startApplicationUninstallActivity((ApplicationInfo) item);
+ try {
+ mLauncher.startApplicationUninstallActivity((ApplicationInfo) item);
+ } catch (RemoteException e) {
+ e.printStackTrace();
+ }
} else if (isWorkspaceOrFolderApplication(d)) {
LauncherModel.deleteItemFromDatabase(mLauncher, item);
} else if (isWorkspaceFolder(d)) {
diff --git a/app/src/main/java/com/android/launcher2/Launcher.java b/app/src/main/java/com/android/launcher2/Launcher.java
index 482e8cb..18df72b 100644
--- a/app/src/main/java/com/android/launcher2/Launcher.java
+++ b/app/src/main/java/com/android/launcher2/Launcher.java
@@ -61,6 +61,7 @@ import android.os.Debug;
import android.os.Environment;
import android.os.Handler;
import android.os.Message;
+import android.os.RemoteException;
import android.os.StrictMode;
import android.os.SystemClock;
import android.os.UserManager;
@@ -114,9 +115,8 @@ import java.util.HashSet;
import java.util.List;
import java.util.Set;
-import lu.die.foza.SuperAPI.FozaCore;
-import lu.die.fozacompatibility.FozaActivityManager;
-import lu.die.fozacompatibility.FozaPackageManager;
+import net_62v.external.MetaActivityManager;
+import net_62v.external.MetaPackageManager;
/**
* Default launcher application.
@@ -434,7 +434,11 @@ public final class Launcher extends Activity
// On large interfaces, we want the screen to auto-rotate based on the current orientation
unlockScreenOrientation(true);
LauncherLoader.instance().waitForAndGetInitialService(() -> {
- FozaPackageManager.get().acquireObtainAppSplash();
+ try {
+ MetaPackageManager.acquireObtainAppSplash();
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
return null;
});
}
@@ -2022,7 +2026,7 @@ public final class Launcher extends Activity
else
{
try{
- Intent reserveIntent = FozaActivityManager.get().obtainSplashLaunchIntent(
+ Intent reserveIntent = MetaActivityManager.obtainSplashLaunchIntent(
0,
((ShortcutInfo) tag).intent.getComponent().getPackageName(),
this
@@ -2125,10 +2129,10 @@ public final class Launcher extends Activity
startActivitySafely(null, intent, "startApplicationDetailsActivity");
}
- void startApplicationUninstallActivity(ApplicationInfo appInfo) {
- if(FozaPackageManager.get().isInnerAppInstalled(appInfo.componentName.getPackageName()))
+ void startApplicationUninstallActivity(ApplicationInfo appInfo) throws RemoteException {
+ if(MetaPackageManager.isInnerAppInstalled(appInfo.componentName.getPackageName()))
{
- FozaPackageManager.get().uninstallAppFully(appInfo.componentName.getPackageName());
+ MetaPackageManager.uninstallAppFully(appInfo.componentName.getPackageName());
int messageId = R.string.cling_dismiss;
Toast.makeText(this, messageId, Toast.LENGTH_SHORT).show();
return;
diff --git a/app/src/main/java/com/android/launcher2/LauncherLoader.kt b/app/src/main/java/com/android/launcher2/LauncherLoader.kt
index 9a9ed13..d129e65 100644
--- a/app/src/main/java/com/android/launcher2/LauncherLoader.kt
+++ b/app/src/main/java/com/android/launcher2/LauncherLoader.kt
@@ -1,8 +1,8 @@
package com.android.launcher2
import android.content.Intent
-import lu.die.foza.SuperAPI.FozaCore
-import lu.die.fozacompatibility.FozaPackageManager
+import net_62v.external.MetaCore
+import net_62v.external.MetaPackageManager
object LauncherLoader {
// For java
@@ -10,12 +10,12 @@ object LauncherLoader {
fun instance() = this
fun waitForAndGetInitialService(
serviceCallback : () -> Unit
- ) = FozaCore.registerCoreCallback(
+ ) = MetaCore.registerCoreCallback(
serviceCallback
)
fun obtainLaunchIntentByPackage(
src : String
- ) = FozaPackageManager.get().getLaunchIntentForPackage(
+ ) = MetaPackageManager.getLaunchIntentForPackage(
Intent(Intent.ACTION_MAIN).setPackage(src) /* Package Name */
)
}
\ No newline at end of file
diff --git a/app/src/main/java/com/android/launcher2/LauncherModel.java b/app/src/main/java/com/android/launcher2/LauncherModel.java
index 7c6f952..82f99dc 100644
--- a/app/src/main/java/com/android/launcher2/LauncherModel.java
+++ b/app/src/main/java/com/android/launcher2/LauncherModel.java
@@ -63,7 +63,8 @@ import java.util.Iterator;
import java.util.List;
import java.util.Set;
-import lu.die.fozacompatibility.FozaPackageManager;
+import net_62v.external.MetaPackageManager;
+
/**
* Maintains in-memory state of the Launcher. It is expected that there should be only one
@@ -2118,7 +2119,11 @@ public class LauncherModel extends BroadcastReceiver {
}
}
});
- FozaPackageManager.get().acquireObtainAppSplash();
+ try {
+ MetaPackageManager.acquireObtainAppSplash();
+ } catch (RemoteException e) {
+ e.printStackTrace();
+ }
}
}
diff --git a/app/src/test/java/com/test/qqy/launcher22/ExampleUnitTest.java b/app/src/test/java/com/test/qqy/launcher22/ExampleUnitTest.java
deleted file mode 100644
index e83d115..0000000
--- a/app/src/test/java/com/test/qqy/launcher22/ExampleUnitTest.java
+++ /dev/null
@@ -1,17 +0,0 @@
-package com.test.qqy.launcher22;
-
-import org.junit.Test;
-
-import static org.junit.Assert.*;
-
-/**
- * Example local unit test, which will execute on the development machine (host).
- *
- * @see Testing documentation
- */
-public class ExampleUnitTest {
- @Test
- public void addition_isCorrect() throws Exception {
- assertEquals(4, 2 + 2);
- }
-}
\ No newline at end of file
diff --git a/build.gradle b/build.gradle
index 114ef60..3689e24 100644
--- a/build.gradle
+++ b/build.gradle
@@ -7,8 +7,8 @@ buildscript {
google()
}
dependencies {
- 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:8.2.0'
+ classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:2.0.0-Beta2'
// 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