How about utilizing the MIME type content hander to open a local document, which immediately redirects the page to whatever address you want? Like this:
Originally Posted by whoisstan
The downside of this approach is that mimehandler.open() opens the browser in the same thread on which Python runs, i.e. Python is stopped at that point. The browser never returns to the Python interpreter, at least on an N95. mimehandler.open_standalone() would correct this, but it does not work on my N95 for some reason.
url = "http://www.google.com"
redirectfilepath = r"D:\redirect.html" # Temporary file on RAMDisk
redirectpage = '''
''' % url
# Write a temporary redirect file.
redirectfile = open(redirectfilepath, "w")
# Launch redirect file using an application registered for HTML (the browser).
mimehandler = appuifw.Content_handler()
# Browser never returns.