Location injection overview

On an device, if you test a location-aware app that uses Location Services to generate location data, you can set a location without moving the device from place to place. As a location, Perfecto accepts an address (full or partial) or a pair of latitude and longitude coordinates.

Location injection requirements

Location injection requires one of the following: 

  • A full address (street, city, state, country) or partial address

    Setting the location via address requires using Google Geocoding. For example: 1600 Amphitheatre Parkway, Mountain View, CA.

  • A pair of latitude and longitude coordinates

    Setting the location via GPS is also possible. Many applications supply GPS coordinates when given an address following Google's Geocoding format. For example: Google Maps yields the GPS coordinates 43.642752 (latitude), -79.386981 (longitude) - decimal degrees - for the address "1600 Amphitheatre Parkway, Mountain View, CA."

    When you obtain GPS coordinates, you can set the device location via the Set device location (FR) command.

Location injection limitations

Location injection is only supported on devices set to English. Other languages are currently not supported.

Where to go from here?

To perform location injection, check out the following articles: