-
-
Notifications
You must be signed in to change notification settings - Fork 206
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
Live gestures? #69
Comments
As your request is understandable, I have to write that this is not possible since Android APIs are the way they are: as of now, you always have to record a gesture first before being able to commit it to the OS, there's no live gestures. See https://github.com/bk138/droidVNC-NG/blob/master/app/src/main/java/net/christianbeier/droidvnc_ng/InputService.java#L248-L264 |
If there's another way I don't know of, feel free to post here! |
I'm pretty sure it is possible since it's working on TeamViewer/Anydesk/ Microsofts MyPhone on Android phones. They also do it via accessibility service. |
@bk138 i decompiled the anydesk plugin and the "Ihr Smartphone Begleiter" and think i found the classes wich do the trick. AnyDesk Ihr Smartphone Begleiter |
@Blueforcer I've had a look and AnyDesk seems to use the same API, maybe in a different way. If you can come up with an alternative implementation of https://github.com/bk138/droidVNC-NG/blob/master/app/src/main/java/net/christianbeier/droidvnc_ng/InputService.java, I'll happily merge a PR. |
Believe me, if I had a clue about native Android programming I would do it 😂 |
Could this work? Splitting every continuegesture in new small gestures
|
You might want to try it out! :-) I can't really test/explore things at the moment as I'm busy with $$$-work. |
Nope, doesnt work :( |
Hi,
it seems that any gesture will applied after the gesture was finished on the client.
This means, while scrolling i dont see where i am, only if i release the mouse.
Also if i draw something, the drawing is applied at the same speed, but afterwards.
Looks like playing a recording of the gesture on the client.
Is there any way to have "live" gestures like with teamviewer or Anydesk?
The text was updated successfully, but these errors were encountered: