<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi people!<br>
<br>
I was just searching how I could open a webpage from my Activity.<br>
It's a game coded in c++ and I was trying to call shells commands to
open it, but I haven't had much luck.<br>
<br>
Anybody can help me?<br>
<br>
As I was searching I just got with this archived thread:<br>
<br>
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<a
href="http://lists.sugarlabs.org/archive/sugar-devel/2011-August/032733.html">http://lists.sugarlabs.org/archive/sugar-devel/2011-August/032733.html</a><br>
<br>
When I ran the python script it told me this:<br>
<br>
Traceback (most recent call last):<br>
File "www-launch", line 12, in <module><br>
activity = ActivityBundle(path)<br>
NameError: name 'ActivityBundle0 is not defined<br>
<br>
<br>
I have tried using sugar-launch but it doesn't accept any
parameters, and as I can't modify the system, the patch used
elsewhere is not a solution.<br>
<br>
Also I have tried sugar-activity using...<br>
<br>
sugar-activity webactivity.WebActivity -b org.laptop.WebActivity -u
<a class="moz-txt-link-abbreviated" href="http://www.google.com">www.google.com</a><br>
<br>
but is says:<br>
<br>
ImportError: No module named webactivity<br>
<br>
And that command can be seen when I issue 'ps waux' in the
terminal...<br>
<br>
So... I'm in desperate need of help!<br>
<br>
</body>
</html>