Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Web and WebWorks Development

New Developer
Posts: 31
Registered: ‎04-21-2011
My Device: Playbook
My Carrier: N/A
Accepted Solution

Programmatically dismiss blackberry.ui.toast?

I have a launched a toast with a long timeout while a background operation completes but I can't find a way to programmatically dismiss the toast when the other task is complete. Is there some way to use the toastId for this? 



BlackBerry Development Advisor
Posts: 762
Registered: ‎10-01-2009
My Device: All
My Carrier: N/A

Re: Programmatically dismiss blackberry.ui.toast?

Hi there,


Short answer is, no. A Toast is an alert/dialog. What you should probably use is an activity indicator or some sort. 


Are you using a certain framework for your app? Chances are there is an activity spinner option available.