Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-13635

BlackBerry Q10: Orientation change does not work on Q10 device

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: BlackBerry
    • Labels:
    • Environment:

      Environment:
      Ti Studio : 3.1.1.201304122013
      Ti BB SDK : 3.2.0.v20130412191647
      Mac OSX : 10.8.2
      win 7
      Win 8
      Q10 Simulator : 10.1.0.1020
      Q10 Dev alpha C device running 10.1.0.138

      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

        Attachments

          Activity

            People

            • Assignee:
              rmcmahon Russell McMahon
              Reporter:
              lokeshchdhry Lokesh Choudhary (Inactive)
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Titanium SDK/CLI <> Titanium Mobile
                  Synced with:
                  TIMOB-16306
                  Sync status:
                  ERROR
                  Last received:
                  Last sent:

                  Git Integration