Archived:How to list all the installed applications using PySymbian
Archived: This article is archived because it is not considered relevant for third-party developers creating commercial solutions today. If you think this article is still relevant, let us know by adding the template {{ReviewForRemovalFromArchive|user=~~~~|write your reason here}}.
The article is believed to be still valid for the original topic scope.
The article is believed to be still valid for the original topic scope.
Article Metadata
Tested with
Devices(s): N70, N95 8gb
Compatibility
Platform(s): S60 2nd edition, 3rd Edition
Platform Security
Capabilities: )
Article
Keywords: applist
Created: User:Kandyfloss
(16 May 2008)
Last edited: hamishwillee
(08 May 2013)
Overview
This code snippets helps us to list all the installed applications on a Mobile Device using Python
The extension that offers this functionality is applist.
Applist is a S60 python extension module for getting list of applications info.
The applist function returns a list of tuples (Uid, caption, fullName). Uid is an integer.
Code
The code below is used to list applications
import applist
apps = applist.applist()
print apps
The following snippet can be used to list all the captions of installed applocations:
import applist
a = applist.applist()
for i in a:
print i[1]
Postconditions
In the second code snippet, the caption of all the installed applications will be printed on the Python shell and this information can be used effectively in applications.


(no comments yet)