CameraUI orientation

Is there a way to know the orientation of a picture taken with the CameraUI in AIR 2.7 (iOS or Android)? Air seems to assume that the picture is in landscape orientation but it's not always true. The information is in the EXIF data but loaders doesnt seems to give access to EXIF data.
It is a problem if you want to display the picture in your application... The orientation will be wrong...
I dont want to use an AS3 custom library because most of them will crash the app on IOS because they try to call forbidden methods...
So, any method in the API allow me to do this? Any workaround that doesnt imply an AS3 library?

The following information comes from one of Adobe's quality engineers. (Note that the ExifInfo library mentioned is the same as used in the flexnroses blog post example.)
>So I found that the image that we get after using CameraRoll/CameraUI  does contain EXIF information but not in the format expected by the  ExifInfo AS3 library (http://code.shichiseki.jp/as3/ExifInfo/).
Firstly, it does contain the orientation information which I am able to  verify using the Jpeg decoding tool :  http://www.impulseadventure.com/photo/jpeg-snoop-source.html.
The Exif data is stored in one of JPEG’s defined utility Application  Segments APPn. The AS3 library - ExifInfo that you are using for reading  Exif header expects APP1 marker whereas the actual image has APP0 at  that place followed by APP1 segment which contains the orientation data.  Images that comply to JFIF standards have APP0 marker just after SOI  (Start of Image) and images that comply to EXIF standards should have  APP1 marker after SOI.
As per wiki http://en.wikipedia.org/wiki/JPEG_File_Interchange_Format :  "many programs and digital cameras produce files with both application  segments included" which is what exactly happens in our case.
So I think you may try switching to a library which is able to parse an  image that has multiple APPn markers and read only the one required. You  can even modify the ExifInfo library.
Hope this helps.

Similar Messages

  • CameraRoll & CameraUI image orientation

    Hi,
    I am trying to read the Orientation tag in EXIF image data grabbed with CameraRoll or CameraRollUI using AIR 3.6 on iOS 6.1
    To achieve this, I use this library coded by Christian Cantrell :
    http://blogs.adobe.com/cantrell/archives/2011/10/parsing-exif-data-from-images-on-mobile-d evices.html
    Unfortunantly, it raises an error when I try to parse the Byterray containing the EXIF data :
    var exifInfo:ExifInfo = new ExifInfo( eb );
    TypeError: Error #1034: Type Coercion failed: cannot convert "<tags level="0th IFD TIFF Tags">
      <tag tag_name="Image width" field_name="ImageWidth" id="0x0100" compressed="J">
        <uncompressed chunky="M" planar="M" ycc="M" />
      ... INSERT BIG CHUNK OF XML HERE ...
    </tags>" to XML.
              at jp.shichiseki.exif::ExifInfo/readIFDs()[/Users/***/Google Drive/AS3/libs/jp/shichiseki/exif/ExifInfo.as:100]
              at jp.shichiseki.exif::ExifInfo()[/Users/***/Google Drive/AS3/libs/jp/shichiseki/exif/ExifInfo.as:63]
    It seems that Air can't cast the data into XML, but it's kind of crazy because I am able to see all the data in the error text (I purposedly truncated it here for not flooding this post) and it's XML valid. I had a look into the ExifInfo class, but it's hard to see where the error comes from.
    I really need to get access to these data, since it's the only way to determine image orientation in iOS. Or is there any native extention thaht I could use to achieve this ?
    Any advice will be welcome as I am stuck on a project for a client because of this.
    Thank you all !

    Hello Frog,
    a very (very) dirty solution could be :
    - use a try...catch...finally block to prevent the error raising
    - in the catch block, parse the error message to get your orientation value (String method, regexp...)
    [code]
    var myExifData:XML;
    try {
         // try to get the exif data
         var exifInfo:ExifInfo = new ExifInfo( eb );
    } catch(err:Error) {
         // fails, but maybe I can get the exif info in the error message...
         myExifData = parseExifError(err.message); // parse the error message to get your orientation info...
    } finally {
        do what I have to do with my image : rotate, scale....
    [/code]
    BTW, PhoneGap is perfectly able to get orientation of an image from the camera roll. So there IS a solution somewhere.
    Maybe you could try to make a native extension ? It's not so hard for little things like that...
    My 2 cents
    Nicolas

  • Unwanted Stage Rotation with Adobe CameraUI example on iPad2 - HELP PLEASE!

    Hi all!
    I'm working on a puzzle game for the iPad 2.  I'm using the Adoble example that is layout here:
    http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/media/CameraUI.ht ml
    Everything is working fine execpt for when the navive camera app shuts down, either by "use" for a photo or "cancel" the stage of my app is rotating 90deg counter-clowise WITHOUT firing a StageOrientationEvent.ORIENTATION_CHANGE event.  If I turn the ipad after this strange happening the StageOrientationEvent.ORIENTATION_CHANGE does fire and everything is adjusted normaolly per my "adjustLayout" function that is nomally called when a StageOrientationEvent.ORIENTATION_CHANGE event fires.
    Can someone verify this is the case?  I'm currious to find out if this is an adobe or apple bug, and more importantly is there a work around for this?
    THANKS!

    I have some more info...
    The when the ipad camera app launches it will not adjust for orientation.
    The behavior I described does not happen if the ipad2 is held in portatriat mode with the home button on the bottom.
    Also I'm currently running air 2.6 and ios 4.3.3.  I'm going to try air 2.7 and ios5 beta soon and see if it makes a difference.
    Can someone else verify this and any possible fixes?
    Thanks!

  • AIR app crashes on iOS after returning from CameraUI photo capture

    So, I've been running into this problem in one way or another for as long as we've had CameraUI access. It seems that each time another version of AIR comes out Adobe claims the problem has been fixed, and each time I find that the problem hasn't. So, here we go:
    I'm running an AIR 3.4 application on a range of devices: iPod Touch (previous generation), iPhone 5, iPhone 4S, iPhone 4, and iPad 2. All the test devices are loaded with the latest version of iOS. On every one of them, if the user takes a few photos in a row the application crashes by quietly returning to the desktop. On Android devices, the same happens when I take even a single photo. In fact, when running the application in the debugger I can see that the process terminates not when the app returns from CameraUI, but as soon as the native Camera is invoked.
    This problem has been going on forever. What is the fix?

    Just going on your original post about Android quitting as soon as the camera is invoked I did a quick test.
    FB Test code:
    package
        import flash.display.Bitmap;
        import flash.display.Loader;
        import flash.display.Sprite;
        import flash.display.StageAlign;
        import flash.display.StageScaleMode;
        import flash.events.Event;
        import flash.events.IOErrorEvent;
        import flash.events.MediaEvent;
        import flash.media.CameraUI;
        import flash.media.MediaPromise;
        import flash.media.MediaType;
        public class TestingCameraRoll extends Sprite
            private var cam:CameraUI;
            private var _imgNum:int = 1;
            public function TestingCameraRoll()
                super();
                stage.scaleMode = StageScaleMode.NO_SCALE;
                stage.align = StageAlign.TOP_LEFT;
                addEventListener(Event.ACTIVATE, _onActivated);
            protected function _onActivated(event:Event):void
                removeEventListener(Event.ACTIVATE, _onActivated);
                trace("App activated, starting camera.");
                cam = new CameraUI();
                cam.addEventListener(Event.CANCEL, _captureMobileCancel, false, 0, true);
                cam.addEventListener(MediaEvent.COMPLETE, _captureMobileComplete, false, 0, true);
                cam.launch(MediaType.IMAGE);
            protected function _captureMobileComplete(event:MediaEvent):void
                trace("_captureMobileComplete: " + event.type);
                var mp:MediaPromise = MediaPromise(event.data);
                var imgLoader:Loader = new Loader();
                imgLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, _imgLoadHandler);
                imgLoader.addEventListener(IOErrorEvent.IO_ERROR, _errHandler);
                imgLoader.loadFilePromise(mp);
            protected function _imgLoadHandler(event:Event):void
                trace("imgLoadHandler - width:" + event.target.width + " height:" + event.target.height);
                var bm:Bitmap = new Bitmap(Bitmap(event.target.content).bitmapData);
                bm.width = stage.fullScreenWidth;
                bm.height = stage.fullScreenHeight;
                bm.name = "img_" + _imgNum++;
                addChild(bm);
                trace("Added image: " + bm.name);
                cam.launch(MediaType.IMAGE);
            protected function _captureMobileCancel(event:Event):void
                trace("Capture cancelled")
            protected function _errHandler(event:Event):void
                trace("Error: " + event);
    All that does is continuously request to take a picture and then dump it on the display list at full size. I didn't do proper size/orientation compensation, I just sized down so I could verify it took the photo. The goal was to #1 successfully load the camera, #2 take a picture, #3 receive the data, #4 pile them up in full resolution (albeit scaled) on the display list without crashing.
    My SGS3 started to get slow after 15 pictures but here's the trace:
    App activated, starting camera.
    [SWF] TestingCameraRoll.swf - 3,029 bytes after decompression
    _captureMobileComplete: complete
    imgLoadHandler - width:3264 height:2448
    Added image: img_1
    _captureMobileComplete: complete
    imgLoadHandler - width:3264 height:2448
    Added image: img_2
    _captureMobileComplete: complete
    imgLoadHandler - width:3264 height:2448
    Added image: img_3
    _captureMobileComplete: complete
    imgLoadHandler - width:3264 height:2448
    Added image: img_4
    _captureMobileComplete: complete
    imgLoadHandler - width:3264 height:2448
    Added image: img_5
    _captureMobileComplete: complete
    imgLoadHandler - width:3264 height:2448
    Added image: img_6
    _captureMobileComplete: complete
    imgLoadHandler - width:3264 height:2448
    Added image: img_7
    _captureMobileComplete: complete
    imgLoadHandler - width:3264 height:2448
    Added image: img_8
    _captureMobileComplete: complete
    imgLoadHandler - width:3264 height:2448
    Added image: img_9
    _captureMobileComplete: complete
    imgLoadHandler - width:3264 height:2448
    Added image: img_10
    _captureMobileComplete: complete
    imgLoadHandler - width:3264 height:2448
    Added image: img_11
    _captureMobileComplete: complete
    imgLoadHandler - width:3264 height:2448
    Added image: img_12
    _captureMobileComplete: complete
    imgLoadHandler - width:3264 height:2448
    Added image: img_13
    _captureMobileComplete: complete
    imgLoadHandler - width:3264 height:2448
    Added image: img_14
    _captureMobileComplete: complete
    imgLoadHandler - width:3264 height:2448
    Added image: img_15
    Capture cancelled
    App never crashed, and this is running in debug mode. That's 15 8MP full size images stacked on the display list.
    I use AIR 3.5 release on this (3.5.0.600, not even the latest 3.5.0.880).

  • Photos synching across to ATV in the wrong orientation

    The orientation of all of my photos are corrected and on my Powerbook. However, once synched to ATV and viewed in Slideshow, some of the photos appear in the wrong orientation (i.e. sideways on). There doesn't appear to be any ATV setting to adjust orientation. Is anyonbe else experiencing this and has anyone got any suggestions or better still, a solution?

    Hi, I have already reported this problem as a bug using Apple's bug/enhancement request website.
    I started experiancing this problem in 2.4 and thru 3.0 and now 3.0.1.
    The photos show correctly as thumbnails as well as when displayed as the screen saver when listening to music.
    They only display incorrectly when viewed as a slideshow so it is clearly a AppleTV software problem.
    I certainly look forward to it being fixed as it makes the Apple not suitable to show pics to friends and families.
    Thanks, Paul

  • Domain Object and Service oriented pattern

    We have J2EE based application with following components, we are facing some issues with existing system.
    Current System : We have J2EE based application. The following is the flow.
    Client Layer [including JSP, Struts ]&#61664; action classes &#61664; Delegates &#61664; Session fa�ade [Session bean] &#61664; DAO&#61664; EJBDAO &#61664; EJB. We use CMP, xDoclets , JBOSS.
    1.     Our Domain objects are heavy. I know they are suppose to be coarse objects but they take more time in loading. Also, we noticed one thing that lot of methods are called during Domain Object creation process and it takes lot of time in loading. Actually, we dont really know what is happening as we are using CMPs.
    Question :
    -     Any input on what can be done to avoid Domain object excessive loading time.
    -     Anyone can share there experiences with Domain objects. Are you facing issues related with performance.
    -     We dont use DTO, we pass domain objects between. Do you see any problem in doing that.
    2.     Currently, our system was used by one single front end or lets say we have only one client but soon we will have more clients using it.
    Question :
    -     What should be our design approach. How can we make our system more like service oriented. If the two clients demand different business logic then how it will be handled. Business logic common to all the clients will be handled by which layer and business logic specific to client will be handles by which layer.
    -     Please suggest based on our existing infrastructure. We don�t want to use SOAP or cannot make drastic changes to our flow.
    We have domain and services in the same package and we are doing the refactoring of code, your inputs will be valuable.
    Thanks
    Sandipan

    What type of logger do you use and what is the loger-level during production?
    If it is log4j set the logger to level INFO or WARN.
    This might sound trivia but can make a difference between 20seconds and 500 ms.

  • IPhoto rotates images in slideshow even though the thumbnail for that images has the correct orientation.

    This problem seems bizarre to me considering iPhoto 11 has worked with out a hitch since I upgraded from 09 ages ago.  The photos in my album suddenly changed orientation from landscape to portrait and vice versa and sometimes upside down.  I first notice this problem after I tried to click and drag a large number of photos directly from iPhoto to Finder.  I did a Command-A to highlight all the photos from my album and tried to drag them to a folder in Finder.  There are 34,000 photo in this album but only half were copied, (I guess 34,000 items is too much for Lion to copy all at once).  I tried fixing this orientation problem by highlighting all affected photos and selecting "Revert to Original" which fixed the orientation of the thumbnails.  But when you double click on a thumbnail to view the pictures or view the album in a slideshow, some of the pictures still have the incorrect orientation but most were corrected.  Also if I double click on an affected photos to edit it with iPhoto image editor the image suddenly orientates itself correctly.  Then as soon as I close the image editor and view the photo or start a slide show it's displayed with the incorrect orientation again.   How is that possible that all my thumbnails are orientated properly but when I view the photo it's rotated sideways or sometimes rotated upside down?    Any help or insight to my problem would be much appreciated.

    Revereting to original will not fix the problem.  When you invoke that menu option iPhoto will read the file again, see the tag that tells it to rotate the file and will rerotate it. 
    The most reliable way to fix this is to rotate those file before they are imported into iPhoto. Upload from the camera to a folder on the Desktop, rotate those that need rotating, rename if desired and import.  I use Xee for that because it can rotate the file losslessly.
    OT

  • Secondary monitor on 20"iMac, How to set portrait orientation when running

    How do you set the display rotation in Windows XP?
    I have a secondary monitor (wall-mounted at 90 degrees to normal) that OS X handles just fine (the display preference window provides a rotate function). However, when running Windows XP, the secondary monitor is still available, but I can not find a setting that will rotate the display. I downloaded the Apple Boot Camp ATI driver from AMD's site and the driver version went from 8.39 to 8.43. Still no visible way to rotate the secondary display. I then upgraded Boot Camp to 2.1 after which the ATI driver version went to 8.45. Still no rotate functionality.
    I have tried using the ALT-OPTION-ARROW key with no success (recommended on some obscure Windows XP forum). I also downloaded the Apple Boot Camp Crystal Control Center from the AMD site, but it would not execute after installation (this upon yet another obscure recommendation).
    I also have Windows XP on my MacBook. It uses an NVIDIA driver and it will allow display rotation.
    Any help or advice is appreciated.

    Updating my original post:
    I have resolved the issue. The ATI Catalyst Control Center app (I meant Catalyst, not Crystal in my original post) needs Microsoft's .NET Framework 2.0, which was not included in my original Windows XP installation.
    After downloading and installing the .NET Framework 2.0 package and reinstalling the Catalyst Control Center app, I am now able to rotate the secondary monitor display to the portrait orientation.
    I use the secondary monitor primarily viewing on-line documentation while working with an application on the primary screen. The portrait orientation provides a much better environment for reading documentation as I can view 2+ pages at the same time.

  • Importing photos into Camera Roll with wrong orientation

    I have been using Olympus OI-share app to import via WIFI the photos from my camera (Oly EM10) into ipad mini retinas- saving into the Camera Roll successfully. However ever since I have upgraded the IOS (may or may not be the cause), when I import the photos, the orientation of the photos were messed up, specifically Portraits are being saved as Landscape. It used to work fine but its a consistent problem now and affects all the portraits I have recently taken. I have reinstall OI-share app and that didn't help. I have tested the same app on iphone 5S and it is working perfectly. The problem seems only to appear in my ipad mini.  I am not sure if there is a settings somewhere that affects this.  The problem is made worst as even after I use the ipad photo edit function to change the orientation, this does not change the orientation of the same photo in my photostream.
    Anyone whom has any experience/idea about this - please help!

    Try
    iOS: Device not recognized in iTunes for Windows
    I would start with
    Removing and Reinstalling iTunes, QuickTime, and other software components for Windows XP
    or               
    Removing and reinstalling iTunes and other software components for Windows Vista, Windows 7, or Windows 8
    New cable and different USB port?
    Runs this and see if the results help with determine the cause
    iTunes for Windows: Device Sync Tests
    Try on another computer to help determine if computer or iPod problem
    If you have Win 8.1 and the problem started after updating to the latest iTunes version then you seem to be out of luck since there are problem with the latest iTunes version and win 8.1

  • Yoga 2 Pro no longer detects orientation/transitions and lid closing for sleeping

    My Yoga 2 Pro used to detect orientation and transition with no problem and the Transition app would pop-up the notification for Tent mode or Tablet mode, etc.  
    Everything worked great... then, within last couple weeks, it stopped detecting closure of the lid to trigger sleep mode (though the screen would go black) and now I've also found that it has stopped detecting the different modes and will only operate in Laptop mode...  no Tent mode, no Tablet mode, etc.
    Now, to put it into sleep mode, I have to select it from the Start menu and then close the lid (it does detect reopening the lid and wakes up as usual).
    Obviously not having the ability to use those other 3 modes kinda defeats the purpose and value of having a Yoga 2 Pro!
    Suggestions welcome for research to aid in restoring this functionality...
    Solved!
    Go to Solution.

    Go to Control Panel >> Device Manager
    There is Sensor devices tab there.
    Can you post a screenshot of how that is looking?
    One thing that you can try.
    Switch off your laptop.
    Disconnect power supply
    Press power button for 30 seconds.
    Then turn on and test.
    Current System - Lenovo Y510P, GT755M SLI, 8GB RAM, 1TB HDD + 24GB SSD
    When your plans fail, your Real Story begins!!

  • Android orientation lock does not work within the ADPS App

    Hi,
    and another Android App Bug for today. The Android orientation lock feature does not work in Apps created with ADPS. If orientation lock is enabled and I turn the tablet, the orientation off the ADPS Apps will turn with the tablet.
    My Test Tablet is an Acer IconiaTab A510 with Android 4.0.3
    Kind regards
    Yves

    When you say that the orientation lock doesn't work, we have no way of knowing if that means that the screen is locked in one position only, or that it will not lock in one position only. So try something g very basi and reboot your iPad.
    Reboot the iPad by holding down on the sleep and home buttons at the same time for about 10-15 until the Apple Logo appears - ignore the red slider if it appears on the screen - let go of the buttons. Let the iPad start up.
    In the camera app, you have to swipe up and down on the screen to move between photo, video and the square photo mode options, so are you even in the correct mode to take videos?

  • Firefox Flash Crashes on Windows 8 Tablet (Surface Pro) when onboard touch keyboard is activated or when screen orientation is changed

    Whenever I have firefox open and I need to type something using the onboard touch keyboard, the moment I activate the keyboard, Firefox freezes. I then receive a prompt saying Flash has stopped working. However, I have updated shockwave flash to the most recent one. Also, I noticed at intermittent times, whenever I change the orientation (portrait --> landscape) on my tablet, I get the same issue as above.
    I am not sure if this is a Flash issue, or some sort of integration problem with firefox and the windows8 tablet features.

    I have tried that, but did not work. I switched over to Nightly which is still in beta, and it is much better. But still some flashsites like youtube still crash every so often....
    Anyone have anything for this?

  • HT1947 Remote for ipad landscape orientation not working in ios 7

    Remote for ipad landscape orientation not working in ios 7

    See this thread: remote app rotation locked in portrait orientation after iOS 7 upgrade
    It is a discussion only - no helpful hints.  Appears to be a bug for sure.

  • How to get all the values of the SDO_ORDINATE_ARRAY of a Oriented Point

    Hi,
    I'm trying to get the values of a Geometry wich is an Oriented Point. To that, i'm using SDO_UTIL.GETVERTICES, but this utility only obtains the point X,Y, it doesn't obtain the values of the orientation vector.
    The Geometry is this:
    MDSYS.SDO_GEOMETRY(
         2001,8307,NULL,
         MDSYS.SDO_ELEM_INFO_ARRAY(1,1,1,3,1,0),
         MDSYS.SDO_ORDINATE_ARRAY(-75.586088632813272,6.1794352615514194,0.57278169530235967,-0.81970795380217887,0)
    The query is this:
    SELECT c.ipid, c.nombre, t.X, t.Y, t.Z, t.W
    FROM Hidrantes c,
    TABLE(SDO_UTIL.GETVERTICES(c.geometria)) t
    where c.ipid = 4691117
    ORDER BY c.ipid, t.id;
    Result:
    4691117          -75,5860886328133     6,17943526155142          (null) (null)
    As you can see, it only obtains the X,Y values but not the values of the orientation vector, how can I get the values?.
    Thanks in advance

    Tobonale,
    Sql-Only approaches:
    *[1] Return Oridinate Array*
    Append .SDO_ORDINATES to your geometry object or column name:
    SELECT MDSYS.SDO_GEOMETRY(
         2001,8307,NULL,
         MDSYS.SDO_ELEM_INFO_ARRAY(1,1,1,3,1,0),
         MDSYS.SDO_ORDINATE_ARRAY(-75.586088632813272,6.1794352615514194,0.57278169530235967,-0.81970795380217887,0)
    ).SDO_ORDINATES
    FROM dualResult:
    SDO_ORDINATE_ARRAY(-75.586089, 6.17943526, .572781695, -.81970795, 0)*[2] Return Flattened Oradinate Array*
    SELECT * FROM
    TABLE (
         MDSYS.SDO_GEOMETRY(
         2001,8307,NULL,
         MDSYS.SDO_ELEM_INFO_ARRAY(1,1,1,3,1,0),
         MDSYS.SDO_ORDINATE_ARRAY(-75.586088632813272,6.1794352615514194,0.57278169530235967,-0.81970795380217887,0)).SDO_ORDINATES
    )Result:
      -75.586089
      6.17943526
      .572781695
      -.81970795
               0Regards,
    Noel

  • How to change the default orientation?

    Hello,
         I'm new to Adobe Flash Builder and I am currently making a mobile application for a school project. I was wondering how you change the default app orientation to landscape. I've tried going into my app.xml and change the aspect ratio to landscape with no luck, and it is very hard to find any answers on the internet. I would greatly appreciate your help.
    HomeView.mxml Code:
    <?xml version="1.0" encoding="utf-8"?>
    <s:View xmlns:fx="http://ns.adobe.com/mxml/2009"
                        xmlns:s="library://ns.adobe.com/flex/spark"
                        actionBarVisible="false" tabBarVisible="false" title="HomeView">
              <fx:Declarations>
              </fx:Declarations>
              <s:Image left="0" right="0" top="0" bottom="0" scaleMode="zoom" smooth="true"
                                   smoothingQuality="high" source="@Embed('file:///C:/Users/Owner/Downloads/48127-solarsystem-teaser.jpg')"/>
              <s:Button x="-5" y="0" width="410" height="1504"
                                    skinClass="spark.skins.mobile.TransparentNavigationButtonSkin" click="navigator.pushView(Sun)"/>
              <s:Button x="444" y="852" width="80" height="80"
                                    skinClass="spark.skins.mobile.TransparentNavigationButtonSkin" click="navigator.pushView(Mercury)"/>
              <s:Button x="628" y="742" width="120" height="124"
                                    skinClass="spark.skins.mobile.TransparentNavigationButtonSkin" click="navigator.pushView(Venus)"/>
              <s:Button x="836" y="632" width="127" height="117"
                                    skinClass="spark.skins.mobile.TransparentNavigationButtonSkin" click="navigator.pushView(Earth)"/>
              <s:Button x="994" y="506" width="99" height="96"
                                    skinClass="spark.skins.mobile.TransparentNavigationButtonSkin" click="navigator.pushView(Mars)"/>
              <s:Button x="1255" y="464" width="298" height="279"
                                    skinClass="spark.skins.mobile.TransparentNavigationButtonSkin" click="navigator.pushView(Jupiter)"/>
              <s:Button x="1626" y="302" width="274" height="270"
                                    skinClass="spark.skins.mobile.TransparentNavigationButtonSkin" click="navigator.pushView(Saturn)"/>
              <s:Button x="1965" y="196" width="175" height="174"
                                    skinClass="spark.skins.mobile.TransparentNavigationButtonSkin" click="navigator.pushView(Uranus)"/>
              <s:Button x="2201" y="66" width="175" height="174"
                                    skinClass="spark.skins.mobile.TransparentNavigationButtonSkin" click="navigator.pushView(Neptune)"/>
    </s:View>
    App.xml code:
    <!-- The initial aspect ratio of the app when launched (either "portrait" or "landscape").
                                  Optional. Mobile only. Default is the natural orientation of the device -->
                        <!-- <aspectRatio>landscape</aspectRatio> -->
                        <!-- Whether the app will begin auto-orienting on launch. Optional. Mobile
                                  only. Default false -->
                        <!-- <autoOrients>false</autoOrients> -->
    I need to make it so that the app is permanently in landscape.
    Thanks again.
         8th grade student

    <!-- <aspectRatio>landscape</aspectRatio> -->
    <!-- <autoOrients>false</autoOrients> -->
    In XML, everything within <!-- and --> is a comment.  You need to remove the <!-- and -->:
    <aspectRatio>landscape</aspectRatio>
    <autoOrients>false</autoOrients>

Maybe you are looking for

  • Unable to launch safari on my mac 10.8.2 after i tried to uninstall

    Hi, I have tried to uninstall the safari on my mac but it didnt went success after that i have installed the safari 6.0.2 but even after it is installed successfully iam unbale to launch the safari. Please provide how to clean uninstallation of safar

  • Service Desk Message - Sold-to Party and Reported by

    Hi Team, The Sold-to Party, Reported by are automatically populated in CRMD_ORDER whenever I create Service Desk Message from Satellite Systems, But when I create Support Message in Solution Manager, these does not get populated. Thanks,

  • Problems using version set in Elements 9

    Hi! I have problems using the version set. When saving files in the Element 9 editor I can not mark the "version set" option, its not highlighted and not possible to mark or use. Is there a basic setting that I´m missing or??? I have the MAC version

  • Is Microsoft Lumia 535 worth it?

    Hi I'm from Philippines and I'm planning to buy a Lumia 535 next month... but I'm worried because almost all of the reviews said that it has touch issues and I'm afraid that When I buy I will also get a defective Unit with touch issues too. This is m

  • How do you load brushes in CS5?

    I have jumped from CS2 to CS5. I am using Windows with the Vista operating system. I can't seem to load brushes.  I have loaded the .abr files in the Adobe>Adobe PhotoshopCs5>Presets>Brushes folder. When I go to load brushes none (including the prese