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

Web and WebWorks Development

Reply
New Developer
abinlesly
Posts: 105
Registered: ‎06-11-2013
My Device: DEVELOPER

orientation probs

hey

On testing my  app on the BlackBerry Z10 and when I open  app, the app doesn’t appear properly as it is displayed in landscape mode unlike the as it is shown on the screenshots.

******Blackberry Developer*******---Built for the Kill-----
#######Developer of @Sudoku#########
Please use plain text.
BlackBerry Development Advisor
chadtatro
Posts: 620
Registered: ‎10-01-2009
My Device: Z10

Re: orientation probs

It's only opening in landscape?  

 

Are you wanting to lock the application to a certain orientation? If so you can do this in the config.xml, more info here: https://developer.blackberry.com/html5/documentation/code_sample_creating_a_bb_widget_config_documen...

 

You'll want to take a look at the following section

 

  <feature id="blackberry.app.orientation">
    <param name="mode" value="portrait" />
  </feature>

 

Chad Tetreault | App Development Consultant | BlackBerry Developer Relations | developer.blackberry.com | @chadtatro
Please use plain text.