-
Notifications
You must be signed in to change notification settings - Fork 35
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 #34
Comments
I'm sorry, I was thinking this was opened against the Alacritty terminal emulator. Copypasta can certainly look into supporting Android, though it's likely nothing official maintainers are going to sink significant time into. |
I have implemented Android support and opened a pull request to https://github.com/aweinstock314/rust-clipboard, but nobody respond. Please take a look at my fork: https://github.com/Fancyflame/rust-clipboard. I'm glad to open a pull request to this repository if needs. Have tested on my physical phone (winit). |
@Fancyflame If you check the readme of this repo, you'll come to realize this is also a rust-clipboard fork since they didn't merge our Wayland support PR. Your android implementation seems pretty reasonable, are you interested in sending a PR? |
@chrisduerr Of course. Please wait a moment. |
@chrisduerr I'm sorry but I found it's little difficult for me to operating this on my phone. |
No worries, take all the time you need. |
Hi! I see two possible uses of this library on Android:
The latter probably can be done by simply running process 'termux-clipboard-get/set'. About the first case — there is an easy way in SDK to use the clipboard, however, it needs to be used through JNI. This crate is used by Servo among others, so I think it'll be fine to use.
Things to think about:
The text was updated successfully, but these errors were encountered: