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
Contributor
Posts: 34
Registered: ‎12-20-2010
My Device: DevAlpha Beta 2

Navigation Questions

Hello,

 

I have a generic question concerning the navigation/screen stacking tools that we can use for a bb10 cascade application.

My problem is that I have an application that should display a splashscreen and then, when the data is loaded, display the main application TabbedPane.

 

However, I don't know exactly what I should use to make the transition between the splashscreen and the TabbedPane.

 

At first, I was thinking of using Application setScene on the TabbedPane and just after that, showing the splashscreen as a CustomDialog on top of the TabbedPane. However, this doesn't work. I see the TabbedPane and I have no interraction with the Pages (as if my customDialog was there but invisible).

 

After that, I was thinking of using a NavigationPane and pushing my splashscreen first and then my TabbedPane. However, with the Beta 2, it's becoming forbidden to push a TabbedPane within a NavigationPane.

 

So, now I'm out of solutions. Is there any way to simply stack a screen on top of another ?

 

Thank you

BlackBerry Development Advisor (Retired)
Posts: 155
Registered: ‎07-16-2012
My Device: Dev Alpha

Re: Navigation Questions

Hi nico411,

 

For splash screen, take a look at this http://supportforums.blackberry.com/t5/Cascades-Development/How-to-create-a-splash-screen/m-p/180681...

 

Regarding NavigationPane and TabbedPane, I would suggest you to take a look at 2 sample apps available on gitHub, BucketList (https://github.com/blackberry/Cascades-Samples/tree/master/bucketlist) and WeatherGuesser (https://github.com/blackberry/Cascades-Samples/tree/master/weatherguesser)

 

Hope this helps.

Contributor
Posts: 34
Registered: ‎12-20-2010
My Device: DevAlpha Beta 2

Re: Navigation Questions

Thank you,

 

I will have a look on the link you gave me.

 

Nico411

Developer
Posts: 1,629
Registered: ‎04-08-2010
My Device: Z10 (red Limited Edition), Q10, Z30
My Carrier: Telekom.de, O2, Vodafone

Re: Navigation Questions


nico411 wrote:

Hello,

 

I have a generic question concerning the navigation/screen stacking tools that we can use for a bb10 cascade application.

My problem is that I have an application that should display a splashscreen and then, when the data is loaded, display the main application TabbedPane.

 



 

why not doing it this way:

 

have your TabbedPane

and at start open on top a Sheet (without any buttons, only progressbar or so

and if your dataload is ready close the sheet (visible false)

 

perhaps take a look at How I open a Login Sheet on top of a Tabbed Pane:

https://github.com/blackberry/opendataspace-cascades

 

ekke

-------------------------------------------------------------------------------
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
BlackBerry Development Advisor (Retired)
Posts: 155
Registered: ‎07-16-2012
My Device: Dev Alpha

Re: Navigation Questions

Hi Nico411,

 

did you have any luck with that?

 

Cheers,