Categories: Testing | S60 | Python | Code Examples | How To
This page was last modified 03:29, 6 August 2008.
How to open another application
From Forum Nokia Wiki
To launch internal camera application you can use this snippet.
import e32 # code is valid only for S60 2nd Edition e32.start_exe('z:\\system\\programs\\apprun.exe','z:\\system\\apps\\camcorder\\camcorder.app') # For S60 3rd edition e32.start_exe('z:\\system\\apps\\cammojave.exe','',1)
how to get a list of apps which can be started by Python
The code snippet below will let one know about the fact that how many other applications he can start with the help of Python
import os, e32, appuifw #Make an emptry list, which will be populated with the names of the exe l=[] for f in os.listdir("Z:\\resource\\apps"): if(f.endswith(".mif") and not f.endswith("_aif.mif")): l.append(unicode(f[0:len(f)-4])) #Show a list with the found exe i=appuifw.selection_list(l) #Start the selected app e32.start_exe("z:\\system\\apps\\"+l[i]+".exe",'',1)
Related Links
An approximate way of finding available apps
| Related Discussions | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Java MIDP text editor | torpo | Mobile Java Media (Graphics & Sounds) | 0 | 2003-05-16 09:20 |
| tryied that mmademo demo application | shalini14_mishra | Mobile Java Tools & SDKs | 2 | 2006-10-19 23:31 |
| How open a file twice? | Mich2424 | General Symbian C++ | 3 | 2006-01-25 20:07 |
| Open Signed Online (BETA) Service Error | wirefree101 | Symbian Signing, Certification and Security | 26 | 2008-07-23 06:40 |
| Softkeys in rss file | ab | General Symbian C++ | 3 | 2007-11-22 07:03 |
