Splash screen detects is not the orientation landscape on Z10

I'm working on an application on BB10 webworks and I try to put both a portrait and landscape of the start screen. I followed the API document using screen resolutions, but it does not draw the start of landscape screen (use only one portrait). I test this directly on the Z10 using a debugging token.

My config file is:



It seems that the 10.1 update fixed this problem for me. The application is now coming the start screen correct based on the orientation of the screen.

Tags: BlackBerry Developers

Similar Questions

  • Select a screening tool according to the orientation of the image

    Hi guys,.

    I wonder if you have Photoshop, select a screening tool according to the orientation of the image.

    For example, if the selected tool is the crop tool and the "in focus" image is a landscape, it selects the tool preset "15x10cm; Once you crop and save this image, Photoshop gets to the next image, and if it is a portrait, it selects the predefined tool '10x5cm' and so on...

    It is important that crop tool presets to be charged only if the crop tool is selected, because otherwise you would get the crop tool selected when you do not intend to crop the image.

    Thank you very much

    Ed

    This is a script event handler script that will choose the crop preset depending on the orientation tool. You need to change the tool preset names to match what is on your system.

    function _selectDocumentHandler(desc) {
         var currentTool = getCurrentTool();
         if( currentTool == 'cropTool' ){
              var defaultRulerUnits = app.preferences.rulerUnits;
              app.preferences.rulerUnits = Units.PIXELS;
              var doc = app.activeDocument;
              var w = doc.width;
              var h = doc.height;
              if( w>h ){
                   selectPreset('Crop Tool 8 in x 6 in');
              }else{
                   selectPreset('Crop Tool 6 in x 8 in');
              }
              app.preferences.rulerUnits = defaultRulerUnits;
         }
    };
     function getCurrentTool(){
       var ref = new ActionReference();
       ref.putEnumerated( charIDToTypeID("capp"), charIDToTypeID("Ordn"), charIDToTypeID("Trgt") );
       return typeIDToStringID(executeActionGet(ref).getEnumerationType(stringIDToTypeID('tool')));
    };
    function selectPreset(setName){
         var desc = new ActionDescriptor();
         var ref = new ActionReference();
         ref.putName( stringIDToTypeID( "toolPreset" ), setName );
         desc.putReference( charIDToTypeID( "null" ), ref );
         executeAction( charIDToTypeID( "slct" ), desc, DialogModes.NO );
    };
    try {
      if (arguments.length >= 2) {
        var desc = arguments[0];
        var event = arguments[1];
        if (event == charIDToTypeID('slct')) {
          var ref = desc.getReference(charIDToTypeID('null'));
          var cls = ref.getDesiredClass();
          if (cls == charIDToTypeID('Dcmn')) {
            _selectDocumentHandler(desc);
          }
        }
      }
    } catch (e) {
      alert( "Error: " + e + ":" + e.line );
    }
    
  • Disabling the orientation landscape

    I use jdev 12.1.3

    Please let me know how to turn off the orientation landscape for my application?

    concerning

    Deepak

    At the moment we do not provide an option for that.  Probably because it is frowned upon by Android developers to restrict the application to a particular orientation (see: https://stackoverflow.com/questions/6581120/how-to-make-an-application-to-run-in-portrait-mode-only), but also no doubt, this would be true for iOS too, and yet we do not provide the options there.

    I will raise an ER for us to add this as an option for the Android deployment profile, because it is technically possible to modify the androidmanifest.xml to do this, ignoring best practices.

    Your solution for now is to locate the AndroidManifestr.template.xml file in the /jdeveloper/jdev/extensions/oracle.maf/Android directory and add the following (according to the stackoverflow example):

    Android: screenOrientation = "portrait".

    .. .to the relative activities.  I tried adding it to all activities, but you can work through a test of elimination what activities it is necessary.

    Note You must remember that you have modified the JDev AndroidManifest.template.xml file and change for future application development.

    CM.

  • Just installed LR cc on my Mac. At first I see the splash screen soon but then the program stops

    Just installed LR cc on my Mac. At first I see the splash screen soon, but then the program stops.

    Tried to uninstall and reinstall but this does not solve the problem.

    Here detailed description: If you are seen Lightroom CC install questions - Lightroom Killer Tips

  • broken iPad splash screen/launch behavior using the landscape for AIR 3.6?

    I've just updated to 3.6 Air (under 4.6 FB) and I now see a problem with my application to launch when the home button is on the left in landscape mode.

    It's on my iPad 2 (current running iOS 6.0). However, this does not happen on my iPad3 (under iOS5.1).

    Launch my app under Air 3.6 on my iPad 2 with button at the House on the left the following sequence occurs:

    -L' splash screen appears correctly.

    -That the splash screen will not disappear, the app to turn backwards and will remain upside after launch of finishing.

    -I turn on the iPad 180 degrees and then again so that it can recognize the good sense.

    I have a few other applications that use the same project as a model and share the same code of launch. An application that I have compiled under Air 3.4 does not have this problem at all on the exact same iPad. The launch sequence works flawlessly.

    I have a few other applications that have been compiled under Air on the same iPad 3.2 which show the following behavior, which is not too serious:

    -L' splash screen appears correctly.

    -L' start for a brief moment screen flips upside down.

    -L' splash screen then rights itself and the application starts the way upward as it should.

    It seems that something has changed in the way AIR 3.6 manages splash screens and the launch of an application.

    I don't know if this could be linked to the question that has been published here (even though it has been indicated for iPod/iPhone):

    http://forums.Adobe.com/message/5194883#5194883

    Hello

    I had the same problem, and adding to the Argument of the right Version of Flash Player of compiler corrected it.

    Try adding:-swf-version = 19

    Best regards

    Roman

  • Splash screen, missing icon on the iPhone 6

    Hello world

    I'm working on a project that runs on all the Android and iOS devices. All icons and splash screens are displayed correctly on all devices with one exception: the screen icon that should appear on the app display recently used (double tapping the home button) and start on a iPhone 6 / 6 +.

    1. The relevant parts of the config file are taken directly from the documentation of gap phone with the only changes being editing paths in the src attributes.
    2. All images are in the correct location in the correct format/resolution with the correct name.
    3. The application is locked in the landscape.

    Any ideas/insight would be greatly appreciated!

    Here's the relevant section of the config file:

    <! - excerpt from startup configuration - >

    <preference name="orientation" value="landscape" />
    <preference name="fullscreen" value="true"/>
    <preference name="AutoHideSplashScreen" value="true"/>
    <preference name="FadeSplashScreenDuration" value="300"/>

    <!--Splash Screen Plugin -->

    <plugin name="cordova-plugin-splashscreen" spec="2.1.0"/>

    <!--In App Browser Plugin -->

    <plugin name="cordova-plugin-inappbrowser"/>

    <!--Status Bar Plugin -->

    <plugin name="com.phonegap.plugin.statusbar" spec="1.1.0" source="pgb"/>

    <!--Device Plugin -->

    <plugin name="cordova-plugin-device" spec="1.0.1"/>

    <icon src="icon.png"/>
    <splash src="splash.png"/> <!--ToDo: make android splash blue -->

    <!-- iOS -->

    <platform name="ios">

       <preference name="DisallowOverscroll" value="true"/>

       <!-- ICONS -->

       <!-- iPhone 6 / 6+ -->
       <icon src="assets/img/iOS/[email protected]" width="180" height="180"/>

       <!-- iPhone / iPod Touch  -->
       <icon src="assets/img/iOS/icon-60.png" width="60" height="60"/>
       <icon src="assets/img/iOS/[email protected]" width="120" height="120"/>

       <!-- iPad -->
       <icon src="assets/img/iOS/icon-76.png" width="76" height="76"/>
       <icon src="assets/img/iOS/[email protected]" width="152" height="152"/>

       <!-- Settings Icon -->
       <icon src="assets/img/iOS/icon-small.png" width="29" height="29"/>
       <icon src="assets/img/iOS/[email protected]" width="58" height="58"/>

       <!-- Spotlight Icon -->
       <icon src="assets/img/iOS/icon-40.png" width="40" height="40"/>
       <icon src="assets/img/iOS/[email protected]" width="80" height="80"/>

       <!-- SPLASH -->

       <!-- iPhone and iPod touch -->
       <splash src="assets/img/iOS/Default.png" width="320" height="480"/>
       <splash src="assets/img/iOS/[email protected]" width="640" height="960"/>

       <!-- iPhone 5 / iPod Touch (5th Generation) -->
       <splash src="assets/img/iOS/[email protected]" width="640" height="1136"/>

       <!-- iPhone 6 -->
       <splash src="assets/img/iOS/[email protected]" width="750" height="1334"/>
       <splash src="assets/img/iOS/[email protected]" width="1242" height="2208"/>
       <splash src="assets/img/iOS/[email protected]" width="2208" height="1242"/>

       <!-- iPad -->
       <splash src="assets/img/iOS/Default-Portrait.png" width="768" height="1024"/>
       <splash src="assets/img/iOS/Default-Landscape.png" width="1024" height="768"/>

       <!-- Retina iPad -->
       <splash src="assets/img/iOS/[email protected]" width="1536" height="2048"/>
       <splash src="assets/img/iOS/[email protected]" width="2048" height="1536"/>
    </platform>

    <!-- Android -->

    <platform name="android">

       <preference name="permissions" value="none"/>

       <icon src="assets/img/Android/ldpi.png" qualifier="ldpi"/>
       <icon src="assets/img/Android/mdpi.png" qualifier="mdpi"/>
       <icon src="assets/img/Android/hdpi.png" qualifier="hdpi"/>
       <icon src="assets/img/Android/xhdpi.png" qualifier="xhdpi"/>
       <icon src="assets/img/Android/xxhdpi.png" qualifier="xxhdpi"/>
       <!--<icon src="assets/img/Android/fr-xxhdpi.png" qualifier="fr-xxhdpi"/>-->

       <splash src="assets/img/Android/splash-land-ldpi.png" qualifier="ldpi"/>
       <splash src="assets/img/Android/splash-land-mdpi.png" qualifier="mdpi"/>
       <splash src="assets/img/Android/splash-land-hdpi.png" qualifier="hdpi"/>
       <splash src="assets/img/Android/splash-land-xhdpi.png" qualifier="xhdpi"/>
       <!--<splash src="assets/img/Android/fr-xhdpi.png" qualifier="fr-xhdpi"/>-->
       <!--<splash src="assets/img/Android/portrait-xxhdpi.png" qualifier="port-xxhdpi"/>-->
       <!--<splash src="assets/img/Android/landscape-xxhdpi.png" qualifier="land-xxhdpi"/>-->

    </platform>

    <config-file platform="ios" parent="UIStatusBarHidden">
       <true/>
    </config-file>

    <config-file platform="ios" parent="UIViewControllerBasedStatusBarAppearance">
       <false/>
    </config-file>

    <! - fine excerpt from configuration - >

    It turns out that a problem with git is hiding the fact that it lacked [email protected] the '@' in the name and we were missing [email protected] completely. Rename and add these files solved the problem.

  • Sizes of Splash screen and names for the iPhone 6 and 6 more in the file descriptor xml files

    Is anyone know the sizes of screen and the file names for the iPhone 6 and 6 more (for the descriptor xml file)? Or current splash screens works on both devices?

    i.e. Default-Portrait.png *-768w x 1024 h

    Hello

    Here is the specification.

    iPhone 6

    Start screen

    750 x 1334

    72

    [email protected]

    Resources or resources/iphone

    iPhone 6 more landscape

    Start screen

    2208 x 1242

    72

    [email protected]

    Resources or resources/iphone

    iPhone 6 Plus portrait

    Start screen

    1242 x 2208

    72

    [email protected]

    Resources or resources/iphone

    You can find more info here - http://docs.appcelerator.com/titanium/3.0/#! / guide/Icons_and_Splash_Screens-section-290048 97_IconsandSplashScreens-Splashscreens

  • How can I get the LabView return standard splash screen after installation of the evaluation of Robotics module?

    I installed the Labview Robotics module for evaluation, but when I start now Labview I meet the following start screen:

    How to bring back the Labview standard splash screen?

    Terje,

    When LabVIEW Robotics is installed, it replaces the file LabVIEW get a window on the way.  You can return to the standard window began to to repairing the installation of LabVIEW:

    1. Go to add/remove programs from the control panel.
    2. National Instruments -click and select Change/Remove.
    3. Choosing to fix LabVIEW.
    4. Insert the LabVIEW Setup disk if you have an or navigate to the network location that you used to install LabVIEW.
    5. After you have repaired LabVIEW, you should be able to restart with the default value getting started window restored.
  • Hi HP Touchsmart screen empty even not the up cursor shows, please help

    I have a HP touch smart pc, when I got to turn on tonight looks like it's going to load, but just gray screen, nothing shows at all, the cursor is not visible. I tried pressing F8 to try to start in safe mode, but nothing showed up, I then tried to load the backup disc, I could hear the disc running but nothing appears on the screen.

    I would be grateful for any ideas,

    Thank you

    Hello

    I thought that I'll let you know the results of the trip to the shop for the TouchSmart.

    I didn't get no help from HP at all when I sent them an email detailing the problem, had to take the machine in the store to check out them, the opening to the top of the machine, it was found that the video card is attached to the motherboard, so to buy both, and because it is a specific element would be only able to be purchased at Hp is. Consulted on the Hp web site at a price that my machine has now been abandoned, so no parts available!

    I only got 2 years Pc, on the audit of the hp forum, it seems that it is a common problem for this touchmart this is perhaps the reason why they stopped them, no help to someone else with this problem that I don't know, but maybe I do the job for anyone else having the same problem.

  • USB on Samsung detects is not the external hard drive

    I have Samsung Series 9-two usb ports on right are does not detect my external hard drive - he was working, I don't know what happened, and now I can only connect it to the USB port on the left side... Please help

    I call the support Samsung, or review their forums, that what you describe suggests an internal hardware problem (connection), not a victory, one

  • Detect when not the swf

    I need some information here please.

    I created a scroll bar to select a scene to play. The selection of the scene works very well, however I have noticed the following scenario. If the user clicks and moves the selector and drag the mouse outside the swf (no matter if they release the button or not)) and then moves in the swf box the cursor will continue to follow the mouse and the user must click to re-enable the settings. So the question is how exactly I detect when either a. the user leaves the area between b. or swf in the swf box (but do not have the trigger continuously)?

    This seemed to have done the trick
    mc.onDragOut = function() {...}

  • AlienRespawn detects is not the recovery Partition

    I'm going to be upgrading to an SSD and was to check what are my dining options on my M17X r3 laptop.

    When I open AlienRespawn but, I see an error that AlienRespawn was not able to detect the recovery Partition.  It's may be missing or damaged.

    He said so to recover your computer to the original factory condition and restore the recovery Partition.  Use your system recovery discs.

    I have a backup of the laptop, but I don't know whether or not they are recovery disks.

    I checked, and Windows does not detect the RECOVERY volume.  The State is healthy (System, active, primary Partition).  Capacity free 19.53 13,16 GB space.

    That seem correct?

    I can do to help the AlienRespawn find the partition, or I have to use a different process when it's time for a reinstall?

    Thank you!

    I did everything above, and he always had the same error. I then notice in the free version, it will not creat a new backup so I bought the premium and it works now.

  • the windows Security Center detects is not the system of anti-virus protection on my computer. How can I fix this bug?

    I've just updated ESET Smart Security 5 level 6. This update caused a security alert Windows informing that no antivirus program can be found on my computer. I don't have this message while ESET 5 worked... I would appreciate any advice on how to fix this bug.

    I am on Windows 7

    Hello

    Thanks for keeping us posted and share this information with us.

    I'll get to see the steps-

    (a) click "Start", type "Services.msc" (without the quotes) and press "Enter."

    (b) locate the "Windows Management Instrumentation" service, right-click on it and select "Stop".

    (c) navigate to-

    C:/windows /System32 /wbem /repository

    (d) delete the content.

    (e) now perform steps of one) to b), but this time restarting the service.

    (f) check if the problem persists.

    Back to us for any issues related to Windows in the future. We will be happy to help you.

  • All of a sudden my Acer Iconia One 10 will not close or disable. It flashes just the splash screen

    All of a sudden my Acer Iconia One 10 will not close or disable. It flashes just the splash screen "Acer Explorer beyond the limits; Powered by Android.

    What should I do?

    Problem with the cord/charge plug unit... is very loose and since I bought it. It takes an extraordinary amount of time to load. Is it defective?

    According to the description of the connection of the power supply or you have a problem with the power outlet (perhaps folded ut of shape enough to cause free adjustment) or Charger (connection flashing in-house, exit misfeed or simply that bad). If I was in your position I would take back and get one without load problems. You can send it through Acer support and they will fix it for you, but back to the seller will be faster.

  • splash screen does not work when Self contains the .jar

    I use a function of the start screen for the appliction of javafx. I use the javafx ant task to run in the order, the fx:jar, the fx:signjar, the fx: deploy to produce the jar file, the jnlp, the HTML file and the nativeBundles including 'image' and 'exe '. The splash works well when they are packed in the .jar file by double-click.

    When I double-click on the exe file in the application image file or the shortcut after installation by running the installation .exe file, however, there is no splash screen. Why? The exe file does not have to based on the jar file? Thanks for help.

    The jar is produced by < fx:jar=""> . stand-alone file is produced by with inno installed on Win7. The generated jar has the start-up screen, double-click, but not .exe. Why? or something else has to do with the generation of a stand-alone application? I guessed that the .exe file runs based on the jar file it should have the boot too. Thanks for the reply ~ ~

Maybe you are looking for