12-11-2012 04:11 AM
I'm working on porting my game engine over to BB10 and I noticed that if I recreate the application window, it goes behind the UI (I can see my game running if I restart the device for example). I tried changing the ZORDER and specifically making it VISIBLE, but so far nothing.
I'm guessing maybe the application window is automatically added to some group after creation, but I have no idea. :3
I've considered creating a dummy application window and using a child window as my app window to workaround this issue, but I would much rather stick with just a single window.
Anyway, ideas welcome!
12-11-2012 12:01 PM
is your UI in a child window?
I think destroying and recreating the parent (application) window is probably a bad thing, and navigator will probably get angry
I would suggest that you consider making all of your dynamic windows be children of the main application window. You can even create that main window with 0 buffers if you want to save on memory, not have to deal with posting, etc.
12-11-2012 03:56 PM
Well I found a way to worked around the issue, I keep the app window, and I just reset most of the internals, that worked perfectly.
If anybody is interested: