diff options
| author | Yi Jianlong <[email protected]> | 2025-12-15 10:10:35 +0800 |
|---|---|---|
| committer | Yi Jianlong <[email protected]> | 2025-12-15 15:54:41 +0800 |
| commit | 8e63376d62415825aa2836df19ebb7c895aa7a2e (patch) | |
| tree | e7383f5f288453a47c56d1228505348d25d0da4a /tests/projects/c++ | |
| parent | 7298699afb4e2baf50978cda9b2cc8822170301b (diff) | |
resolve review comments
Diffstat (limited to 'tests/projects/c++')
| -rw-r--r-- | tests/projects/c++/ndk_raylib/android/AndroidManifest.xml | 31 | ||||
| -rw-r--r-- | tests/projects/c++/ndk_raylib/android/debug.jks | bin | 2487 -> 0 bytes | |||
| -rw-r--r-- | tests/projects/c++/ndk_raylib/android/res/mipmap-mdpi/icon.png | bin | 2643 -> 0 bytes | |||
| -rw-r--r-- | tests/projects/c++/ndk_raylib/android/res/mipmap/icon.png | bin | 2643 -> 0 bytes | |||
| -rw-r--r-- | tests/projects/c++/ndk_raylib/android/res/values/strings.xml | 4 | ||||
| -rw-r--r-- | tests/projects/c++/ndk_raylib/android/res/values/styles.xml | 9 | ||||
| -rw-r--r-- | tests/projects/c++/ndk_raylib/src/main.cpp | 21 | ||||
| -rw-r--r-- | tests/projects/c++/ndk_raylib/xmake.lua | 22 |
8 files changed, 0 insertions, 87 deletions
diff --git a/tests/projects/c++/ndk_raylib/android/AndroidManifest.xml b/tests/projects/c++/ndk_raylib/android/AndroidManifest.xml deleted file mode 100644 index 40cfd7066..000000000 --- a/tests/projects/c++/ndk_raylib/android/AndroidManifest.xml +++ /dev/null @@ -1,31 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<manifest xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:tools="http://schemas.android.com/tools" - package="com.raylib.demo" - - android:versionCode="15" - android:versionName="1.5"> - - <uses-sdk android:minSdkVersion="21" android:targetSdkVersion="30" /> - - <uses-permission android:name="android.permission.SET_RELEASE_APP"/> - - <application - android:label="Fighter" android:debuggable="true" android:hasCode="false" - tools:replace="android:icon,android:theme,android:allowBackup,label" - android:icon="@mipmap/icon"> - - <activity android:name="android.app.NativeActivity" - android:label="Fighter" - android:configChanges="orientation|keyboardHidden|screenSize|screenLayout" - android:screenOrientation="portrait" - android:theme="@android:style/Theme.NoTitleBar.Fullscreen"> - <meta-data android:name="android.app.lib_name" - android:value="main" /> - <intent-filter> - <action android:name="android.intent.action.MAIN" /> - <category android:name="android.intent.category.LAUNCHER" /> - </intent-filter> - </activity> - </application> -</manifest>
\ No newline at end of file diff --git a/tests/projects/c++/ndk_raylib/android/debug.jks b/tests/projects/c++/ndk_raylib/android/debug.jks Binary files differdeleted file mode 100644 index b4eb4f9f2..000000000 --- a/tests/projects/c++/ndk_raylib/android/debug.jks +++ /dev/null diff --git a/tests/projects/c++/ndk_raylib/android/res/mipmap-mdpi/icon.png b/tests/projects/c++/ndk_raylib/android/res/mipmap-mdpi/icon.png Binary files differdeleted file mode 100644 index 743413831..000000000 --- a/tests/projects/c++/ndk_raylib/android/res/mipmap-mdpi/icon.png +++ /dev/null diff --git a/tests/projects/c++/ndk_raylib/android/res/mipmap/icon.png b/tests/projects/c++/ndk_raylib/android/res/mipmap/icon.png Binary files differdeleted file mode 100644 index 743413831..000000000 --- a/tests/projects/c++/ndk_raylib/android/res/mipmap/icon.png +++ /dev/null diff --git a/tests/projects/c++/ndk_raylib/android/res/values/strings.xml b/tests/projects/c++/ndk_raylib/android/res/values/strings.xml deleted file mode 100644 index e98a18284..000000000 --- a/tests/projects/c++/ndk_raylib/android/res/values/strings.xml +++ /dev/null @@ -1,4 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<resources> - <string name="app_name">Space Defender</string> -</resources>
\ No newline at end of file diff --git a/tests/projects/c++/ndk_raylib/android/res/values/styles.xml b/tests/projects/c++/ndk_raylib/android/res/values/styles.xml deleted file mode 100644 index 621547380..000000000 --- a/tests/projects/c++/ndk_raylib/android/res/values/styles.xml +++ /dev/null @@ -1,9 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<resources> - <style name="AppTheme" parent="android:Theme.NoTitleBar.Fullscreen"> - <item name="android:windowBackground">@android:color/black</item> - <item name="android:colorPrimary">#FF6200EE</item> - <item name="android:colorPrimaryDark">#FF3700B3</item> - <item name="android:colorAccent">#FF03DAC5</item> - </style> -</resources>
\ No newline at end of file diff --git a/tests/projects/c++/ndk_raylib/src/main.cpp b/tests/projects/c++/ndk_raylib/src/main.cpp deleted file mode 100644 index 4c8253ead..000000000 --- a/tests/projects/c++/ndk_raylib/src/main.cpp +++ /dev/null @@ -1,21 +0,0 @@ -#include <raylib.h> - -int main() { - InitWindow(0, 0, "Hello, xmake for raylib android!"); - - SetTargetFPS(60); - - while (!WindowShouldClose()) { // Main game loop - BeginDrawing(); - - ClearBackground(BLACK); - - DrawText("Hello, xmake for raylib android!", 250, 250, 25, BLUE); - - EndDrawing(); - } - - CloseWindow(); - - return 0; -}
\ No newline at end of file diff --git a/tests/projects/c++/ndk_raylib/xmake.lua b/tests/projects/c++/ndk_raylib/xmake.lua deleted file mode 100644 index 08a102d9d..000000000 --- a/tests/projects/c++/ndk_raylib/xmake.lua +++ /dev/null @@ -1,22 +0,0 @@ -add_rules("mode.debug", "mode.release") - - -add_requires("raylib 5.5.0") - -target("raydemo_android") - set_kind("binary") - set_languages("c++17") - add_files("src/main.cpp") - add_packages("raylib") - - if is_plat("android") then - - add_rules("android.native_app", { - android_sdk_version = "35", - android_manifest = "android/AndroidManifest.xml", - android_res = "android/res", - keystore = "android/debug.jks", - keystore_pass = "123456", - package_name = "com.raylib.demo" - }) - end |
