Hi Pallavi, Pallavi Kandhare wrote: > Hi Dave, > I want to write the code in Maemo which would list all *_running_* > applications in the system.First of all, is there any API available > for the same?
What do you mean by running? It looks like /proc fulfills that requirement. Alternatively, perhaps you just want all graphical applications (those shown by the task switcher). > I too didnt find the source code of Task manager. It will be in http://maemo.gitorious.org/fremantle-hildon-desktop/hildon-desktop (the TODO here mentions the task switcher) A bit of looking & grepping for switcher in the tree releals some promising functions. Esp. in src/mb. It looks like the task switcher queries X for a list of top-level windows. Cheers, Dave. -- maemo.org docsmaster Email: [email protected] Jabber: [email protected] _______________________________________________ maemo-community mailing list [email protected] https://lists.maemo.org/mailman/listinfo/maemo-community
