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. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Cascades Development

Reply
Developer
RileyGB
Posts: 256
Registered: ‎08-06-2010
Accepted Solution

How to create a blocking loading screen after splash

Hey guys,

 

I have a TabbedPane project where I would like to show a blocking loading screen after the splash screen loads inorder to initialize the app with web service calls. I would like show a dialog until the web service calls finish. Does anyone have any ideas on how I can show a dialog at this point?

 

Thanks,



Follow me on twitter @RileyGB - https://twitter.com/RileyGB
View my BB10 OpenSource projects - https://github.com/RileyGB/BlackBerry10-Samples
Please use plain text.
Developer
ekke
Posts: 913
Registered: ‎04-08-2010
My Carrier: vodafone

Re: How to create a blocking loading screen after splash

you can use a SystemProgressDialog - but you should always provide a way for the user to cancel

-------------------------------------------------------------------------------
ekke (independent software architect, rosenheim, germany)

BlackBerry Elite Developer
International Development Mobile Apps BlackBerry 10 Cascades
Cascades - Workshops / Trainings / Bootcamps

Open Source Enthusiast
blog: http://ekkes-corner.org videos: https://vimeo.com/ekkescorner/videos
bb10-development: http://appbus.org Twitter: @ekkescorner
Please use plain text.
Developer
RileyGB
Posts: 256
Registered: ‎08-06-2010

Re: How to create a blocking loading screen after splash

Perfect, I show the dialog afer setting the scene. This is exactly what I wanted, thanks for the tip and the tutorial!



Follow me on twitter @RileyGB - https://twitter.com/RileyGB
View my BB10 OpenSource projects - https://github.com/RileyGB/BlackBerry10-Samples
Please use plain text.
Developer
RileyGB
Posts: 256
Registered: ‎08-06-2010

Re: How to create a blocking loading screen after splash

Quick question ekke, how do you connect to the signals of the buttons in a SystemProgressDialog?



Follow me on twitter @RileyGB - https://twitter.com/RileyGB
View my BB10 OpenSource projects - https://github.com/RileyGB/BlackBerry10-Samples
Please use plain text.