[Sugar-devel] Notification without activity instance
Gonzalo Odiard
godiard at sugarlabs.org
Sat Jul 19 14:34:25 EDT 2014
On Sat, Jul 19, 2014 at 3:07 PM, Prasoon Shukla <prasoon92.iitr at gmail.com>
wrote:
> Hi all
>
> I've had this problem for some time now and I couldn't find a solution to
> it.
>
> The use case is like this: The user presses a keyboard shortcut
> (alt+shift+c) to launch an activity. However, if a certain condition is
> met, we *don't* launch the activity and instead we show the user a
> notification in the currently active/running activity. I want to show a
> notification and I *don't* have the activity instance on which I can
> attach a NotificationAlert.
>
Are you trying to start one activity from another activity?
What code you use to start the activity?
Gonzalo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20140719/3101f0da/attachment.html>
More information about the Sugar-devel
mailing list