Skip to content


Subversion checkout URL

You can clone with
Download ZIP

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
  • 2 commits
  • 2 files changed
  • 0 commit comments
  • 1 contributor
Commits on Mar 06, 2013
Joshua Roesslein Support setting orientation via tiapp.xml.
Expose a BlackBerry specific property to allow developers
to set the orientation property in the generated bar-descriptor file.
This allows for locking the orientation or allow "auto" orient behavior.

Joshua Roesslein Merge branch 'TIMOB-12815' fff9f5e
3  build_templates/blackberry/
@@ -94,7 +94,8 @@ def run(self, ipAddress = None, password = None, debugToken = None, storePass =
'author':(['publisher'] or 'not specified'),
'icon':'assets/%s' %(['icon'] or 'appicon.png'),
- 'splashScreens':splashScreens
+ 'splashScreens':splashScreens,
+ 'orientation': self.tiappxml.blackberry.get('orientation', 'default')
Blackberry.renderTemplate(os.path.join(self.buildDir,'bar-descriptor.xml'), newConfig)
4 build_templates/blackberry/templates/bar-descriptor.xml
@@ -44,7 +44,11 @@
<!-- <authorId>ABC1234YjsnUk235h</authorId> -->
+ % if config['orientation'] == 'auto':
+ % elif config['orientation'] != 'default':
+ <aspectRatio>${config['orientation']}</aspectRatio>
+ % endif

No commit comments for this range

Something went wrong with that request. Please try again.