Hello .... can anyone help me for solving the below question. I am making an application for blackberry in that from one bitmapField i have to invoke a new screen by clicking on the bitmapField. I want the code for the same... how to invoke a new screen by clicking on a bitmapField... and i am using blackberry JDE 4.7
+3
A:
Try making the BitmapField focusable
BitmapField bm = new BitmapField(bitmap, BitmapField.FOCUSABLE);
This might help
Rigobert Song
2010-01-27 11:56:37
this did not worked in case of storm!!!!what to do
SWATI
2010-03-10 10:18:59
A:
Alex
2010-03-17 14:43:42
A:
BitmapField bmpField = new BitmapField(bitmap, BitmapField.FOCUSABLE)
protected boolean navigationClick(int status, int time)
{
if(bmpField.isFocus)
{
UiApplication.getUiApplication().pushScreen(new MyScreen());
}
return true;
}
}
i have worked like this in storm and it works. If even this does not works u can go ahead for TouchEvent instead of navigationClick
SWATI
2010-05-25 13:03:09