You Are Here:

Community: Wiki

This page was last modified on 21 September 2009, at 07:25.

How to open browser programmaticaly

From Forum Nokia Wiki

Reviewer Approved   

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 Wiki Articles

No related wiki articles found

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia 
User Rating: qfnZuserE5FratingQNx3E2E5000X