[maemo-community] Listing all running applications

From: Dave Neary dneary at maemo.org
Date: Tue May 11 13:10:26 EEST 2010
Hi Pallavi,

Pallavi Kandhare wrote:
> I am searching API which will display list of all *running* applications
> in the system.
> Can anybody help me with the API or sample code for the same.

Are you looking for the process list? That is available through the
/proc interface. Some source code to read & parse this is libproc -
there's an example use here: http://matburt.net/?p=8 and a stackoverflow
question about it here:
http://stackoverflow.com/questions/939778/linux-api-to-list-running-processes

If what you want is the list of running graphical applications, then you
could do worse than looking at the source code of the task manager in
hildon-desktop (which I can't seem to find right now... anyone know
where this is? I'm assuming it's open...).

Cheers,
Dave.


-- 
maemo.org docsmaster
Email: dneary at maemo.org
Jabber: bolsh at jabber.org

More information about the maemo-community mailing list