Geoclue Share

Ankit, on 07 July 2015

So, this post is about an Android application named 'Geoclue Share' which will be able to share location data from an android device to Geoclue device.

This is part of a GSoC 2015 project. You can read more about it here.

What's been done up till now?

How does it work?

As soon as the client connects to the application, it starts the GPS and starts sending in location data in form of GGA sentences.

If there is no client the GPS remains off. This application keeps on running in the background (as a Service) in order to listen for new clients.

A flow diagram for our Android application.
A flow diagram for our Android application.

What's next?

The next phase of this development would be to use mDNS for service broadcasting. This way connecting two devices would become more seamless.

Android side will use NSD for service broadcasting. Avahi is to be used a Geoclue end.


Note: This a work in progress and is not yet available in the main repository. Android application source can be accessed here. And Geoclue patches here.