Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
VadimBoev authored Apr 7, 2023
1 parent 0cb8ea2 commit 6ebc105
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions README.md
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)

0 comments on commit 6ebc105

Please sign in to comment.