hello_world_android_egui
hello_world_android_egui copied to clipboard
Egui + winit + wgpu + android example
Hello world android egui
Egui + winit + wgpu example. May be used as a boilerplate for your pure Rust native android GUI app. Based on example from https://github.com/hasenbanck/egui_winit_platform
At current stage it is actual with winit-0.28 which was moved from ndk-glue to android-activity https://github.com/rust-windowing/winit#android
Mobile variant.
Compile with cargo apk build
![](https://user-images.githubusercontent.com/4245277/204096900-5c52adcb-477f-484f-8436-a9024225bc37.jpg)
Desktop variant.
Compile with cargo build --bin main
![](https://user-images.githubusercontent.com/4245277/204097344-3d0f70b4-29e6-49ec-857c-58da127a01bc.png)