Welcome!

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

Native Development

Reply
New Contributor
Posts: 8
Registered: ‎10-04-2013
My Device: Z10
My Carrier: Telcel

How I can change the time it shows a SystemToast

How I can change the time it shows a SystemToast, I want to display less than 1 second. Thank you for your help.

Regular Contributor
Posts: 56
Registered: ‎06-25-2012
My Device: non-blackberry user
My Carrier: Airtel

Re: How I can change the time it shows a SystemToast

Hello Petruk,

AFAIK there no way to set time for a systemtoast http://developer.blackberry.com/native/reference/cascades/bb__system__systemtoast.html.

I think you should use a dialog for your purpose !!
Developer
Posts: 6,152
Registered: ‎07-05-2012
My Device: Playbook, Dev Alpha C, Z10 LE, Z30
My Carrier: Orange

Re: How I can change the time it shows a SystemToast

[ Edited ]

You can set up a QTimer and then cancel() the Toast yourself...

 

http://developer.blackberry.com/native/reference/cascades/qtimer.html

 

http://developer.blackberry.com/native/reference/cascades/bb__system__systemtoast.html#function-canc...


If you've been helped click on Like Button, if you've been saved buy the app. Smiley Happy

Developer of stokLocker, Sympatico and Super Sentences.