Categories: S60 | Python | How To | Code Examples
This page was last modified 20:41, 25 March 2008.
How to open browser programmaticaly
From Forum Nokia Wiki
1st and 2nd Edition
You can do it by starting browser application given url as a parameter.
import e32 apprun = 'z:\\system\\programs\\apprun.exe' browser = 'z:\\System\\Apps\\Browser\\Browser.app' url = 'http://www.google.com' e32.start_exe(apprun, browser + ' "%s"' %url , 1)
You can also use Nick Burch's webbrowser module that allows you to use opera and any other browsers.
3rd Edition
def display_in_browser(url): """ Launches the browser with the given url """ import e32 import sysinfo internal_url = '4 '+ url + ' 1' b = 'BrowserNG.exe' e32.start_exe(b, ' "%s"' %internal_url, 1)
| Related Discussions | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| APN switching (experts please) | yigalbeer | Symbian Networking & Messaging | 2 | 2006-09-17 14:12 |
| Browser control API crashes | laasonen | General Symbian C++ | 5 | 2007-08-30 16:27 |
| changing default browser | pncbose | General Browsing | 1 | 2008-03-18 17:25 |
| regarding browser componet in s60 3rd edition | chirumar | Symbian User Interface | 1 | 2006-10-02 20:42 |
| AknDialog: step of menu | _arcady_ | Symbian User Interface | 2 | 2006-03-28 09:45 |
