cm0002 to Rust · 4 months agoMaking Slint Desktop-Readyslint.devexternal-linkmessage-square2linkfedilinkarrow-up115arrow-down11cross-posted to: [email protected][email protected]
arrow-up114arrow-down1external-linkMaking Slint Desktop-Readyslint.devcm0002 to Rust · 4 months agomessage-square2linkfedilinkcross-posted to: [email protected][email protected]
minus-squarecalcopiritus@lemmy.worldlinkfedilinkarrow-up1·4 months agoI haven’t tried using a GUI library for this. But it is possible (and relatively easy) to build for Android using rust. I found this tool called “x build” that works basically out of the box. It was a bit tricky to set up the release build, but got it working too. I made a small App using winit+wgpu and it seems to work. Win it also has touchscreen-specific events. Iced does use winit+wgpu, so if they are listening to the touchscreen events, it should work for Android. Haven’t tested it though.
I haven’t tried using a GUI library for this. But it is possible (and relatively easy) to build for Android using rust.
I found this tool called “x build” that works basically out of the box. It was a bit tricky to set up the release build, but got it working too.
I made a small App using winit+wgpu and it seems to work. Win it also has touchscreen-specific events.
Iced does use winit+wgpu, so if they are listening to the touchscreen events, it should work for Android. Haven’t tested it though.