Blackberry Widget dialog and menu conflict issue for OS 6.x

If you have developed a Blackberry Widget app that uses features blackberry.ui.menu and blackberry.ui.dialog in the same application, you’ve noticed that your application won’t work on devices that have OS version 6.x (like the Torch 9800 -6.0.0.227).

To fix this I’ve developed an Javascript Widget Extension that actually does the same as blackberry.ui.dialog but that uses another namespace( to avoid conflict with blackberry.ui.menu).

To use this Widget you should do this:

  • Download the blackberry.ui.dialoger and put this file in projects directory “ext”;
  • Go to applications “config.xml” and replace “blackberry.ui.dialog” for “blackberry.ui.dialoger”
  • Then replace all occurrences of  “blackberry.ui.dialog” for “blackberry.ui.dialoger” in your widget source code
  • And it’s Done!

Now your application can run in both OS 5.x and OS 6.x, and supports dialogs and menu items!

Best regards,

Daniel Botelho

Tags: , , , , ,

Use our DreamHost Promo Code "SFEXCEPTION" and you'll get a $50 discount and 1 extra FREE lifetime domain registration

  • Sefi

    Brilliant… thank you.

  • Ahsan shakir

    Blackberry.ui.menu is still not working. still giving me undefind exception.