[maemo-developers] [maemo-developers] python + osso_browser does work.
From: Marius Gedminas marius at pov.ltDate: Mon Dec 11 22:47:27 EET 2006
- Previous message: [maemo-developers] python + osso_browser does work.
- Next message: [maemo-developers] python + osso_browser does work.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Mon, Dec 11, 2006 at 03:09:20PM -0500, Jason Monroe Martin wrote:
> The following code works in maemo 2.1
It works in Maemo 2.0 too.
> import dbus
>
> bus = dbus.SessionBus()
>
> proxy_obj = bus.get_object('com.nokia.osso_browser',
> '/com/nokia/osso_browser')
(The browser appears at this point and starts opening the default home
page. I assume it wouldn't do that if I already had a browser window
open.)
> dbus_iface = dbus.Interface(proxy_obj, 'com.nokia.osso_browser')
>
> dbus_iface.load_url('http://www.google.com')
(The browser starts loading google. The Python process blocks until the
browser finishes.)
Aargh, can we please have a Python with readline support in the next OS
update?
Marius Gedminas
--
The UNIX philosophy basically involves giving you enough rope to
hang yourself. And then a couple of feet more, just to be sure.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.maemo.org/pipermail/maemo-developers/attachments/20061211/37215894/attachment.pgp
- Previous message: [maemo-developers] python + osso_browser does work.
- Next message: [maemo-developers] python + osso_browser does work.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
