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
Posts: 105
Registered: ‎06-11-2013
My Device: DEVELOPER
My Carrier: vodafone

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#########
Highlighted
BlackBerry Development Advisor
Posts: 758
Registered: ‎10-01-2009
My Device: All
My Carrier: N/A

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>