Is there any way to host an android app in a web browser?

Ideally with docker, likely all of Android, not just an app, but running just an app would be amazing.

  • ikidd@lemmy.world
    link
    fedilink
    English
    arrow-up
    7
    ·
    edit-2
    1 month ago

    Kasm Workspace has a Redroid image that lets you use Android in a web browser along with any of the other images Kasm has in their registry. There are some caveats in the installation that are explained in the docs. YMMV depending on your knowledge levels.

    Alternatively, figure out how to install Redroid directly. https://github.com/remote-android/redroid-doc Keep in mind, you will either want to run this on a baremetal install of one of the supported distros listed or a full VM. It will want Binderfs, and that’s a pain in the ass to install on an LXC container if that’s what you’re using as a docker host.

  • Possibly linux
    link
    fedilink
    English
    arrow-up
    3
    ·
    edit-2
    1 month ago

    Can you share your use case?

    Waydroid is likely what you want although it is not web based

  • Fuzzypyro@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 month ago

    That would be interesting. If this is going where I think it is then it would probably suck seeing as touch screen input feels exponentially worse with latency but nonetheless would be really cool to see work for hosting a web app of sorts for desktop use.

    Check out linuxserver.io, kasm and whatever the x11 version of waydroid is called. I can’t remember it at the moment. That should give you enough to get started building a container if you want.

  • fmstrat@lemmy.nowsci.com
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 month ago

    If you need banking apps, consider a cheap used/old Android phone with a VNC server on it, then noVNC pointed to that to get it on the web.