Replies: 61 comments 95 replies
-
Any progress on this? It would be very useful if you are developing and/or testing on live android device... |
Beta Was this translation helpful? Give feedback.
-
If somebody wants to step up and contribute, I'm more than happy to have the Android support, but as it stands, we don't really have enough developers to justify this. |
Beta Was this translation helpful? Give feedback.
-
I'm willing to take a crack at it, if you can give me pointers. |
Beta Was this translation helpful? Give feedback.
-
I sadly can't give you any pointers really.
|
Beta Was this translation helpful? Give feedback.
-
I built the app locally (had to do some updates to gradle etc). I get the following:
|
Beta Was this translation helpful? Give feedback.
-
@Genome36 might be able to help |
Beta Was this translation helpful? Give feedback.
-
Only tangentially related, but I got it to build on Linux on Dex on Samsung, so it works in a Linux Container (not the main phone though). I have also read that you need root to control an actual pointer? But i have seen "Wireless Mouse" applications that send it over wifi so I know it's possible. |
Beta Was this translation helpful? Give feedback.
-
You don't need root. |
Beta Was this translation helpful? Give feedback.
-
Could you link us to your fork with the updated grade?
…On Mon, Jun 24, 2019, 09:15 dadosch ***@***.***> wrote:
I built the app locally (had to do some updates to gradle etc). I get the
following:
2019-06-24 15:11:32.497 2134-15547/org.synergy W/System.err: org.synergy.io.msgs.InvalidMessageException
2019-06-24 15:11:32.498 2134-15547/org.synergy W/System.err: at org.synergy.io.msgs.HelloMessage.<init>(HelloMessage.java:60)
2019-06-24 15:11:32.499 2134-15547/org.synergy W/System.err: at org.synergy.client.Client.handleHello(Client.java:195)
2019-06-24 15:11:32.500 2134-15547/org.synergy W/System.err: at org.synergy.client.Client.access$300(Client.java:48)
2019-06-24 15:11:32.501 2134-15547/org.synergy W/System.err: at org.synergy.client.Client$4.run(Client.java:237)
2019-06-24 15:11:32.501 2134-15547/org.synergy W/System.err: at org.synergy.base.EventQueue.dispatchEvent(EventQueue.java:135)
2019-06-24 15:11:32.503 2134-15547/org.synergy W/System.err: at org.synergy.Synergy$MainLoopThread.run(Synergy.java:64)
2019-06-24 15:11:32.504 2134-15547/org.synergy I/Synergy: Event grabbed:org.synergy.base.Log:153
2019-06-24 15:11:32.506 2134-15547/org.synergy I/Synergy: ***@***.***:org.synergy.base.Log:153
2019-06-24 15:11:32.509 2134-15547/org.synergy I/Synergy: Event grabbed:org.synergy.base.Log:153
2019-06-24 15:11:32.510 2134-15547/org.synergy I/Synergy: ***@***.***:org.synergy.base.Log:153
2019-06-24 15:11:33.519 2134-15547/org.synergy W/System.err: org.synergy.io.msgs.InvalidMessageException
2019-06-24 15:11:33.522 2134-15547/org.synergy W/System.err: at org.synergy.io.msgs.HelloMessage.<init>(HelloMessage.java:60)
2019-06-24 15:11:33.523 2134-15547/org.synergy W/System.err: at org.synergy.client.Client.handleHello(Client.java:195)
2019-06-24 15:11:33.524 2134-15547/org.synergy W/System.err: at org.synergy.client.Client.access$300(Client.java:48)
2019-06-24 15:11:33.525 2134-15547/org.synergy W/System.err: at org.synergy.client.Client$4.run(Client.java:237)
2019-06-24 15:11:33.526 2134-15547/org.synergy W/System.err: at org.synergy.base.EventQueue.dispatchEvent(EventQueue.java:135)
2019-06-24 15:11:33.527 2134-15547/org.synergy W/System.err: at org.synergy.Synergy$MainLoopThread.run(Synergy.java:64)
2019-06-24 15:11:33.529 2134-15547/org.synergy I/Synergy: Event grabbed:org.synergy.base.Log:153
2019-06-24 15:11:33.530 2134-15547/org.synergy I/Synergy: ***@***.***:org.synergy.base.Log:153
2019-06-24 15:11:33.534 2134-15547/org.synergy I/Synergy: Event grabbed:org.synergy.base.Log:153
2019-06-24 15:11:33.536 2134-15547/org.synergy I/Synergy: ***@***.***:org.synergy.base.Log:153
2019-06-24 15:11:34.540 2134-15547/org.synergy W/System.err: org.synergy.io.msgs.InvalidMessageException
2019-06-24 15:11:34.545 2134-15547/org.synergy W/System.err: at org.synergy.io.msgs.HelloMessage.<init>(HelloMessage.java:60)
2019-06-24 15:11:34.546 2134-15547/org.synergy W/System.err: at org.synergy.client.Client.handleHello(Client.java:195)
2019-06-24 15:11:34.546 2134-15547/org.synergy W/System.err: at org.synergy.client.Client.access$300(Client.java:48)
2019-06-24 15:11:34.547 2134-15547/org.synergy W/System.err: at org.synergy.client.Client$4.run(Client.java:237)
2019-06-24 15:11:34.548 2134-15547/org.synergy W/System.err: at org.synergy.base.EventQueue.dispatchEvent(EventQueue.java:135)
2019-06-24 15:11:34.548 2134-15547/org.synergy W/System.err: at org.synergy.Synergy$MainLoopThread.run(Synergy.java:64)
2019-06-24 15:11:34.550 2134-15547/org.synergy I/Synergy: Event grabbed:org.synergy.base.Log:153
2019-06-24 15:11:34.551 2134-15547/org.synergy I/Synergy: ***@***.***:org.synergy.base.Log:153
2019-06-24 15:11:34.553 2134-15547/org.synergy I/Synergy: Event grabbed:org.synergy.base.Log:153
2019-06-24 15:11:34.554 2134-15547/org.synergy I/Synergy: ***@***.***:org.synergy.base.Log:153
2019-06-24 15:11:34.557 2134-15547/org.synergy W/System.err: org.synergy.io.msgs.InvalidMessageException
2019-06-24 15:11:34.560 2134-15547/org.synergy W/System.err: at org.synergy.io.msgs.HelloMessage.<init>(HelloMessage.java:60)
2019-06-24 15:11:34.563 2134-15547/org.synergy W/System.err: at org.synergy.client.Client.handleHello(Client.java:195)
2019-06-24 15:11:34.565 2134-15547/org.synergy W/System.err: at org.synergy.client.Client.access$300(Client.java:48)
2019-06-24 15:11:34.566 2134-15547/org.synergy W/System.err: at org.synergy.client.Client$4.run(Client.java:237)
2019-06-24 15:11:34.567 2134-15547/org.synergy W/System.err: at org.synergy.base.EventQueue.dispatchEvent(EventQueue.java:135)
2019-06-24 15:11:34.568 2134-15547/org.synergy W/System.err: at org.synergy.Synergy$MainLoopThread.run(Synergy.java:64)
2019-06-24 15:12:01.870 2134-2134/org.synergy W/org.synergy: type=1400 audit(0.0:27): avc: denied { write } for name="uinput" dev="tmpfs" ino=12413 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:uhid_device:s0 tclass=chr_file permissive=0
2019-06-24 15:12:01.906 2134-15547/org.synergy I/Synergy: Event grabbed:org.synergy.base.Log:153
2019-06-24 15:12:01.907 2134-15547/org.synergy I/Synergy: ***@***.***:org.synergy.base.Log:153
2019-06-24 15:12:01.908 2134-15547/org.synergy I/Synergy: Event grabbed:org.synergy.base.Log:153
2019-06-24 15:12:01.909 2134-15547/org.synergy I/Synergy: ***@***.***:org.synergy.base.Log:153
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#189?email_source=notifications&email_token=ABUBDU3K7NU23UBRXHABDVLP4DCF3A5CNFSM4GHTPJTKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYM4FFI#issuecomment-505004693>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABUBDUYLAH3T6UUPPA2WKFTP4DCF3ANCNFSM4GHTPJTA>
.
|
Beta Was this translation helpful? Give feedback.
-
It should be here https://github.com/dadosch/synergy-android-7/ Please note that I think (but I don't remember exactly) that I was able to fix the message I wrote earlier (InvalidMessageException) with dadosch/synergy-android-7@2f05f23 However, when I tested the app connecting worked fine, but the mouse emulation part didn't (I think it had something to do with this file https://github.com/dadosch/synergy-android-7/blob/master/app/src/main/jni/synergy-jni.c not working properly) (But the mouse not working might also be because of my LineageOS not running some commands properly) |
Beta Was this translation helpful? Give feedback.
-
For testing, you need to run Barrier without "--enable-crypto". Current state: No mouse shown on android phone, but events should be successfully received. |
Beta Was this translation helpful? Give feedback.
-
scrcpy https://github.com/Genymobile/scrcpy/blob/master/DEVELOP.md#input-events-injection also does injecting key and mouse events. Note that they handle special keys like umlauts or fancy French characters quite well. (But I don't know wether it works without adb, but no root should be required) EDIT: I think the key part IS that it works via adb so it has the permissions to install the server with appropriate permissions. However, no cursor is shown on the device when controlled via scrcpy. If it would be possible to use their way to emulate keypresses (even if that would mean a slightly more complex installation process than simply installing a APK), I think I would prefer their way over a root-only route. Steps needed: (IMHO)
@mirh I tried out that app . While moving the "cursor" (basically a large image of a curser) with the python script worked, clicking didn't work. A different approach would be to use a bluetooth adapter on the computer to act as HID device (a bit like https://github.com/xenogenesi/hidclient, but only used when the mouse would be leaving the computer's screen), but then you would need to configure the resolution of the phone screen on the computer I suppose (Since HID mice send only relative data, don't they?) This would be universal and could be used not only for phones. |
Beta Was this translation helpful? Give feedback.
-
AFAIU the accessibility service can only interact with "accessible objects". Root+adb (which can also wireless btw) seem the two most proper routes |
Beta Was this translation helpful? Give feedback.
-
Is there any traction on an Android application. It can be REALLY useful when I use Samsung Dex. |
Beta Was this translation helpful? Give feedback.
-
Not officially. We have other pressing bugs and issues to catch up on, before even Android app development can be considered.. apologies. |
Beta Was this translation helpful? Give feedback.
-
Moving this is to a discussion, better suited to IMHO. I will also create a tracker issue for progress - recommendation is to use discussion for design, and tracker issue for development progress. |
Beta Was this translation helpful? Give feedback.
-
Is there any progress on the idea? |
Beta Was this translation helpful? Give feedback.
-
No - I ended up switching to ssh
…On Mon, Jan 17, 2022, 00:13 J. Gonzalez ***@***.***> wrote:
Is there any progress on the idea?
—
Reply to this email directly, view it on GitHub
<#1305 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABUBDU5B3CKWI5IAL2NSNGLUWOQNZANCNFSM5MDX3HJQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Well all the things I wanted to do like copy files or open files are
possible using termux+ ssh. So instead of dragging a file over I use scp to
copy to my phone and then termux-open to open it on my phone (or vice
versa- scp files to my desktop to work on them). I have a Samsung with
Samsung Dex so sometimes I just plug my phone into an external monitor to
work directly off the phone.
You can also set up VNC on your desktop and use VNC viewer on your phone to
extend your desktop.
…On Mon, Jan 17, 2022, 06:10 J. Gonzalez ***@***.***> wrote:
what are the possibilities you have using ssh?
—
Reply to this email directly, view it on GitHub
<#1305 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABUBDU35N35QI5JLNPC3Y3DUWP2L5ANCNFSM5MDX3HJQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Yes.
If you do want to try, install termux from F-Droid and read this:
https://wiki.termux.com/wiki/Remote_Access
…On Tue, Jan 18, 2022, 02:21 J. Gonzalez ***@***.***> wrote:
thanks, it is a good workaround for advanced users, not very much suitable
for general use/public. I hope that there is going to be a push on this
topic once Apple releases the new function of Universal Control
<https://9to5mac.com/2021/12/13/apples-ambitious-universal-control-feature-delayed/>
—
Reply to this email directly, view it on GitHub
<#1305 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABUBDU45KZBZXE2VI3OBSC3UWUIGXANCNFSM5MDX3HJQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Is there an update? |
Beta Was this translation helpful? Give feedback.
-
I second this. If there was a way to get an Android client, it would be great. It would really complete my set up! |
Beta Was this translation helpful? Give feedback.
-
I've succesfully been using DeskDock Pro for a a year with my old phone (Android 6) an old tablet (Android 6) connected most of the times. I haven't run into any of the issues people above mention. The old phone does however disconnect often but I believe it's Android killing the process on the background. The tablet running Android 5 never disconnects. When the disconnection occurs, I usually need to replug the cable to reconnect or (much less frequently), restart DeskDock server. For that I've created an alias so it's not that big of a deal: alias ddserver="pkill -f DeskDock &>/dev/null; nohup java -jar ~/Tools/DeskDockServer.jar &>/dev/null &" While I agree a dedicated client would be less of a hassle, it does not seem to be an easy task to pull off. I had waited for a working solution to come up for at least 8 years before "rediscovering" DeskDock. I bought the Pro version many years back but didn't use it for long. Now with the Barrier support, it's useful again and I even had the license already! The app was also recently updated also, so it might be worth testing it again. The changelog mentions the invisible cursor issue on Android 11 should be fixed. |
Beta Was this translation helpful? Give feedback.
-
Hmm. I don't know why so many solutions are about simulating touch. Android has support for mouse and keyboard (I frequently connect my C type dock to my phone and use the keyboard and mouse like a normal computer). It has a mouse pointer and everything. |
Beta Was this translation helpful? Give feedback.
-
Since it hasn't seem to come up... What about the other way around? Use Android mouse and keyboard sharing to another computer? This use to exist with Synergy and rooted device but I can't find anything current. |
Beta Was this translation helpful? Give feedback.
-
Hello, it seems that today there is already a solution so that the deskdock can be used through wireless debugging using the PRO Android application, I tried it a few hours ago but suddenly it disconnected, I don't know why it is, my first suspicions would be the java application and the adb package of drivers, I will continue testing and trying with my tablet, but it is exciting that it works in the same way as it would barrier Link to the possible option of using a dedock with wireless debugging: |
Beta Was this translation helpful? Give feedback.
-
Here is dart implementation of Barrier Servers, and supports all servers which are based on Synergy |
Beta Was this translation helpful? Give feedback.
-
So I got Barrier working with Deskdock but I can't see a mouse cursor on screen. Any tips to fix it? I'm on Windows 10, latest Deskdock server, Android 13 tablet, and the latest deskdock app. Deskdock by itself is working fine. Only that there are some connection issues now and then, and I was hoping Barrier might be some sort of improvement. I'd like to fix this and see if using Barrier is worthwhile or if I should just use deskdock normally, thanks. Edit: I've also tested Scrcpy and its OTG mode. Works fine. Physical keyboard and mouse is detected by the tablet, I can see the cursor, it all works. I just feels its not as easy-to-use or elegant as Deskdock, especially because there are no mouse shortcuts apparently. But the implementation felt almost native. Deskdock by itself doesn't feel 'native'. I can feel it feels different. When I use DeskDock + Barrier, the keyboard works absolutely fine. And right click also works as a back button. I just can't see any cursor. Appreciate any help, as I think this solution may be what I'm looking for. |
Beta Was this translation helpful? Give feedback.
-
Okay so here's what my Barrier looks like. I just enabled SSL. But this is my log:
It continuously is doing this and fails to connect. |
Beta Was this translation helpful? Give feedback.
-
@ristomatti Making a new thread here because that one had gotten too long hah. So you need this specific version here: https://tmp.rom1v.com/scrcpy/4868/3/scrcpy-pr4868.3.zip This one has the new feature. Then, scrcpy -KM --no-video --no-audio will work fine. The difference is this works in UHID, which I found better than AOA And yes, pressing left Alt returns control. I set up a hotkey in EventGhost like this: There are a few disabled commands here that I haven't cleaned up yet. But it works. So I can just use that key to switch back and forth. I recommend trying that UHID as it might feel better to you too. @rohitsangwan01 I'm on Windows 10. And tablet is Android 13. |
Beta Was this translation helpful? Give feedback.
-
There seems to be an Android client for Synergy floating around (https://github.com/symless/synergy-android-7). I tried connecting to Barrier (and Synergy 1.10 Pro before I switched to Barrier) and I get this:
[2018-12-01T07:18:05] NOTE: accepted client connection
but nothing more.
This is probably too time-intensive to incorporate but would be nice to have if it's easy to integrate into the project linked above.
Thanks for making an awesome product!
Beta Was this translation helpful? Give feedback.
All reactions