[maemo-developers] Check if application is run

From: Michael Stepanov michael at stepanoff.org
Date: Wed Nov 7 16:34:53 EET 2007
On 11/7/07, Mika Yrjölä <exploderi at gmail.com> wrote:
> 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).

Sounds very attractive! But in what place I should call that check in the
main program?

The following page should contain links to plenty of D-BUS documentation:
> http://www.freedesktop.org/wiki/Software/dbus

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maemo.org/pipermail/maemo-developers/attachments/20071107/d9ce9ce0/attachment.htm 
More information about the maemo-developers mailing list