Took me a while to solve:
Change the existing code in CCEGLView.cpp (platform/blackberry !) to:
case SCREEN_EVENT_KEYBOARD:
screen_get_event_property_iv(m_screenEvent, SCREEN_PROPERTY_KEY_FLAGS, &val);
if (val & KEY_DOWN)
{
screen_get_event_property_iv(m_screenEvent, SCREEN_PROPERTY_KEY_SYM, &val);
if (val != 61665)
{
if (val >= ‘’ && val < ‘~’)
{
buf[0] = val;
buf[1]= ‘’;
CCIMEDispatcher::sharedDispatcher()>dispatchInsertText; 0xf000;
}
else
{
val = val
buf[0] = val;
buf[1]= ‘’;
switch (val)
{
case 8: // backspace
// CCKeypadDispatcher::sharedDispatcher()->dispatchKeypadMSG(kTypeBackClicked);
CCIMEDispatcher::sharedDispatcher()->dispatchDeleteBackward();
break;
default:
CCIMEDispatcher::sharedDispatcher()->dispatchInsertText(buf, 1);
break;
}
}
} // if 61655
}
^^ Sorry for the layout mess, but this filters out this event and solves the crash.