09-15-2012 02:11 AM
I am developing one new application in the bb10 using cascade framework.
In that I need to create multiple page also and custom dialog also.
Now to handle multiple page navigation I had created two class that is calling Application:scene method.
Now I am having trouble with memory lekage.
When I try to call one scene class from the another scene class my application crashes.
If I only run single scene then no problem occurs.
Previosly both scenes are working perfectly.
But as soon as some more functionality added to both the class,its crashes.
Now I want to know that which is the better way to handle navigation.
I mean I cant create navigation pane.
bcos every time its not the case when I am returning back to the previous page that had invoked currunt page.
I am also using socket connectivity in my application.
I am uploading the gdb data of my application when it is crashes.
every time I am finding error at different variable when crashes occurs.
So Please if any one can help me with my problem.
thanks in advance.
09-15-2012 03:05 AM
you can use TabbedPane to navigate through your app,
then the single Tabs can be Pages or NavigationPane if you need to put a stack of vies on top
and you can always use Sheets on top for different workflows
I will blog about all of this - but I'm under heavy pressure to develop a APP to be presented at BBJam
BTW: you can get inspired by my project, take a look at the sources - all is OpenSource
09-15-2012 03:59 AM
09-15-2012 06:37 AM
09-18-2012 06:08 AM
I tried in a project what you are asking.
I also wanted to create multiple scenes without using NavigationPane , TabbedPane etc
I and created a new scene and set this using Application::setScene(mRoot).
I succeeded in doing this. I navigated to new screen but when I tried again to navigate back to the previous screen all of its purpose was failed as all connections were needed to be recreated.
It works but I too wanted to know is this a correct approach ?
09-19-2012 03:39 AM