Archived:How to open browser using PySymbian
Aquivado: Este artigo foi arquivado, pois o conteúdo não é mais considerado relevante para se criar soluções comerciais atuais. Se você achar que este artigo ainda é importante, inclua o template {{ForArchiveReview|escreva a sua justificativa}}.
All PySymbian articles have been archived. PySymbian is no longer maintained by Nokia and is not guaranteed to work on more recent Symbian devices. It is not possible to submit apps to Nokia Store.
All PySymbian articles have been archived. PySymbian is no longer maintained by Nokia and is not guaranteed to work on more recent Symbian devices. It is not possible to submit apps to Nokia Store.
Article Metadata
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)


21 Sep
2009
Only Worked for me the following code:
--javsmo 21:26, 20 November 2009 (UTC)