BTW, I've discovered that my XO has sugar-launch with the -u
parameter... so it seems that sometimes it open the webpage with the
Browser, but sometimes my game gets stuck and the Activity is not opened
and I have to reboot the machine.
Can be possible that the Browser activity is launched but
Hi people!
I was just searching how I could open a webpage from my Activity.
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.
Anybody can help me?
As I was searching I just got with this archived thread:
http://lists.sugarlabs.org/arc
Okay, so to summarize, the best practice for an activity to open a URI in
the browse activity is to not open a URI in the browse activity, but to open
a WebView instance in your own activity instead.
It will be nice when the intent system is ready. Good to know it should be
an easy switch for act
Yes, I agree.
Gonzalo
I'd suggest you use this approach for now, and switch to the intent
> mechanism in the future. Both the switch to webkit and the design of
> an intent mechanism are future projects. If they are scheduled well,
> then all the places broken by the switch to webkit (not just
On Fri, Aug 12, 2011 at 2:34 PM, Erik Blankinship wrote:
>> FWIW you can take a look at the activity
>> http://activities.sugarlabs.org/en-US/sugar/addon/4455
>>
>
> Thank you Rafael. Good idea.
> As you suggest, this activity opens URLs inside of the current activity.
> hulahop.startup(os.path.j
I agree with Sebastian here.
We can plan the long term solution, but right now we need a simple solution
to give the user a better experience
and do not replicate a lot of code.
Gonzalo
On Mon, Aug 15, 2011 at 10:05 AM, Sebastian Silva wrote:
> To the best of my knowledge this is not supported
To the best of my knowledge this is not supported and is a big elephant
in the room.
Intent system seems wonderful like a nice car, but not being able to
open a URI, is like having no shoes.
Regards,
Sebastian
El 15/08/11 18:02, Erik Blankinship escribió:
I think an intent mechanism will be he
I think an intent mechanism will be helpful to olpc and sugar going forward.
But, back to my original post...
does anyone know how to successfully open a URI in Browse with the API and
tools available on olpc sugar distributions now?
___
Sugar-devel mail
On Sat, Aug 13, 2011 at 8:23 PM, C. Scott Ananian wrote:
> Taking a look at the chrome, firefox, and android "intent" apis would be a
> good start. WebOS apparently has an equivalent API, with a slightly
> different permissions ui, which might be an improvement.
Some links:
http://blog.chromium.
Taking a look at the chrome, firefox, and android "intent" apis would be a
good start. WebOS apparently has an equivalent API, with a slightly
different permissions ui, which might be an improvement.
--scott
On Friday, August 12, 2011, Gonzalo Odiard wrote:
> How should be this mechanism?
>
>
>
On Fri, Aug 12, 2011 at 4:21 PM, Scott @ OLPC wrote:
> A proper solution would probably involve creating an "Intent" system for
> Sugar, akin to those in Android, Chrome, and Firefox. There's a short
> discussion on my google+ stream which I can't seem to link to from my
> mobile; maybe someone
How should be this mechanism?
Gonzalo
On Fri, Aug 12, 2011 at 9:19 PM, C. Scott Ananian wrote:
> I'm arguing that a more general mechanism would be even better.
> --scott
>
>
> On Friday, August 12, 2011, Martin Abente
> wrote:
> > In January I sent a patch to sugar-devel with minor changes
I'm arguing that a more general mechanism would be even better.
--scott
On Friday, August 12, 2011, Martin Abente
wrote:
> In January I sent a patch to sugar-devel with minor changes to
sugar-launch so it would be able to pass the uri argument to the Browse
activity (to open links, etc, from oth
In January I sent a patch to sugar-devel with minor changes to sugar-launch
so it would be able to pass the uri argument to the Browse activity (to open
links, etc, from other activities or sugar itself). I wonder if some have
changed mind about including it :)
On Fri, Aug 12, 2011 at 2:34 PM, Eri
>
>
>> FWIW you can take a look at the activity
>
> http://activities.sugarlabs.org/en-US/sugar/addon/4455
>
>
>
Thank you Rafael. Good idea.
As you suggest, this activity opens URLs inside of the current activity.
hulahop.startup(os.path.join(env.get_profile_path(), 'gecko'))
from hulahop.webvi
On Fri, Aug 12, 2011 at 9:40 AM, Erik Blankinship wrote:
> I am trying to figure out how to open a URL in the browse activity from my
> own python sugar activity. What is the best way to do this?
>
> I was hacking around on an xo running 860, sugar 84)
>
> [1]
>
> import webbrowser
> webbrowser.o
16 matches
Mail list logo