bitmapfield

blackberry Mapfield and RichMapField show blank page

二次信任 提交于 2019-12-13 21:55:55
问题 I want to create a map field into my blackberry app using java eclipse, I create a map field and RichMapField and both shows blank page. Note that my device does not contains a sim card, please can anyone helps me 回答1: As far as I can tell, BB maps requires BIS to be enabled. And since you don't have a sim in your device, I'd rate thats the problem. Do I need to have a BIS or BES service in order to use MapField in the code? I find this to be really silly and kind of unacceptable, so

Custom BitmapField bug on unfocus and scroll (BlackBerry)

别来无恙 提交于 2019-12-11 11:44:08
问题 I have been having this annoying problem when trying to implement a picture gallery on BlackBerry 6. Everything works, however when the focus changes from the top buttons to say the pictures further down the screen, the images seem to glitch and not paint themselves correctly. Please see the images below for an example: (Focus is on the top of the screen(not shown)) (Focus is now on the bottom left image, note that the top image is now blank for an unknown reason) And this happens no matter

Blackberry Clickable BitmapField

只愿长相守 提交于 2019-11-29 17:51:40
I want to create a Custom BitmapField for putting Icons on my Menu Screen. I want them to be Clicked. I also want to give the X and Y coordinates of the icon as parameter to the Custom BitmapField. How can I do that? public class CustomMenuButtonField extends Field{ Bitmap normal,focused; public CustomMenuButtonField(String bitmap1, String bitmap2) { normal = Bitmap.getBitmapResource(bitmap1); focused = Bitmap.getBitmapResource(bitmap2); } protected void layout(int width, int height) { setExtent(width, height); // Set them according to your design } protected boolean navigationClick(int status

Blackberry Clickable BitmapField

强颜欢笑 提交于 2019-11-28 11:38:28
问题 I want to create a Custom BitmapField for putting Icons on my Menu Screen. I want them to be Clicked. I also want to give the X and Y coordinates of the icon as parameter to the Custom BitmapField. How can I do that? 回答1: public class CustomMenuButtonField extends Field{ Bitmap normal,focused; public CustomMenuButtonField(String bitmap1, String bitmap2) { normal = Bitmap.getBitmapResource(bitmap1); focused = Bitmap.getBitmapResource(bitmap2); } protected void layout(int width, int height) {