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
Developer
RileyGB
Posts: 284
Registered: ‎08-06-2010
My Device: Z10
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
Developer
ekke
Posts: 1,556
Registered: ‎04-08-2010
My Device: Z10 (red Limited Edition), Q10, Z30
My Carrier: Telekom.de, O2, 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
BlackBerry Platinum Enterprise Partner
International Development Mobile Apps BlackBerry 10 Cascades
Cascades - Workshops / Trainings / Bootcamps

blog: http://ekkes-corner.org videos: http://www.youtube.com/user/ekkescorner http://vimeo.com/ekkescorner/videos
bb10-development: http://appbus.org Twitter: @ekkescorner
Developer
RileyGB
Posts: 284
Registered: ‎08-06-2010
My Device: Z10

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
Developer
RileyGB
Posts: 284
Registered: ‎08-06-2010
My Device: Z10

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