[maemo-developers] [maemo-developers] launching maemo applications with parameters
From: Osvaldo Santana osantana at gmail.comDate: Sun Jun 18 17:17:52 EEST 2006
- Previous message: [maemo-developers] launching maemo applications with parameters
- Next message: [maemo-developers] launching maemo applications with parameters
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 6/18/06, Daniel Greenblatt <dan.greenblatt at gmail.com> wrote: > Hello - > > I'm developing an application for the 770 using Python (1.1), and I can't > figure out how to launch any of the native Maemo applications (web > browser, image viewer) with parameters (e.g. the name of a file to > open) from my code. I'm specifically interested in launching > image-viewer to display a particular image file. Making a system call > to /usr/bin/image-viewer does indeed launch the image viewer, but it > doesn't seem > possible to provide it with parameters. > > I know that PyMaemo 2.0 will have DBus support, and this will enable > me to achieve this, but in the meantime, does anyone know how to get > the same effect from the command line ? Hi Daniel, I think that is impossible to call an application via 'system()' call. The main problem is: probably the task-navigator will try to kill an unregistered application. Libosso register the application when we call osso_rpc_run() function. Unfortunately libosso bindings for Python doesn't build on SDK1.x because it was created for the new libosso version available in SDK2. Thanks, Osvaldo -- Osvaldo Santana Neto (aCiDBaSe) icq, url = (11287184, "http://www.pythonbrasil.com.br")
- Previous message: [maemo-developers] launching maemo applications with parameters
- Next message: [maemo-developers] launching maemo applications with parameters
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]