Visit Sensors > Location for supported devices. This screen will allow you to set the Latitude, Longitude, and Altitude using the provided entry boxes. You can also navigate to a latitude/longitude of your choice by moving the map to the location of interest.
Note that location data is provided only to UI applications as a user-mode implementation of CLLocationManager. Only raw location events are supported. Activity filtering, region monitoring, beacons, and visit events are not currently supported.
Location Services on newly created iOS devices are disabled by default. You may need to go into the Settings application and enable Location Services if your application does not request them to be enabled.
Note that these values are provided to the Android system as a GPS hardware change. This means you can read them utilizing the direct permissions android.permission.
ACCESS_FINE_LOCATION and android.permission.
Directly using location data
Ensure that the application you are trying to test has direct access to the GPS by requesting the correct permissions you would like, either android.permission.
ACCESS_FINE_LOCATION or android.permission.
Using a FusedLocationProvider
The Google FusedLocationProvider API enables functionality such as "Current Location." Without the FusedLocationProvider enabled, features such as centering on your current location in maps apps will not behave as expected.
In order to use the FusedLocationProvider, you will first need to install OpenGapps, which will install Google Play Services. Once that's installed, you will also need to install Google Maps via the Google Play Store or by side-loading. Next, you will need to run Google Maps at least once to activate the feature.
Google Services handles the FusedLocationProvider API interaction. When an application is subscribed to get location updates, Google Services relies on its own services to continually receive periodic locations to update the FusedLocation. This is why you must install and run Google Maps at least once to activate this feature.