Call Browse from my activity?

Talk about how to use and get the most out of Activities for the XO.

Call Browse from my activity?

Postby niobst » Mon Nov 09, 2009 6:14 pm

Hello everybody,

My question is quite simple, I'm doing an activity for the XO and I need to call the Browse (and show and specific website) from my activity. Is it possible?

Thank you :)
niobst
 
Posts: 8
Joined: Thu Sep 10, 2009 1:55 pm

Re: Call Browse from my activity?

Postby niobst » Sat Nov 28, 2009 6:00 pm

I've found a method in python that launch the explorer and shows an specific url:

import webbrowser

webbrowser.open("http://www.olpc.com")

I tried in Fedora an Mac and works... but when i tried in the Xo, it doesn't work (returns False instead of launch the window) is there any option to open the Browse from the activity?

Thanks :cry:
niobst
 
Posts: 8
Joined: Thu Sep 10, 2009 1:55 pm


Return to Activities / Software

Who is online

Users browsing this forum: Yahoo [Bot] and 2 guests

cron