Bug(?) with StageOrientationEvent.ORIENTATION_CHANGE in air 3 .1.0.488 for android

Hello,
In my app on a certain view, when the user rotates the device, the layout is dependent on the dimensions of the screen (in pixels).
So what I do is listen for the StageOrientationEvent.ORIENTATION_CHANGE event and in the eventhandler I check the screen.height and screen.width property to layout my components
Yesterday I discovered that this was running ok on my device but not on the device of one of my collegues. He was running the air 3.1 while I was on the 2.6 version. So I upgraded to 3.1 and have exactly the same problem as he has.
After some investigation it turns out that the StageOrientationEvent.ORIENTATION_CHANGE event is fired ok but that the screen.heigt and screen.width properties are not yet updated (so if you go to portrait the width is the landscape width and the height is the landscape height).
As a work around I think I should get the display dimensions on the view init and use the currentstate to determine wether the display is in landscape or portrait mode or is there a better solution

I know this is old, but I just found a solution in my case, and figured i'd share.
Instead of listening for "stageOrientationEvent.ORIENTATION_CHANGE", listen for "Event.RESIZE".
Worked like freakin' pixie dust for me.
Hope this helps someone!

Similar Messages

  • Air 3.5 APK file for androids.

    Where would I find a copy of Adobe Air 3.5 in a apk file. 
    Thanks

    This is a User2User forum for Acrobat Forms.
    Have you looked at the Air Forum?
    Have you tried Google Play store?

  • Blocking bug with 10.8.3+Adobe Lightroom+Canon iPF5000 (but workaround found)

    Hi all,
    since I have updated my MacBook Pro (early 2011 model) with 10.8.3, I have a blocking bug with Adobe Lightroom (either 4.3 or 4.4) for launching prints on my Canon iPF5000 (firmware 1.33, either MacOS driver 2.67 or 3.06, connection through USB).
    When I was under 10.8.2 with the Canon's driver 3.06, everything works fine.
    Basically, after clicking Print a Copy or Print... in Lightroom, the file spooled to the driver stays in MacOS printer queue. Within the printer queue window, the printer is in pause mode, and each time I try to resume the printing processing, the driver put it on hold immediately. When I look into the history on the Console, the driver complains about an unknown error... The data stay within the driver, as my Canon iPF5000 "Data" led indicator stays unlit.
    My print settings are 600dpi or 300dpi, print sharpening Standard/Glossy, 16 bit output. And Color managed by printer (because I let the Canon driver managing my B&W prints).
    Strangely enough, when I launch a print from Preview application, the drivers does its job and sends it successfully to my Canon iPF5000...
    As this was driving me crazy, I have tried a clean install of MacOS 10.8.3 (as 10.8.2 is no more available from Apple servers...). No success, same blocking issue.
    Eventually, I've found the workaround: using the imagePROGRAF Advanced Preview. You have to click on "Print..." in Lightroom in order to see the driver settings window, and then check the "Preview before printing" option in the main tab of the driver settings. Then I can preview my Lightroom printing work and then launch successfully my printing.
    Simple workaround, but very strange bug...
    For me, the root cause could be multiple and not very obvious.
    Is it Mac OS 10.8.3 ? But why can I make prints from Preview application for instance, and not from LR ?
    Is it the Canon driver ? But this lead me to the same question.
    Is it Lightroom ? Does it send corrupted data that make the driver crazy but not the imagePROGRAF Advanced Preview ?
    So, if any user of Canon iPF5000 + Mac OS 10.8 + Lightroom is around, please share your experience.
    And if any Apple, Adobe or Canon engineer read this, please try to fix this.
    Happy printing,
    Amaury

    It's different how applications write print data. If you use Advanced Preview from the driver then it calculates already the output which afterwards is only sent to the printer.
    Have you once tried to print with fast graphic process switched off (option of advanced settings)?
    Hope it helps
    Renate

  • Virtual Interface generation bug with NetWeaver ?

    I use the Web Service generation wizard to generate a virtual interface which exposes methods in an EJB. As one of the parameters I pass a simple java bean, lets say:
    public class StatusCode
        private String name;
        private boolean buggy;
        public String getName() {...}
        public void setName(String newName){...}
        public boolean isBuggy() {...}
        public void setBuggy(boolean trueOrFalse){...}
    When I look at the virtual interface generated, especially at the Types tab, my boolean attribute is not included.
    If I change the getter to "getBuggy()", the attribute is included in the VI. The only problem is that the typical Java Bean framework, say from sun or ibm, always map 'boolean' getters to 'isSomething()' and not 'getSomething()'.
    Is this a bug with NW? Is there a fix or workaround for this ?
    My version of NW:
    Version: 2.0.7
    Build id: 200407270250
    Thanks in advance,
    Mark
    (If this is not the right forum, could someone suggest where I can post this question?)

    Hi.  As of Netweaver 2004s,  the virtual interface piece has be absorbed into the creation of the web service definition, so there is no need to create it as well.   When you are getting the 403,  how are you trying to run this, using the Web Service Homepage?  If so, you will need to configure what j2e engine that you want to use to use.  You can do this in WSADMIN under the Administration settings.   Check that this is set.  YOu must know the URL of your j2e engine.
    Regards,
    Rich Heilman

  • Possible iPhone bug with custom recurring day schedule?  Need help.

    In Microsoft Outlook I have a 64 day schedule that is set up as single all day recurring events each day. Each day of the 64 day schedule recurrs every 64 days. Day 1 recurrs every 64 days, day 2 recurrs every 64 days, etc., etc.
    When I synced this to an iPhone, each day had an incorrect custom recurring day set at every 18 days. This, of course threw off the whole schedule. After doing some testing, I found out that a custom recurr of 45 days worked, a custom recurr of 46 days told the iPhone it recurred every 1 day. 47 day recurr did the same thing. 48 day recurr told the iPhone it recurred every 2 days, 49 day recurr became 3 days, 50 became 4 days, 51 became 5 days...64 became 18 days.
    Is this indeed a bug with iPhone or is there something I can do for a single 1 day event recurr every 64 days? And, why is there no custom setting when setting up an event on the iPhone?

    ICKIER wrote:
    Is this too complicated for a reply?!
    Apparently, no one has a solution for you. It may be a bona fide bug. You can let Apple know about that:
    http://www.apple.com/feedback/iphone.html.

  • URLLoader bug with AIR SDK

    Environment:
    Flash Builder 4.7
    AIR SDK 3.4
    Mobile ActionScript project
    Problem severity:
    Use URLLoader class to get data from server; use URLVariables to send data containing a single field (Note, this issue happens only when you're sending only one field), as:
    var urlVariables : URLVariables = new URLVariables();
    urlVariables.contactid = "mycontactid";
    var request : URLRequest = new URLRequest();
    request.data = urlVariables;
    request.url = "https://myserver.com/flex/GetContactDocument?OpenAgent";
    var loader : Loader = new URLLoader();
    loader.addEventListener( Event.COMPLETE, onSuccess );
    loader.addEventListener( IOErrorEvent.IO_ERROR, onIOError );
    loader.load( request );
    Everytime it turns into IOErrorEvent returning stream error with the used URL path. I eventually noticed it didn't add any "&" after the URL! So what was supposed to be is this:
    https://myserver.com/flex/GetContactDocument?OpenAgent&contactid=mycontactid
    But instead URLLoader seeing this as:
    https://myserver.com/flex/GetContactDocument?OpenAgentcontactid=mycontactid
    Note, there's no & sign after OpenAgent word!
    This doesn't happens when there are more then 1 fields in URLVariables class! This is strange, and looks like a bug to me!
    Any suggestion would be appreciated. Thanks!

    Hello,
    1 . If you used more then 1 field in URLVariable, then is this ever worked for you with any of the AIR SDK version.Could you please share the use of OpenAgent here in the url.
    2.  One should not used “?” without assigning any value in the url for the specified field which is incorrect ("https://myserver.com/flex/GetContactDocument?OpenAgent") , please try to implement like (“https://myserver.com/flex/GetContactDocument?OpenAgent=”+value+””) as url schema needs “?” before the first parameter and “&” before the following ones. OR  Try to use (https://myserver.com/flex/GetContactDocument”) and then pass the url variable through which “?” and “&” is append by the request automatically.
    Please update if this will work for you.
    -Nimit

  • Problem/bug with AIR 3.0

    Hi guys,
    I'm here again. I got this error when I tried to publish my project with AIR 3.0.. Actually, I've created an application usign AIR 2.6 (default comes with CS 5.5). It was used to get published and I used to update it on regular basis. Few days back I had to copy AIRSDK3 folder to Adobe's program files' folder, where I renamed AIR2.6 to anything else and AIRSDK3 to AIR2.6... Today, when I tried to publish my same project,  I got this following error. Hope that would help adobe (as it is beta version).
    (By the way, when I renamed the folders to their original names, it worked and published).

    Steve,
    We have seen the same thing and reported it to Forte. We have not yet
    heard back with a bug report number...
    For now, we have removed all comments from our sql code.
    Derk
    >
    We have just switched from version 2.0.H.1 to version 3.0.F.2 in development,
    and have discovered a bug with comments in SQL code.
    Anywhere in a cursor definition, or within SQL code in a method, if we use the
    multi-line comment format "/* ... */" even on a single line, then the code
    compiles fine, but crashes at runtime with a "Invalid SQL Command" error. It
    looks as though Forte is including the comment as part of the SQL!
    Has anyone else seen this problem? We have not found it in the known bugs list
    for 3.0.F.2 or the fixed bugs list for 3.0.G
    This worked fine for us prior to version 2, and if we don't get it fixed in
    Forte, it means a lot of rework to change the existing comments to single-line
    "// ..." format.
    Regards,
    Steve Isaac
    Senior Consultant, Information Services Group
    Hydro Electric Corporation of Tasmania
    4 Elizabeth St, Hobart, Australia, 7000
    Phone : +61 03 6230 5161
    e-mail: [email protected]
    Check out: http://mama.indstate.edu/users/sodana/lucado.html
    *** Derk Norton ***
    *** U S WEST Communications Voice : (303) 965-8772 ***
    *** 1801 California Street FAX : (303) 896-3565 ***
    *** Denver, Colorado 80202 Email : [email protected] ***
    **********************************************************************

  • AIR bug with iOS fullscreen video! (easy repro)

    Here's a bug with fullscreen AIR apps not dealing with iOS fullscreen video resize. Easy repro:
    1. Create an mc with a background graphic aligned with the top and bottom of the stage. (This is so you can easily see the bug.)
    2. Add a stageWebView and load an html page with embedded video. (or just load a video directly)
    3. Play video and enable fullscreen mode.
    4. Rotate device 90 degrees while in fullscreen mode and then hit "Done" button to return to stage (exit fullscreen).
    5. BUG: Stage is now "pushed down" and off-screen. (even though the mc still traces x = 0)
    Conclusion: the display bug occurs when the user exits the iOS native player fullscreen mode from a different orientation then they started with (common if the original aspect ratio was portrait)
    Can someone else please confirm this? (The amount of stage "push" appears to corrolate with the height of the iOS status bar.)
    Thanks.
    PS. You don't necessarily need to load an html page. You can just have stageWebView load a video directly and experience the same result.
    PPS. I also tried using the new UIWebView Native Extension and am seeing the same thing, so this is really looking like an AIR/Flash bug with the iOS native player.

    A simpler summary for this issue:
    If the device has been rotated since entering Fullscreen native player, a fullscreen app will be "pushed downwards" and off-screen slightly.
    BUG: Adobe AIR app does not stay in fullscreen mode after such and event, ruining graphic UI for fullscreen apps.
    Simple workaround: listen for on orientationChange and if stage.displayState == StageDisplayState.NORMAL, set to stage.displayState = StageDisplayState.FULLSCREEN.
    However, iOS native player will lose traditional status bar appearance (and risk rejection by Apple??)
    Complex workaround (as mentioned earlier) will keep the native player's status bar but result in the app's screen "flashing" upon resizing the stage.
    Please help fix this bug by commenting in my bug report. Thanks again.
    https://bugbase.adobe.com/index.cfm?event=bug&id=3486264

  • Less than two week old iPad Air crashes with youtube/netflix and Safari when loading pages with video (i.e. Buzzfeed with links to youtube and vine). What's up with iPad Air's bugs with videos??

    Week and a half old iPad Air crashes with light usage of youtube, netflix and safari pages with video links to youtube and vine. The consistency of problems with videos has led me to determine that it must be bugs with iPad Air. Anyone else having this problem?
    Details: iPad Air 16gb wifi, have only used about 25% of space and always close all apps before opening another. I also have only had a max of two tabs open on safari of basic internet surfing (i.e. A google search page, or imdb for example). These crashes are annoying as sh......

    em74 wrote:
    These crashes are annoying as sh......
    I can well imagine that they are.
    I would backup, restore to factory settings, restore from the backup and then try again. If that fails, restore again but do not use the backup - restore as new. If the iPad functions OK as new, then slowly rebuild the iPad adding your apps, music etc, methodically to see if you can pin down what might be causing the problem.
    if all of that fails, it's time to schedule an appointment at an Apple a Store (must be done online) and have them take a look, or of it is lees than two weeks old, just return it for a refund and buy another one.

  • Major textfield bug AIR 3.7/3.8 on Android

    Hey guys, I was wondering if anyone encountered this bug and managed to fix it. If not (or if this is not my fault somehow), I will open a bug report about it.
    The bug does not happen on AIR 3.6 on any platform. It also does not happen on 3.7/3.8 for iOS. It only happens with 3.7/3.8 for Android.
    There is a classic text input textfield on the screen. It is a singleline textfield. But somehow, it works like a multiline text. Whenever I press enter, I get a line break. Did anyone experienced this problem before?
    Thanks everyone!

    Could you please share the Android device(OS version) , AIR 3.x version you are using. I tried with classic text input textfield(Flash professional CS6) with Android OS versions 2.3.1, 3.1 and 4.1.2 but could not able to reproduce the issue. Please share a sample project at nimitja@adobedotcom (if possibe) to reproduce the issue. This will help us investigating the problem.
    Regards,
    Nimit

  • Sound runs wild with AIR 2.7.1 for Android

    My AIR for Android apps worked just fine with AIR 2.7 runtime on a samsung galaxy.
    The app uses sounds on timelines.
    After 2.7.1 the apps still work fine when compiled in the Flash Pro CS5.5 IDE, and still work fine if exported to iOS.
    But on Android-devices after a short while all the sounds in a displayed movieclip are played over and over...
    I didn't know that sound relevant issues were changed from 2.7 to 2.7.1.1961.
    Anybody has similar problems?

    Exactly. And this is really bad for apps already in the Android Market - if users update to 2.7.1 suddenly the formerly perfectly functioning apps have this problems.
    I tested this on the Samsung Galaxy Tab GT-P1000.
    On which device/s did you encounter this problem?
    And do you have a small example or testcase you can e.g. upload to the adobe bug-database?
    Our project is kind of big (the iOS part works perfect, thank you Adobe, great tool!) and I don't have the time right now to code a testcase - but if you don't have this maybe I can do it beginning of september...
    This bug must be resolved, think of all the poor support people which will have to answer questions like "My android app behaves kind of strange...".
    And my CEO is already dis-app-ointed (sorry for that, I'm a German trying to make a pun, yes) that I now can't upload our apps to the Android Market.

  • AIR App now crashes with AIR 15 runtime (did not crash with earlier versions of AIR)

    Hi,
    We've noticed our AIR application now crashes when the AIR 15 (the latest version available from Adobe) runtime is installed.  This did not happen with earlier versions of AIR.  The app does not crash when I debug in Flash Builder so I cannot identify the exact issue.  The app will crash EVERY time when running the .exe on Windows.  The crash happens on Windows XP and Windows 7.  The app does not crash on OS X.
    The message in Event Viewer says:
    Faulting application name: PhotoMambo.exe, version: 0.0.0.0, time stamp: 0x4eb75ae0
    Faulting module name: Adobe AIR.dll, version: 15.0.0.249, time stamp: 0x53fe5c69
    Exception code: 0xc0000005
    Fault offset: 0x0056fcdc
    Faulting process id: 0x3dc
    Faulting application start time: 0x01cfd110de4c8b50
    Faulting application path: C:\Program Files (x86)\PhotoMambo\PhotoMambo.exe
    Faulting module path: c:\Program Files (x86)\Common Files\Adobe AIR\Versions\1.0\Adobe AIR.dll
    Report Id: 49c106e0-3d04-11e4-9219-001c42d9a43e
    Please let me know if you'd like any additional information.  This is such a bummer that an AIR update renders our app useless in Windows.
    Thank you.

    I'm sorry this is happening.  Could you please open a new bug report on this over at bugbase.adobe.com?  When adding the bug, please include sample code or an application so we can quickly test this out internally.  If you'd like to keep this private, feel free to email the attachment to me directly ([email protected]). 
    Once added, please post back with the URL and I'll follow up internally.
    Previous versions of the AIR runtime can be found here: Archived Adobe AIR SDK versions

  • 30EA3: German language bug with user defined reports still not fixed

    In 30EA2: Limited folder functionality with German language
    I wrote about a bug in 30EA2. Was this message noticed by the developers?
    The bug still exists in 30EA3.
    In new folders for user definded reports only the options "Kopieren" and "Exportieren" (copy and export) are available, when SQL-Deverloper runs in German language mode.
    A workaround is to force language to English with the line
    AddVMOption -Duser.language=en
    in sqldeveloper.conf

    I made a new thread for the same bug in 3.1EA2:
    3.1EA2 Old bug with German language settings still exists
    I have some hope, that my problem finally got noticed by the developers.

  • 3.1EA2 Old bug with German language settings still exists

    In the past I wrote several times about a bug in SQL Developer when running in German language mode. This bug is still not fixed in 3.1 EA2:
    In new folders for user definded reports only the options "Kopieren" and "Speichern unter ..." ('Copy' and 'Cave as') are available, when SQL-Deverloper runs in German language mode. Other options like "Bearbeiten, Neuer Ordner, Neuer Bericht, Ausschneiden, Einfügen, Löschen" (Edit, New Folder, New Report, Cut, Paste, Delete) are missing. A workaround is to force language to English with the line
    AddVMOption -Duser.language=en
    in sqldeveloper.conf
    I mentioned it first in Re: Folders with limited functionality about version 2.1.1.64 and then in 30EA2: Limited folder functionality with German language 3.0 EA2 and German language bug with user defined reports still not fixed Beta Release 3.0 EA3
    Edited by: user1775992 on 22.11.2011 03:30

    I have raised a bug on this issue and I am actively looking into it.

  • Problem with MacMail on MacBook Air - mail with 32MB attachment appearing in "recovered messages" folder every 12 seconds

    Problem with MacMail on MacBook Air
    3 days ago I failed to send a mail with a large (32MB) attachment - and it is no longer in my outbox, draft mails or sent file.
    BUT a copy of this same mail now appears every about 15 seconds in my "recovered messages" folder
    I noticed when I received a system error saying I had a disk almost full issue - there were over 580 copies of the mail with 32MB attachment in the "recovered messages file"
    I deleted them all, and deleted the Trash
    BUT the message still keeps re-appearing every 15 seconds or so.  So I keep deleting them.
    Since then I have not been able to receive mail (altho' I am able to send) and Mail is VERY slow
    I am running MAC OS X 10.6.8
    I am running Mail version 4.6 (1085)

    Also here's the log before it happened. As you can see there is no activity from 9:48 to 10:00 am when the sound occurred.
    23/02/2014 9:48:12.792 am ntpd[52]: FREQ state ignoring -0.145411 s
    23/02/2014 9:48:15.258 am WindowServer[96]: _CGXHWCaptureWindowList: No capable active display found.
    23/02/2014 9:48:20.000 am kernel[0]: AppleCamIn::systemWakeCall - messageType = 0xE0000280
    23/02/2014 9:48:20.000 am kernel[0]: ARPT: 61.319378: AirPort_Brcm43xx::powerChange: System Sleep
    23/02/2014 9:48:20.000 am kernel[0]: ARPT: 61.319390: wl0: powerChange: *** BONJOUR/MDNS OFFLOADS ARE NOT RUNNING.
    23/02/2014 9:48:20.000 am kernel[0]: AppleCamIn::systemWakeCall - messageType = 0xE0000340
    23/02/2014 10:00:04.000 am bootlog[0]: BOOT_TIME 1393167604 0
    23/02/2014 10:00:06.000 am syslogd[17]: Configuration Notice:
    ASL Module "com.apple.appstore" claims selected messages.
    Those messages may not appear in standard system log files or in the ASL database.
    23/02/2014 10:00:06.000 am syslogd[17]: Configuration Notice:
    ASL Module "com.apple.authd" sharing output destination "/var/log/system.log" with ASL Module "com.apple.asl".
    Output parameters from ASL Module "com.apple.asl" override any specified in ASL Module "com.apple.authd".

Maybe you are looking for