Processing Android Code Commands NX500

I wrote some experimental Processing code as an Android app (for Samsung Galaxy S6 phone) to see if synchronized shutter release could be achieved using Telnet into twin Samsung NX500 cameras modified with the  NX-KS2 hack.

Unfortunately no, the system delays do not allow synchronization within 1/100 second. I'll have to stick with wired controllers for shutter release. There may be a way using Broadcast messages if I can write a daemon for the NX500 to trigger the shutter when it receives a message.

This code may be a helpful starting point for other purposes when accessing the camera with Telnet. You can get the code on Github at

https://github.com/ajavamind/ProcessingAndroidTelnetTwinNX500

debug:
### [2016/10/15 10:40:32] PROCESS @ TcpClient ### starting new TcpClient 192.168.1.192:23
name1=Right
### [2016/10/15 10:40:32] PROCESS @ TcpClient ### starting new TcpClient 192.168.1.204:23
name2=Left
READY TAP
2: [root@drime5 ~]#
1: [root@drime5 ~]#
2: [root@drime5 ~]# st app nx capture single
1: [root@drime5 ~]# st app nx capture single
2: [root@drime5 ~]#
1: [root@drime5 ~]#
1: [root@drime5 ~]# st app nx capture single
2: [root@drime5 ~]# st app nx capture single
1: [root@drime5 ~]#
2: [root@drime5 ~]#