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

Thank you for visiting the BlackBerry Support Community Forums.

BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)

BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.

"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."

- Kevin Michaluk, Founder, CrackBerry.com

Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.

New Contributor
Posts: 6
Registered: ‎02-12-2012
My Device: N/A
My Carrier: N/A

SDL Orientation Changes?

Hey all! I have just started setting up NDK 2 on my laptop, and it's been lots of fun getting all of my SDL game code ported over and building on the Playbook.


One of the problems I'm running into is that BB SDL doesn't appear to support orientation changes. At least, when I try to refresh the video mode, I get this:


OpenGL window already created... this WILL fail

eglCreateWindowSurface: failed to allocate resources for the requested operation


That's always encouraging. Smiley Wink


Any thoughts? I poked around a bit in PLAYBOOK_SetVideoMode_GL(), but got nowhere fast.


It also looks like orientation-change events themselves aren't really being handled at all. I had to go peeking in orientation_get() to see the hardware orientation change at all.


Do any of the developers of this SDL port hang out around this forum? Can anybody speak to the possibility of getting orientation changes handled possibly through SDL_VIDEORESIZE events?


Thanks a ton!

Posts: 54
Registered: ‎10-26-2011
My Device: Playbook
My Carrier: Rogers

Re: SDL Orientation Changes?



Thank you, your suggestion sounds great.  The team handling the SDL port  has been informed of your suggestions.  We welcome suggestions and contributions from the community and will prioritize appropriately.