Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-13635] BlackBerry Q10: Orientation change does not work on Q10 device

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionWon't Fix
Resolution Date2013-05-26T17:47:40.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsBlackBerry
Labelssdk-bb
ReporterLokesh Choudhary
AssigneeRussell McMahon
Created2013-04-19T22:34:29.000+0000
Updated2017-03-13T18:29:27.000+0000

Description

Description: 1. Create an app for BB with the code below in the app.js
var win = Ti.UI.createWindow({
	backgroundColor: 'green'});
	
	win.orientationModes = [
		Titanium.UI.PORTRAIT,
		//Titanium.UI.UPSIDE_PORTRAIT,
		Titanium.UI.LANDSCAPE_LEFT,
		Titanium.UI.LANDSCAPE_RIGHT,
		Titanium.UI.FACE_UP,
		Titanium.UI.FACE_DOWN
	]; 
	
var lbl = Ti.UI.createLabel({
	text:'Orientation modes',
	color:'white',
	font:{fontSize:15}
});
	
win.add(lbl);
win.open();
2. Also add the following lines in the tiapp.xml
<blackberry>
        <orientation>auto</orientation>
        <permissions>
            <permission>access_shared</permission>
            <permission>record_audio</permission>
            <permission>use_camera</permission>
            <permission>access_internet</permission>
            <permission>play_audio</permission>
            <permission>post_notification</permission>          
            <permission>set_audio_volume</permission>
            <permission>read_device_identifying_information</permission>
        </permissions>
    </blackberry>
3. Build & run for BB device/emulator 4. After the app launches in portrait mode turn the device to landscape or other orientations Actual results: 1. The orientation does not change Expected Result: 1. The orientation should change

Comments

  1. Lee Morris 2017-03-13

    Closing this ticket as the issue will not fix.

JSON Source