[maemo-developers] [maemo-developers] python + osso_browser + non-blocking
From: Jason Monroe Martin jasmar at localnet.comDate: Tue Dec 12 21:45:56 EET 2006
- Previous message: [maemo-developers] Complete source tree for maemo.
- Next message: [maemo-developers] flasher not flashing rootfs?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
import osso def my_call_back(*args): print args # 'req' = my app name ?????? appcxt=osso.Context('req', '1.0', False) appcxt.rpc_async_run_with_defaults('osso_browser', 'load_url', my_call_back, user_data=None, rpc_args=(('http://www.yahoo.com', ))) # or this #appcxt.rpc_async_run('com.nokia.osso_browser', '/com/nokia/osso_browser', 'com.nokia.osso_browser', 'load_url', my_call_back, user_data=None, rpc_args=(('http://www.yahoo.com', ))) # works non-blocking as long as there is a browser window open or ran twice. # Maybe I do not understand the documentation. Maybe some can improve on.
- Previous message: [maemo-developers] Complete source tree for maemo.
- Next message: [maemo-developers] flasher not flashing rootfs?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]