Sample Activities
This section provides detailed documentation for the sample activities included in the MultiSet Android SDK. These activities demonstrate how to implement VPS localization and object tracking in your Android application.
Available Activities
The entry point for the SDK demo application. Handles SDK initialization, authentication, and navigation to both the AR localization and object tracking activities. Displays a card-based UI with a Localization card (mode picker + Start button) and an Object Tracking card.
Unified AR localization activity that supports both single-frame and multi-frame localization modes. The mode is selected at launch time via an intent extra.
Dedicated AR activity for detecting and tracking pre-registered physical objects. Once an object is tracked, its 3D mesh is fetched from the MultiSet platform and rendered in the AR scene with an animated glowing outline shader.
Localization Mode Comparison
Frames captured
1
4–6 (configurable)
Accuracy
Good
Better
Capture time
Instant
~2–3 seconds
Network usage
Lower
Higher
Best for
Quick localization
Precise positioning
Object Tracking at a Glance
Supported objects
Up to 10 simultaneously
Mesh rendering
GLB fetched from platform, outline-only animated shader
Auto-tracking
Starts automatically on session ready
Background tracking
Periodic re-tracking after first success
Confidence filtering
Rejects low-confidence results automatically
Getting Started
Initialize the SDK and authenticate in
MainActivityFor localization: configure
LocalizationConfig, then launchMultiSetLocalizationActivityFor object tracking: configure
ObjectTrackingConfig, then launchObjectTrackingActivity
See LocalizationConfig and ObjectTrackingConfig for full configuration options.
Last updated