Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android support #2

Open
asLody opened this issue Jan 3, 2022 · 1 comment
Open

Android support #2

asLody opened this issue Jan 3, 2022 · 1 comment

Comments

@asLody
Copy link

asLody commented Jan 3, 2022

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

@nyorain
Copy link
Owner

nyorain commented Jan 4, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants