On Sun, 2006-06-18 at 15:00, ext Daniel Greenblatt 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 ?
You should not use command line. Please look at the Libossomime library API (osso-mime.h or something) -- it allows launching handler applications for different MIME types (such as images with Image Viewer). BR; Kimmo > > Thanks > Dan > _______________________________________________ > maemo-developers mailing list > [email protected] > https://maemo.org/mailman/listinfo/maemo-developers _______________________________________________ maemo-developers mailing list [email protected] https://maemo.org/mailman/listinfo/maemo-developers
