-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
43 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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) |