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

Feature
Single-Frame
Multi-Frame

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

Feature
Description

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

  1. Initialize the SDK and authenticate in MainActivity

  2. For localization: configure LocalizationConfig, then launch MultiSetLocalizationActivity

  3. For object tracking: configure ObjectTrackingConfig, then launch ObjectTrackingActivity

See LocalizationConfig and ObjectTrackingConfig for full configuration options.

Last updated