Original Author Paul Laughton, 2011
Page 195
De Re BASIC!
Gps.satellites {{<count_nvar>}, {<sat_list_nexp>}}
Returns the number of satellites used for the last GPS fix and a list of the satellites known to the GPS
hardware.
Both parameters are optional. If you omit <count_nvar> but use <sat_list_nexp>, keep the comma.
If you provide a numeric variable <count_nvar>, it is set to the number of satellites used for the most
recent location data. If the location report did not provide a satellite count, <count_nvar> is set to -1.
For a description of the satellite list pointer expression <sat_list_nexp>, see the <sat_list_nexp>
parameter of the Gps.status command, above.
Gps.accuracy <nvar>
Returns the accuracy level in <nvar>. If non-zero, this is an estimate of the uncertainty in the reported
location, measured in meters. A value of zero means the location is unknown.
Gps.latitude <nvar>
Returns the latitude in decimal degrees in <nvar>.
Gps.longitude <nvar>
Returns the longitude in decimal degrees in <nvar>.
Gps.altitude <nvar>
Returns the altitude in meters in <nvar>.
Gps.bearing <nvar>
Returns the bearing in compass degrees in <nvar>.
Gps.speed <nvar>
Returns the speed in meters per second in <nvar>.
Sensors
Introduction
Android devices can have several types of Sensors. Currently, Android's pre-defined Sensors are:
Name of Sensor
Type
Notes
Accelerometer
1
As of API 3 (Cupcake)
Magnetic Field
2
As of API 3
Orientation
3
As of API 3, deprecated API 8
Gyroscope
4
As of API 3
Light
5
As of API 3
Pressure
6
As of API 3
Temperature
7
As of API 3, deprecated API 14