Example index
Java examples for the current Android SDK.
Current version · 1.4.0
Example index
Java examples for the stable release. For dependencies, see Installation & requirements.
Exo examples
The public Exo sources live in examples-public/examples/exo/java. Each row links to the guide section that shows the class.
| Java source | Goal | Main API |
|---|---|---|
| QuickStart.java | Discover the only Exo and stream telemetry | telemetry().subscribe() |
| DiscoverExos.java | List Exo candidates and per-port errors | Sdk.discoverExos() |
| DeviceInfo.java | Read product, firmware and capabilities | device().getDeviceInfo() |
| Telemetry.java | Read telemetry and connection status | status().subscribe() |
| Handset.java | Read handset axes, triggers and buttons | payload.leftHandset |
| Imu.java | Read supported torso and extra IMU samples | payload.torsoImu |
| DeviceLifecycle.java | Stop one device while another keeps running | device.stop() |
| Haptics.java | Set and clear left/right haptics | haptics().set() |
Composite Exo + Glove examples
The shared sources live in examples-public/examples/composite-exo-glove/java. Each row links to the composite guide.
| Java source | Goal | Main API |
|---|---|---|
| QuickStart.java | Connect a composite device and print both glove poses | sdk.glove() |
| DeviceInfo.java | Read both glove sources and Exo identity | sourceId() |
| DiscoverExoGlove.java | Discover the shared Exo+Glove endpoint | SerialConnection.autoDiscover() |
| Telemetry.java | Read glove poses, status and Exo telemetry | pose().subscribe() |
| GloveRetargeting.java | Read both retargeted hand outputs | output().subscribe() |
| GloveHaptics.java | Submit and clear glove haptics requests | haptics().set() |
| Imu.java | Read Exo IMUs on the shared link | payload.torsoImu |
| Lifecycle.java | Start, read, stop and close one composite | sdk.update() |