Search code examples
androidactionbarsherlockportingblackberry-10

Porting Android to BB: When clicking the "Info" button, the app crashes


Recently we ported successfully an Android application on BlackBerry 10.

Everything worked fine, except the thing that when clicking the "Info" button from the action bar that appears at the bottom of the screen - the application crashes.

I suppose that button should display an About, or Help page. We do have in our application a such page (as an ActionItem in the ActionBar).

Does anyone know if there is a way we can fix this, so that when clicking the "Info" button to display our About page? Or at least to do something to prevent the app from crashing, for example hide that button.

Thank you.


Solution

  • I posted this question on BB developer forums, and got a pretty good answer:

    This is actually a known issue in the current Android Runtime on the BlackBerry 10 simulator release. It has nothing to do with your application, as this action bar is part of the Android Runtime and not your application. Normally when you section the "Info" button you would see a screen showing you have to use the back swipe gesture used in Android Runtime applications. If you wanted your own About button, you would have to create your own menu.