[maemo-developers] [maemo-developers] One osso_browser python solution

From: Osvaldo Santana osantana at gmail.com
Date: Sun Dec 10 21:29:00 EET 2006
Hi Jason,

We're working on the next version of Python for Maemo and we've
extended the Python's webbrowser module to enable it to open the 770
browser.

We are using the libosso.Context instance to send a
.rpc_run_with_defaults() message.

I think this is de best way to open the browser.

Thanks,
Osvaldo

On 12/9/06, Jason Monroe Martin <jasmar at localnet.com> wrote:
> I settled with following the pine-url.sh example. I would still like to do
> it with the dbus bindings though.
>
>
>  import commands
>
>  url='http://www.google.com'
>
>  result=commands.getoutput('dbus-send --print-reply
> --dest=com.nokia.osso_browser /usr/bin/browser
> com.nokia.osso_browser.load_url string:%s' % url)
>
>  print result
>
> _______________________________________________
> maemo-developers mailing list
> maemo-developers at maemo.org
> https://maemo.org/mailman/listinfo/maemo-developers
>
>
>


-- 
Osvaldo Santana Neto (aCiDBaSe)
http://www.pythonologia.org

More information about the maemo-developers mailing list