From 8e63376d62415825aa2836df19ebb7c895aa7a2e Mon Sep 17 00:00:00 2001 From: Yi Jianlong Date: Mon, 15 Dec 2025 10:10:35 +0800 Subject: resolve review comments --- tests/projects/android/native_app/src/main.cpp | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 tests/projects/android/native_app/src/main.cpp (limited to 'tests/projects/android/native_app/src/main.cpp') diff --git a/tests/projects/android/native_app/src/main.cpp b/tests/projects/android/native_app/src/main.cpp new file mode 100644 index 000000000..4c8253ead --- /dev/null +++ b/tests/projects/android/native_app/src/main.cpp @@ -0,0 +1,21 @@ +#include + +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 -- cgit v1.3.1