From 6ebc105009d8a4c638231ed201196f14c44977d2 Mon Sep 17 00:00:00 2001 From: Vadim Boev <33985574+VadimBoev@users.noreply.github.com> Date: Fri, 7 Apr 2023 14:05:47 +0300 Subject: [PATCH] Add files via upload --- README.md | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..3a070d7 --- /dev/null +++ b/README.md @@ -0,0 +1,43 @@ +![alt text](miniapp_logo.png) + +# MiniApp +Stop using Java when creating your Android app! Create an application entirely in C++ + +Example just app for Android in C++ with ImGUI (how graphic wrapper) + +This works very well in VS 2019. In VS 2022, something was broken and the build for Android no longer works that way. I'll redo it all later. + +## Features +- OpenGL v3 is used +- Added icons +- ImGUI v1.88 +- Calling the keyboard from JNI + +## Build +![Installaltion](visual_studio_installation.png) + +We need: +* Visual Studio 2015 or later + * Mobile Development with C++ + * Android NDK + * OpenJDK (installed bydefault automatically) + * C++ Android development tools + * Apache Ant + * Android SDK (installed bydefault automatically) +* Android Emulaltor: VS emulator is slow. Better use your phone. Or use emulator like Nox (5.x,7.x), leapdroid (4.x). +* Logcat: For convenient logging of Android (logcat in VS), I advise you to install this: https://marketplace.visualstudio.com/items?itemName=LancelotChen.AndroidLogcatOutput + +Open `miniapp.sln` with Visual Studio and compile + +## How do I change the icons? + +Make png icon in size 192x192 used Photoshop, Paint and other. +Load you icon in https://easyappicon.com/ and selected *adaptive icon* +You get zip archive and in folder Android there will be folders with icons. + +## Special thanks + +- **graysuit**: he helped me figure out how to connect Android to VS and much more + +## Screenshot +![alt text](https://raw.githubusercontent.com/Kronka/miniapp/main/first_launch_imgui.png)