New release of Python2.5 for Maemo (r0.4-12)

Henri Bergius henri.bergius at
Fri Jul 20 04:54:26 PDT 2007

On 7/19/07, Luciano Miguel Wolf <luciano.wolf at> wrote:
> Next major release is planned to have GPS and Address book support.

Hey, consider using GeoClue instead of direct GPS. That way apps can
get position information even when GPS is not available...

# TODO: Get the GeoClue interface to use from
# and /schemas/apps/geoclue/position/defaultservice GConf keys
proxy_obj = bus.get_object('org.foinse_project.geoclue.position.hostip',
geoclue_iface = dbus.Interface(proxy_obj, 'org.foinse_project.geoclue.position')

# Get the coordinates from the service
coordinates = geoclue_iface.current_position()

Simple, isn't it? :-)

GeoClue is being considered as a default part of the GNOME Mobile and
Embedded stack, so supporting it instead of direct gpsd would make

> Luciano Wolf


Henri Bergius
Motorcycle Adventures and Free Software

Skype: henribergius
Jabber: henri.bergius at

More information about the GeoClue mailing list