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

Android™ Runtime Development

Reply
New Contributor
bitbull
Posts: 2
Registered: ‎09-26-2013
My Device: z10

android:screenOrientation="portrait" being ignored? How to fix orientation?

Hi,

 

I am getting fails from QA based on the fact that my android apps are giving their default 'Landscape Mode Not Supported' message when opened in landscape orientation on BB10 devices. However, I have android:screenOrientation="portrait" included in the manifest so they should be fixed to portrait orientation.

 

Is there a way to fix screen orientation on ported android apps? I am using the apk2bar tool.

 

cherrs

Please use plain text.
New Contributor
bitbull
Posts: 2
Registered: ‎09-26-2013
My Device: z10

Re: android:screenOrientation="portrait" being ignored? How to fix orientation?

Actually the issue is only the q10, according to specs this device is 720*720 so portrait or landscape should be a moot point!!

 

Does the device utilise a virtual keypad or something so one doesn't get the full 720*720?

 

cheers

Please use plain text.
BlackBerry Development Advisor
bbenninger
Posts: 130
Registered: ‎04-19-2013
My Device: BlackBerry Z10

Re: android:screenOrientation="portrait" being ignored? How to fix orientation?

it utilizes a navigation bar at the bottom which will give your app more width than height on the square screen devices.

Please use plain text.