New Extension: AdvancedLocationSensor (GPS+) v1.2 UPDATE 19.10.17

Hi everyone,

i have expand the location sensor component, named “AdvancedLocationSensor”.
My AdvancedLocationSensor-Extension has in addition to the functions of the standard LocationSensor other events:

these events are triggered when location sensor is activated or deactivated (via system settings or appsettings).

these events are triggered when location sensor finds the first position.
int TimeToFirstFix: contains time in ms

these events are triggered when the position changes.
float bearing: contains the direction of movement
long time: contains time in ms (Unix time format) <-- Satellite Time!

these events are triggered when the satellite status changes.
int cntSatView: contains the number of satellites in view
int cntSatFix: contains the number of satellites in fix
string listSatellites: contains a list of satellites [GpsSatellite]
long time: contains time in ms (Unix time format) <-- Satellite Time!

these events are triggered when an nmea message has been received.
long timestamp: contains time in ms (Unix time format) <-- Phone Time!
string nmea: contains the NMEA-Message [info]

I make the extension available for free, but if you like the extension, I would be happy about a small donation (starting from $ 1)!
Donation
Greetings from Germany :slight_smile:
Niclas Gins

Download: AdvancedLocationSensor (GPS+)

23 Likes

Maybe you give us some screenshots and a description

of course.

v1.1 Released, link in description (changelogs, files, documentation)

1 Like

v1.2 Released, link in description (changelogs, files, documentation)

3 Likes

where can you download “Advancedlocationsensor”? Thank you

would it be possible to provide the GPS coordinates in Gauss-Krüger?

Download link on top in description

If you or somebody write me a converter class, then i can implement gauß krueger format

2 Likes

plz help HOW TO USE ?? New Extension: AdvancedLocationSensor (GPS+) v1.2 UPDATE 19.10.17

See description.

1 Like

Hi Niclas,

really nice extension - can you tell me what possible “status” are for Status.changed? Because even for the regular location sensor I could not find any docs that explain what replies could be received… Are there others than “available” and “temporarily_unavailable”?

best, Chris

Hi,
There are 3 possible status:

  • OUT_OF_SERVICE
  • TEMPORARILY_UNAVAILABLE
  • AVAILABLE

For more informations klick here

regards, Niclas

Hello Niclas,
seems that in your extension, time hasn’t ms field.

I’ve tried with time LocationSatelliteStatus, LocationChanged and Nmea received.
Can I capture millisecond by your extension?
Thanks in advanced

Hi,
The gps receiver in the phone is not able to give ms. But you can try synchronizing the gps time with your phone time. At the phone time you have access to the ms.

Since the GPS sensor has a high accuracy more than ms, almost the android could not be able to capture this info. But I don’t believe this is true.

Hi Niclas.
Your extension is better than location sensor component. I have two queries:
1.How to convert speed into km/r . I do not if it shows the speed in meters/ sec or what
2. I am unable interpret the values show for “bearing” and how to use in apps.

Thanks in Advance.

Hi,

  1. The speed unit is meters/sec. You can it convert to km/h when you multiply speed with 3,6.
  2. It is the move direction. 0 Degree is North. 180 Degree is South. Look here: Compass

Thanks a lot.
It really helped my. The bearing value is really very useful for my app.

1 Like

Hi !
I am using Advanced location sensor. Some of the properties like “show user” is not working though I have set the properties in the design mode as will as in the blocks.
I tried hard to solve but in vain,
Can you help bro?