• onlinepersona@programming.dev
    link
    fedilink
    English
    arrow-up
    2
    ·
    18 hours ago

    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…

    • calcopiritus@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      7 hours ago

      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.