cm0002@programming.dev to Rust@programming.dev · 12 days agoMaking Slint Desktop-Readyslint.devexternal-linkmessage-square2fedilinkarrow-up114arrow-down11cross-posted to: [email protected]
arrow-up113arrow-down1external-linkMaking Slint Desktop-Readyslint.devcm0002@programming.dev to Rust@programming.dev · 12 days agomessage-square2fedilinkcross-posted to: [email protected]
minus-squareonlinepersona@programming.devlinkfedilinkEnglisharrow-up2·12 days agoDamn, I was hoping it would be an announcement about making it mobile ready, but this will do too. Being able to easily write mobile apps in Rust is the dream…
minus-squarecalcopiritus@lemmy.worldlinkfedilinkarrow-up1·12 days 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.
Damn, I was hoping it would be an announcement about making it mobile ready, but this will do too. Being able to easily write mobile apps in Rust is the dream…
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.