[Sugar-devel] Launching Activity from within another activity
James Cameron
quozl at laptop.org
Tue Jun 4 22:05:09 EDT 2019
For the record, here's how it was solved;
https://github.com/sugarlabs/terminal-activity/pull/35/commits/ae597e9c7cb1868a84f6abbb023d5493ac7c27cd
On Mon, Jun 03, 2019 at 07:04:52PM +0530, Hrishi Patel wrote:
> I had the same problem. I was passing the "bundle_id" parameter as None, that
> caused the problem. You can look at my code here: [1]https://github.com/
> Hrishi1999/Dashboard.activity/blob/master/activity.py#L315
>
> On Mon, Jun 3, 2019 at 6:22 PM Swarup N <[2]nswarup14 at gmail.com> wrote:
>
> Hey Hrishi,
> I had doubt. I know that you recently worked on launching an activity from
> within an activity using sugar3.activity.activity.launch_bundle().
>
> I'm also working on a similar thing. I want to launch browse-activity from
> terminal-activity.
> I know that I need use the same function, and I have, but I realised that I
> am not passing a parameter called ''browse-activity' anywhere. So my
> launch_bundle is calling a Write-activity and storing all the metadata
> there.
>
> I wish to know if got stuck in an obstacle similar to mine, and if you
> perhaps know a way too fix me, just let me know. I'm have been working on
> it for some time now, and I haven't been able t figure it out.
>
> I'll send a similar mail to [3]@Sugar-dev Devel as well. Thought I should
> ask you personally as well!
>
> Thank you,
> -Swarup N
>
> References:
>
> [1] https://github.com/Hrishi1999/Dashboard.activity/blob/master/activity.py#L315
> [2] mailto:nswarup14 at gmail.com
> [3] mailto:sugar-devel at lists.sugarlabs.org
> _______________________________________________
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
--
James Cameron
http://quozl.netrek.org/
More information about the Sugar-devel
mailing list