summaryrefslogtreecommitdiff
path: root/tests/projects/android/native_app/src
diff options
context:
space:
mode:
authorruki <[email protected]>2025-12-16 23:33:30 +0800
committerruki <[email protected]>2025-12-16 23:33:30 +0800
commit51ef6420b6bba35a34f3ac9dafd5b5d36eb24e2d (patch)
treeb50d91101f268985fdd719056061c3a91b01ba7e /tests/projects/android/native_app/src
parentb0f05a5196bb5c4b0590895e69c64fd1a2be3f9c (diff)
improve run logs
Diffstat (limited to 'tests/projects/android/native_app/src')
-rw-r--r--tests/projects/android/native_app/src/main.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/projects/android/native_app/src/main.cpp b/tests/projects/android/native_app/src/main.cpp
index 42f5b9a37..b7dda5d34 100644
--- a/tests/projects/android/native_app/src/main.cpp
+++ b/tests/projects/android/native_app/src/main.cpp
@@ -1,8 +1,13 @@
#include <raylib.h>
+#include <android/log.h>
+
+#define LOG_TAG "raydemo_android"
+#define LOGI(...) __android_log_print(ANDROID_LOG_INFO, LOG_TAG, __VA_ARGS__)
int main(int argc, char** argv) {
InitWindow(0, 0, "Hello, xmake for raylib android!");
SetTargetFPS(60);
+ LOGI("raylib application is running!");
while (!WindowShouldClose()) {
BeginDrawing();