Sorry, forgot to send this to the list.

---------- Forwarded message ----------
From: Henri Bergius <[EMAIL PROTECTED]>
Date: Oct 10, 2007 1:33 PM
Subject: Re: Launching web browser from python
To: David HAUTBOIS <[EMAIL PROTECTED]>


On 10/10/07, David HAUTBOIS <[EMAIL PROTECTED]> wrote:
> Hi
>
> I'm developping a python application.
> What is the best way to launch the web browser with a specified URL ?

This is what we do in maemoplazer:

        # Launch browser DBUS service
        bus = dbus.SessionBus()
        proxy_obj = bus.get_object('com.nokia.osso_browser',
'/com/nokia/osso_browser')
        dbus_iface = dbus.Interface(proxy_obj, 'com.nokia.osso_browser')
        # Make browser use correct url
        dbus_iface.open_new_window(str("url"))

> David.

/Henri

--
Henri Bergius
Motorcycle Adventures and Free Software
http://bergie.iki.fi/

Skype: henribergius
Jabber: [EMAIL PROTECTED]
Jaiku: http://bergie.jaiku.com/


-- 
Henri Bergius
Motorcycle Adventures and Free Software
http://bergie.iki.fi/

Skype: henribergius
Jabber: [EMAIL PROTECTED]
Jaiku: http://bergie.jaiku.com/
_______________________________________________
maemo-developers mailing list
[email protected]
https://lists.maemo.org/mailman/listinfo/maemo-developers

Reply via email to