vil icon indicating copy to clipboard operation
vil copied to clipboard

Android support

Open asLody opened this issue 4 years ago • 1 comments

This is really a great project, are there any plans for android support?

asLody avatar Jan 03 '22 05:01 asLody

Hey, great question! I have thought about it in the past and would like to support android. Since we already have a clang CI and basically just use C++17, getting it to run shouldn't be a huge issue.

In practice, there are a couple of problems we have to solve:

  • Cross compiling with meson shouldn't be a huge problem but will likely result in a set of smaller issues that need to be fixed (in meson and C/C++).
  • You have to figure out how to correctly install/register the layer so that your app can find it. See here for details. We should probably write a doc on how to build and install vil for android.
  • Showing the gui in a separate window isn't an option under android. I also can't think of a way to hook input for the automatic overlay. So users would have to use the api to forward input to the overlay. This isn't a problem per se, just something to keep in mind.
  • The UI itself isn't made for phones and touch at all. We would have to rework it completely to make vil comfortably usable on android. This one will be a lot of work.

Since I'm currently not doing any android development and am not too interested in doing the UI rework for mobile, android support isn't very high on my todo list.

nyorain avatar Jan 04 '22 15:01 nyorain