Re: [Sugar-devel] Feature proposal: ability to start an activity from inside another

2014-01-31 Thread Manuel Quiñones
2014-01-22 Manuel Quiñones > > Sam, Martin, > > 2014/1/21 Martin Langhoff : > > On Tue, Jan 21, 2014 at 3:48 PM, Sam Parkinson > > wrote: > >> - Android has a really simple system where you can say go to > >> www.abc.blogs.org in any app that can open it. That opens it in a web > >> browser or i

Re: [Sugar-devel] Feature proposal: ability to start an activity from inside another

2014-01-31 Thread Manuel Quiñones
2014-01-22 Martin Abente : > Does the android API set some sort of constraints for Apps? IE: (a) can open > only one App a the time, (b) can't open it self, and stuff like that.. > > Just curious, I haven't found any general restriction.in their docs. The way Intents work with permissions is like

Re: [Sugar-devel] Feature proposal: ability to start an activity from inside another

2014-01-24 Thread Sebastian Silva
El 22/01/14 15:08, Sam Parkinson escribió: Does the activities.sugarlabs.org let you search by bundle id? If so that could be used to guide the user to what they need (like package kit on gnome). It would be really easy to go: launch activities.sugar

Re: [Sugar-devel] Feature proposal: ability to start an activity from inside another

2014-01-22 Thread Sam Parkinson
On Jan 23, 2014 1:15 AM, "Daniel Narvaez" wrote: > > On 22 January 2014 14:58, Manuel Quiñones wrote: >> >> We should be able to tell >> "Sugar, start this object with the best activity you can find", >> "Sugar, start this object with this specific activity", > > > In this case we should make sur

Re: [Sugar-devel] Feature proposal: ability to start an activity from inside another

2014-01-22 Thread Martin Abente
Does the android API set some sort of constraints for Apps? IE: (a) can open only one App a the time, (b) can't open it self, and stuff like that.. Just curious, On Wed, Jan 22, 2014 at 11:15 AM, Daniel Narvaez wrote: > On 22 January 2014 14:58, Manuel Quiñones wrote: > >> We should be able to

Re: [Sugar-devel] Feature proposal: ability to start an activity from inside another

2014-01-22 Thread Daniel Narvaez
On 22 January 2014 14:58, Manuel Quiñones wrote: > We should be able to tell > "Sugar, start this object with the best activity you can find", > "Sugar, start this object with this specific activity", > In this case we should make sure activities a good way to handle the fact that the specific a

Re: [Sugar-devel] Feature proposal: ability to start an activity from inside another

2014-01-22 Thread Manuel Quiñones
Sam, Martin, 2014/1/21 Martin Langhoff : > On Tue, Jan 21, 2014 at 3:48 PM, Sam Parkinson > wrote: >> - Android has a really simple system where you can say go to >> www.abc.blogs.org in any app that can open it. That opens it in a web >> browser or in the blogs.org app if installed. This works

Re: [Sugar-devel] Feature proposal: ability to start an activity from inside another

2014-01-22 Thread Manuel Quiñones
2014/1/21 Daniel Narvaez : > Without having considered it carefully, I'm a bit concerned about reusing > sugar-launch because it's not quite the same code path normal launching is > going through. Yes, I see it now. We should add a comment in sugar-launch to explain what's the intended usage. Th

Re: [Sugar-devel] Feature proposal: ability to start an activity from inside another

2014-01-22 Thread Manuel Quiñones
Hey Tincho, 2014/1/21 Martin Abente : > A while ago, I submitted a patch [1] to allow opening Browse (or others) > from another activities links. > > Maybe we could do something similar to that :)? > > Refs: > 1.http://marc.info/?l=olpc-sugar&m=129485435106175&w=2 I searched the ML history and fo

Re: [Sugar-devel] Feature proposal: ability to start an activity from inside another

2014-01-21 Thread Daniel Narvaez
Without having considered it carefully, I'm a bit concerned about reusing sugar-launch because it's not quite the same code path normal launching is going through. But before getting to implementation details I think it would useful to consider the Android intents suggestion that has been made. AP

Re: [Sugar-devel] Feature proposal: ability to start an activity from inside another

2014-01-21 Thread Martin Langhoff
On Tue, Jan 21, 2014 at 3:48 PM, Sam Parkinson wrote: > - Android has a really simple system where you can say go to > www.abc.blogs.org in any app that can open it. That opens it in a web > browser or in the blogs.org app if installed. This works because the > blogs.org app says it can handle the

Re: [Sugar-devel] Feature proposal: ability to start an activity from inside another

2014-01-21 Thread Sam Parkinson
Hi, This sounds like a great idea! I thought I might bring my 2 cents from android development: - Android has a really simple system where you can say go to www.abc.blogs.org in any app that can open it. That opens it in a web browser or in the blogs.org app if installed. This works because the b

Re: [Sugar-devel] Feature proposal: ability to start an activity from inside another

2014-01-21 Thread Martin Abente
A while ago, I submitted a patch [1] to allow opening Browse (or others) from another activities links. Maybe we could do something similar to that :)? Refs: 1.http://marc.info/?l=olpc-sugar&m=129485435106175&w=2 On Tue, Jan 21, 2014 at 2:00 PM, Manuel Quiñones wrote: > This topic appears onc

[Sugar-devel] Feature proposal: ability to start an activity from inside another

2014-01-21 Thread Manuel Quiñones
This topic appears once in a while in this mailing list, and as far as I know, each time it happens no one objects. So, time to bring it again. One of Sugar key principles is simplicity. Activities are meant to be simple, and users can make interesting things happen when they interoperate with the