diff --git a/Examples.Android/AndroidManifest.xml b/Examples.Android/AndroidManifest.xml deleted file mode 100644 index 5791e9e..0000000 --- a/Examples.Android/AndroidManifest.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - diff --git a/Examples.Android/Examples.Android.csproj b/Examples.Android/Examples.Android.csproj deleted file mode 100644 index f1bb095..0000000 --- a/Examples.Android/Examples.Android.csproj +++ /dev/null @@ -1,29 +0,0 @@ - - - - Exe - net6.0-android;net7.0-android - Examples.Android - enable - enable - - - - 21 - com.raylibcs.android - 1 - 1.0 - - - - - - - - - - - - - - \ No newline at end of file diff --git a/Examples.Android/RaylibActivity.cs b/Examples.Android/RaylibActivity.cs deleted file mode 100644 index 3230152..0000000 --- a/Examples.Android/RaylibActivity.cs +++ /dev/null @@ -1,17 +0,0 @@ -using System.Runtime.InteropServices; - -namespace Examples.Android; - -public abstract class RaylibActivity : NativeActivity -{ - protected override void OnCreate(Bundle? savedInstanceState) - { - RaylibSetAndroidCallback(OnReady); - base.OnCreate(savedInstanceState); - } - - protected abstract void OnReady(); - - [DllImport(Raylib.NativeLibName, CallingConvention = CallingConvention.Cdecl)] - private static extern void RaylibSetAndroidCallback(Action callback); -} diff --git a/Examples.Android/android.patch b/Examples.Android/android.patch deleted file mode 100644 index 6d70c48..0000000 --- a/Examples.Android/android.patch +++ /dev/null @@ -1,27 +0,0 @@ -diff --git a/src/rcore.c b/src/rcore.c -index eae4951..4400b22 100644 ---- a/src/rcore.c -+++ b/src/rcore.c -@@ -1,3 +1,22 @@ -+#if defined (PLATFORM_ANDROID) -+#include -+ -+typedef void (*RaylibAndroidCallback)(); -+static RaylibAndroidCallback _androidCallback = NULL; -+ -+void RaylibSetAndroidCallback(RaylibAndroidCallback callback) { -+ _androidCallback = callback; -+} -+ -+int main(int argc, char *argv[]) { -+ (void)argc; -+ (void)argv; -+ while (_androidCallback == NULL) { -+ } -+ _androidCallback(); -+} -+#endif -+ - /********************************************************************************************** - * - * rcore - Basic functions to manage windows, OpenGL context and input on multiple platforms diff --git a/Examples.Android/runtimes/android-arm/native/.keep b/Examples.Android/runtimes/android-arm/native/.keep deleted file mode 100644 index e69de29..0000000 diff --git a/Examples.Android/runtimes/android-arm64/native/.keep b/Examples.Android/runtimes/android-arm64/native/.keep deleted file mode 100644 index e69de29..0000000 diff --git a/Examples.Android/runtimes/android-x64/native/.keep b/Examples.Android/runtimes/android-x64/native/.keep deleted file mode 100644 index e69de29..0000000 diff --git a/Examples.Android/runtimes/android-x86/native/.keep b/Examples.Android/runtimes/android-x86/native/.keep deleted file mode 100644 index e69de29..0000000