How do I implement an image button in BlackBerry?
相关问题
- How to make background of BrowserField transparent
- Eclipse Blackberry Preprocessor Not Working?
- Cannot register in sample BlackBerry push applicat
- Unexpected JDWP Error 21
- Receive text message using J2ME
相关文章
- To get the module names in blackberry
- How to close a global dialog and display another i
- Button Image Problem
- How to install a draft app on a blackberry sandbox
- FB SDK not working on OS 7
- Parent & Child Node with different images & Clicka
- What unit-test frameworks would you recommend for
- SQLite for BlackBerry
easiest way to do that:
step 1:draw a image with specific coordinates(imageX,imageY). step 2:add a method in your Code:
Use RIM's Advanced UI Pack.
http://supportforums.blackberry.com/t5/Java-Development/Implement-advanced-buttons-fields-and-managers/ta-p/488276
This contains a BitmapButton field and a great number of of useful UI tools.
(No doubt Reflogs example is good, but I think for new BB developers landing on this page the Advanced UI pack is more beneficial)
here you go, complete code: