a simple example based on the Leap SDK Java sample