tags:

views:

330

answers:

2

I have a BlackBerry app that is built for 4.5.x SDK. The first page of the app shows a list of fields and each field can be highlighted and clicked. The click action shows a new view with additional information about the field. This all works fine in 4.5, 4.6 and 4.7 and on the sim with 5.0.

On a real 9000 running 5.0, when clicking the trackball on an item in the list, the full menu is showing rather than the click event getting consumed (or even fired) for the field.

The view is derived from MainScreen and looks something like this:

public class ListView extends MainScreen {

  public ItemCollection list = new ItemCollection;

  protected void sublayout( int maxWidth, int maxHeight ) {
    int i = 1;
    while(( item == (Item)list.nextElement()) != null) {
      ItemField field = new ItemField(item, i++);
      add(field);
    }
  }
}

This class does not consume navigationClick, but shouldn't need to, right?

The field class does consume navigationClick event:

public class ItemField extends Field {
  protected boolean navigationClick(int status, int time) {
    controller.showDeal(item.id, Session.current);
    return true;
  }
}

Is there something that changed in 5.0 that I need to add to have this app work the same for all platforms?

A: 

I'm getting the same thing when dealing with Fields in 4.5.

navigationclick works fine against Screen though.

TreeUK
A: 

in my app too, with 5.0... I can't consume click :( ... help us please :)

Sergio Andreotti