[maemo-developers] Check if application is run

From: Mika Yrjölä exploderi at gmail.com
Date: Wed Nov 7 13:00:10 EET 2007
On 11/7/07, Michael Stepanov <michael at stepanoff.org> wrote:
> Hi,
>
> I developed a simple Maemo application using its SDK which just run another
> SDL-based program with specified parameters. So, I'd like to catch the case
> when the SDL program crashed by some reason to run it again. What is the
> most efficient way to periodically check something in the Maemo SDK?

If the launched program registers itself as a D-BUS service, other
applications can then monitor the service for events such as its
disappearance (also avoiding the need to check the status of the
application periodically).

The following page should contain links to plenty of D-BUS documentation:

http://www.freedesktop.org/wiki/Software/dbus

More information about the maemo-developers mailing list