开发者

How to create non-Modal (Non-UI-Blocking) PopUpScreen in BlackBerry

I am working on adding a simple popUpScreen with a texual information when you hover over a CustomButton in BlackBerry. I have seen this already implemented in applications like Twitter, Facebbok and even in native BlackBerry pictures app and many other places.

To clarify, What i need is something开发者_如何转开发 like this -

a busy cat http://bit.ly/rh5gy7

[popupscreen as shown with a red circle]

But, I have not been able to create a PopUpScreen that is non-modal and non-ui-blocking. That is, even when the popupscreen is being shown, I should be able to move focus on the screen that called the popUpScreen.

Can anyone tell me, perhaps with some code, as to how you can implement this!

Thanks for your help!


The above can be achieved by making use of ToolBarManager and adding ToolbarButtonField into it and then setting a string as tooltip which will act as a popupscreen as shown in the above picture. ToolBarManager is available only in OS 6.0 and abob

If you intend to use this feature in older OS versions of BlackBerry, here's is a nice tutorial with sample resource.

Thank you Ray Vahey for your help!

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜