Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development


Thank you for visiting the BlackBerry Support Community Forums.

BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)

BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.

"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."

- Kevin Michaluk, Founder, CrackBerry.com

Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.


Reply
Developer
Posts: 415
Registered: ‎07-28-2010
My Device: 8000
My Carrier: hi

Problem on Bitmap field.

hello friends,          

            i have 2query on bitmap field.

1) show i give some event on bitmap filed?? 

2) suppose i drown some image and color on api than i want to put my edittext and button on that image it is possible?? 

      i drown my image in paint method than i put horizontal and vertical filed manager. how should i do that??

 

thanks and regards, 

          Ajay

Developer
Posts: 208
Registered: ‎08-04-2009
My Device: Not Specified

Re: Problem on Bitmap field.

you can override paint method of a manager in which you are adding fields and draw the bitmap. Add fields to the particular manager.

Developer
Posts: 19,636
Registered: ‎07-14-2008
My Device: Not Specified

Re: Problem on Bitmap field.

1.  Yes, there are plenty of examples on this forum of a BitmapField being used as a button for example.

 

2. It is easy to use an image as a background.  It is also easy to use the Bitmap as a canvas, and paint text and images onto it.  However your question is not clear to me.  Rather than telling us how you are planning to do it, can you clarify what you are trying to do.  Perhaps we can suggest other approaches that might be easier. 

Highlighted
Developer
Posts: 415
Registered: ‎07-28-2010
My Device: 8000
My Carrier: hi

Re: Problem on Bitmap field.

ok i get idea. thanks for reply. i want to do one image as backgroud and want to add editfield and button and lable on it.

     how i do that??

thanks and reagrds,

      ajay

Developer
Posts: 19,636
Registered: ‎07-14-2008
My Device: Not Specified

Re: Problem on Bitmap field.

Extend VerticalFieldManager and paint your image as background to that. Then add you other Fields to this Manager.  That will get you started.  It is not the complete solution but is enough for your next step.