01-18-2013 12:43 PM
I have created a progress toast dialog using dialog_create_progress_toast() and have followed all other steps from http://origin-developer.blackberry.com/native/refe
when setting value of toast using dialog_set_progress_toast_level() 0 is returned so no error.
Any ideas anybody please?
01-18-2013 03:06 PM
Unfortunatly, there is nothing in that sample to do with progress toast dialog., i need more specific advice because I can actually show and hide the dialog but the control which is specific to progress toast (loading bar) isn't updating when i set it's value.
So currently for me Progress dialog isn't doing what it's meant to.
01-18-2013 03:28 PM
dialog_progress_state_t di = DIALOG_PROGRESS_PLAY;
but im not fully confident its correct as there is no other reference to this anywhere.
01-18-2013 04:17 PM - edited 01-18-2013 04:31 PM
Here's a sample showing a progress toast updating correctly:
Each time you swipe down the level will increase. If the toast is still showing, it will be updated live.
(edit: changed URL)
01-18-2013 04:22 PM
I had just found the reason why and then received the link to a working sample!
The problem was dialog_update(dialog); wasn't getting called after updating the value.