Hi Ashley,
It is possible to use the SparshUI Java server with the C++ client
application. However, not all of the gestures are currently supported
for C++ code. The result of sending touch point data into a gesture
is typically an event which contains the gesture data. For the client
application to understand the gesture, it needs to support receiving
the event that the gesture outputs. Supported C++ events are found in
the code in /trunk/C++/GestureServer/Common/Events.
Each event has to support serialization over a network stream; a
constructor which takes a byte array and populates the member
variables, and a method serialize() which packs the members into a
single byte array.
So porting the Java events into C++ should not be too difficult, and
we'd be excited about getting some of them ported if you're interested
in contributing! Once the events are ported into C++ and added into
the ClientAdapter code, C++ apps should be able to work with the rest
of the gestures in the Java server.
Hope this helps, and good luck!
Jay