[maemo-developers] How to avoid hildon apps being launched multiple times

From: Eero Tamminen eero.tamminen at nokia.com
Date: Wed Aug 15 17:40:34 EEST 2007

ext Zhu, Peter J wrote:
> Is there existing general framework or method in maemo/hildon so that
> application won't be launched more than once even if it's clicked
> multiple times from menu? Here I want a general and elegant way rather
> than for example judge if it's in ps list. 

Yes, applications are sent D-BUS messages (e.g. to ask them to open
a file) with an auto-activation flag set.  This way neither app
needs to care whether the other is running or not.  Libosso has
wrappers for this.

	- Eero

More information about the maemo-developers mailing list