-
Notifications
You must be signed in to change notification settings - Fork 543
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
Initial Android Support #46
Comments
Is there any progress here? I've found that both |
Not really. There is some work in progress to make it compile in the |
Hi, I've forked @ogoffart 's repo and I've finally managed to build a working The main issues I've had to solve are:
Overall, everything seems to work decently (considering that this was a test), apart from the fact that, as soon as one tries to switch app, Android destroys context and surface and the application crashes (for the same reason of point 1.). I hope this will help to speed up the development. Thank you for your work! |
Great work! |
One aspect that might need support in the run-time library APIs or perhaps even the .slint language is first-class support for the Android Activity Lifecycle. The Android Activity Crate supports these state events, and we may want to integrate this with callbacks to the application - ideally in a platform independent way that the same API could be used also on iOS. |
We've made an initial plan for how we'd like to break down the Android port and I'd like to share it here for further editing/discussion. I'll edit the current empty description of this issue for that purpose. |
Is there a roadmap or plan with timetable for mobile support? |
We have not made a plan beyond the breakdown and time estimate outlined in the description of this issue. We want to learn from the Android port first and then have a better idea about what additional functionality and features we need to support also iOS and mobile specific features in general. This initial work on Android is also limited to Rust as target programming language. |
is there a way to build an android widget component in slint ? |
This project is funded through NGIO Core via NLNet - https://nlnet.nl/project/SlintAndroid/
Here's a possible breakdown of tasks that we devised. We estimate this in the range of ~4 months of work.
Update: Check the documentation to try the android backend: https://docs.rs/slint/latest/slint/android/index.html
The text was updated successfully, but these errors were encountered: