目录

Location Simulation

Since version 26.0.0, the location simulation capability is introduced to help you debug and test app functions related to geographical locations.

When to Use

Constraints

Procedure

  1. On the menu bar, choose View > Tool Windows > Device File Browser to open Device File Browser.

  2. Click the button shown in the figure to open the location simulation window.

  3. Set the location information. Two modes are available:
    • Manual: used for simulating static locations. On this tab, manually enter the longitude, latitude, altitude, and azimuth of a location.

    • Replay: used for simulating movement trajectories or continuous location changes. Click Open to import a local GPX file, set the interval, and click Apply to report the trajectory information in the GPX file at the specified interval.

  4. To disable location simulation, deselect Virtual location to restore the real geographical location of the device.