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

Reply
Developer
Raiden
Posts: 490
Registered: ‎07-16-2008
My Device: Not Specified
Accepted Solution

How to focus bitmap by given coordinates ?

Hello guys'

I have a lot of problems. But I can slove them with your assistance. I would say THANK ALL OF YOU.

Amm. I have a problem again. It is : How to focus bitmap by given x,y coordinates when display BitmapField.

Have you any idea for do it ? I have a little experience Java developing in BB. Actually I am beginning to study

Java programming. But I could do 50% of application who i am developing.

Tnx a lot again guys. I hope that there is any solution. 

 

Please use plain text.
Administrator
MSohm
Posts: 14,241
Registered: ‎07-09-2008
My Device: BlackBerry Z30, BlackBerry PlayBook
My Carrier: Bell

Re: How to focus bitmap by given coordinates ?

I'm not sure what you are asking.  Are you trying to highlight certain coordinates within a BitmapField, to set focus to the BitmapField or are you asking how to display focus changes in a BitmapField?
Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
Please use plain text.
Developer
Raiden
Posts: 490
Registered: ‎07-16-2008
My Device: Not Specified

Re: How to focus bitmap by given coordinates ?

Sorry for my bad English. I am trying ask How to focus large bitmap by certian coordinates within a BitmapField ? I have larger image than screen size. When displays it, center coordinates are X = 0; Y = 0; I want to focus the large image by given X, Y coordinates. Do you understand me what I am trying ask ?
Please use plain text.
Administrator
MSohm
Posts: 14,241
Registered: ‎07-09-2008
My Device: BlackBerry Z30, BlackBerry PlayBook
My Carrier: Bell

Re: How to focus bitmap by given coordinates ?

I think I'm getting closer.  Are you trying to move bitmap shown in the BitmapField, or highlight a specific area on the bitmap?
Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
Please use plain text.
Developer
peter_strange
Posts: 19,595
Registered: ‎07-14-2008
My Device: Not Specified

Re: How to focus bitmap by given coordinates ?

I suspect that the code supplied by richard (thanks richard) in the following thread, will help resolve your issue.

 

http://supportforums.blackberry.com/rim/board/message?board.id=java_dev&message.id=583

 

Please use plain text.
Developer
Raiden
Posts: 490
Registered: ‎07-16-2008
My Device: Not Specified

Re: How to focus bitmap by given coordinates ?

Tnx a lot' man'
Please use plain text.