Re: Facing a problem trying to use GeoClue2
- From: "Zeeshan Ali (Khattak)" <zeeshanak gnome org>
- To: Parin Porecha <parinporecha gmail com>
- Cc: Maps List <maps-list gnome org>
- Subject: Re: Facing a problem trying to use GeoClue2
- Date: Sun, 20 Oct 2013 11:10:41 -0700
On Sun, Oct 20, 2013 at 9:38 AM, Parin Porecha <parinporecha gmail com> wrote:
you want to hook-up to 'LocationChanged'
signal before starting the client. The '/' path is same as NULL.
Yes, I've done it this way -
client = dbus.Interface(client_object,
'org.freedesktop.GeoClue2.Client')
client.connect_to_signal('LocationUpdated', location_updated)
client.Start()
is it wrong ?
I don't know how dbus is done in python. What I meant was that you'll
get the location for the first (and also subsequent) time using the
handler for this signal.
--
Regards,
Zeeshan Ali (Khattak)
FSF member#5124
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]