Avogadro in Android

Hi Team! this is a topic in relation to some requests for an Android implementation of Avogadro. Let me know if this topic might be a duplicate of an already working thread.

In relation to:

  1. WebAssembly Build · Issue #2794 · OpenChemistry/avogadrolibs · GitHub (WebAssembly)
  2. Android app · Issue #767 · OpenChemistry/avogadroapp · GitHub
1 Like

No, it’s definitely a new thread.

I know that Qt compiles to Android, but most of what I’ve seen implies you need to use Qt Quick instead of Qt Widgets. Granted, I haven’t investigated deeply since I don’t have any Android devices.

If I’m wrong, please let me know.

So my suggestion would be to work on the WebAssembly side. I’ll go into more depth in another thread, but I think my main idea would be:

  • start building “core” avogadrolibs as WebAssembly
  • build out key tools (e.g., navigation, editing, selection, etc.) in a new avogadro-web repository
    • this would involve some migration of the current tool options widgets into JSON so they work for both desktop and web

Then, an Android app is mostly the web component (rendering window + tools).

If there are better ideas, I’m open to them - particularly if someone can find examples of using Qt for Android apps.

1 Like