I’ve recently been implementing all the cool new stuff in Blackberry 10, but I’ve found that some of the native calls were inconsistent unless I created a window group in the EGLView.
Basically, I added this to cocos2dx/platform/blackberry/CCEGLView.cpp just after the call to screen_create_window:
I don’t know enough about the platform to know whether this is the root cause or just a symptom, but after adding that line I found things like native dialogs and in-app purchasing worked as expected. More specifically, the events tracking those features didn’t work without the window group being present.
Are there any Blackberry experts around? Could they perhaps shine more light on the situation?