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
Posts: 282
Registered: ‎02-25-2010
My Device: curve,bold,storm
My Carrier: Verizon,AT&T

Display image in landscape mode in storm

hi

 

i am creating an application in storm

 

the whole app runs in portrait mode,coz i have set up the acceptable directions

 

but i want to display an image in landscape mode.how can i do that??

 

i have to keep my app in portrait mode(required) but only 1 image on a screen in landscape mode.

that screen contains only the image nothing else.

 

plzzzzzzzzzzzzzzzz help!!!!!!!!!!!!

its urgent

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

Re: Display image in landscape mode in storm

Sorry don't understand this question.  Please explain again.  How will the user be holding the device when you display the background in landscape mode?

 

There is code in this forum that will rotate bitmaps, if that helps. 

Developer
Posts: 282
Registered: ‎02-25-2010
My Device: curve,bold,storm
My Carrier: Verizon,AT&T

Re: Display image in landscape mode in storm

can u provide me the link,i will be greatful

 

actually what i want to do is on my first screen i have a thumbnail image,when user clicks on or touches it then he is redirected to the next screen.here i have to show the enlarged image in landscape mode

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

Re: Display image in landscape mode in storm

"can u provide me the link,i will be greatful"

 

Search yourself, that would be faster for you, if you can't find it, let me know. 

Developer
Posts: 638
Registered: ‎07-02-2009
My Device: Not Specified

Re: Display image in landscape mode in storm

[ Edited ]

Is it possible that an app in potrait mode displays a scren with an image in landscape mode? once user quits this screen and back to the potrait mode?

Thanks and Regards,
PraveenGoparaju.
Highlighted
Developer
Posts: 19,636
Registered: ‎07-14-2008
My Device: Not Specified

Re: Display image in landscape mode in storm

I don't think this application will swap portrait to landscape,

 

I think he is just trying to display the image rotated 90%, so that the image can use the full height as the width of the image.  Then the user will rotate his Blackberry (which the application will ignore, since it is set up in portrait mode only) and see the picture with the correct orientation. 

 

Can the original poster confirm this is what they are expecting to do?