XCSoar Secondary Monitor on Android Tablet WiFi

Moderators: Uros, Tom, OXO

Post Reply
Kandiru
Posts: 10
Joined: Mon Nov 18, 2019 3:46 am

XCSoar Secondary Monitor on Android Tablet WiFi

Post by Kandiru » Sun May 10, 2020 6:34 pm

This takes five minutes and work right away.

Spacedesk by Datronics of Germany helped me extend the desktop onto my Samsung Galaxy Tab 2 via WiFi.

1. Load the PC version:
https://spacedesk.net/

2. Load the Android:
https://play.google.com/store/apps/deta ... edesk.beta

3. Both PC and tablet on same WiFi network.

4. Open XCSoar on PC. Drag it past the right upper corner into the tablet and expand it to fill screen.
Tablet will remain fully functional too.

janjansen
Posts: 1068
Joined: Wed Feb 24, 2016 9:26 pm

Re: XCSoar Secondary Monitor on Android Tablet WiFi

Post by janjansen » Mon May 11, 2020 8:44 am

Thats a cool solution and it works surprisingly well. But it has one big draw back; you can no longer use the touch screen independent from the mouse to interact with xcsoar as the mouse and touchscreen will either control condor or xcsoar depending which app has focus. You can work around that somewhat by using autohotkey so you can at least zoom in and out and switch pages in xcsoar, I use this script:

Code: Select all

SetTitleMatchMode 2
DetectHiddenWindows, on

Run, C:\xcsoar\xcsoar.exe
WinWait, XCSoar
WinMove, 1920, 0 
WinMaximize 

up::
ControlSend,ahk_parent, {Up}, XCSoar
Return

down::
ControlSend,ahk_parent, {Down}, XCSoar
Return

left::
ControlSend,ahk_parent, {Left}, XCSoar
Return

right::
ControlSend,ahk_parent, {Right}, XCSoar
Return
that allows me to use up/down arrows to zoom in xcsoar, and lef/right to switch pages. But I have no solution to change waypoints or McCready or anything else.

So I still prefer running native xcsoar on the tablet.

To do that over wifi, you can use this:
https://www.hw-group.com/software/hw-vs ... erial-port

You have to enable "tcp server mode" in settings and then in xcsoar you can connect to the TCP client.

The problem with that solution, is transferring the task easily. I use an FTP server on the tablet for that. Though USB should work too.

Kandiru
Posts: 10
Joined: Mon Nov 18, 2019 3:46 am

Re: XCSoar Secondary Monitor on Android Tablet WiFi

Post by Kandiru » Mon May 11, 2020 11:41 am

Thank you, I will definitely give it a whirl, BT is very unreliable.

Post Reply