Screen orientation changes to potrait in android device when wake up

Please help me on this
I am building an app in as3 for android and ios. I have set the screen orientation to LANDSCAPE in apple devices its working fine when I tried it in samsung galaxy tab its goes to potrait mode when the device wakes up please give solution to solve this

Updated Air to 3.8, But still have the problem that lock the samsung tab with app running and wake up after 5 min screen orientation still in landscape(that what I set) that's fine but image shrinks like getting potrait view in Landscape

Similar Messages

  • Screen orientation changes

    My new iPod Nano 6 changes it's screen orientation of it's own accord

    Probably not, it may be rubbing up against something. Even if it is just put it back where you want it.

  • For some reason changing my screen orientation changes some font sizes

    So when I use xrandr --rotate {orientation} to put my screen in portrait mode, then open a new application the font will be larger than usual. Example 1 (normal), Example 2 (larger). I think I know what the problem is, just not how to fix it. For some background, I'm running arch with the i3 windows manager. I've got a 24" screen with 1920x1200 resolution. Recently I uninstalled gnome, and after that is when I noticed the problems popping up.
    Here are some outputs:
    xdpyinfo (horizontal orientation)
    xdpyinfo | grep -E 'dimensions|resolution'
    dimensions: 1920x1200 pixels (508x317 millimeters)
    resolution: 96x96 dots per inch
    xdpyinfo (vertical orientation)
    xdpyinfo | grep -E 'dimensions|resolution'
    dimensions: 1200x1920 pixels (508x317 millimeters)
    resolution: 60x154 dots per inch
    xrandr (horizontal orientation)
    xrandr | grep -w connected
    HDMI1 connected 1920x1200+0+0 (normal left inverted right x axis y axis) 518mm x 324mm
    xrandr (vertical orientation)
    xrandr | grep -w connected
    HDMI1 connected 1200x1920+0+0 left (normal left inverted right x axis y axis) 518mm x 324mm
    It seems the big thing to note is that in landscape and portrait the dpi is different (96x96 vs 60x154). I think the reason for this is because in portrait the dpi calculation is dividing horizontal pixels by vertical screen length, instead of horizontal screen length and vice versa (I actually did the calculation myself to see if this was the case, and my numbers matched up).
    So I guess my question is, why is this happening, and what's the best way to go about fixing it? Also why does xdpyinfo show a different screen length than xrandr? (508x317mm vs 518x324) Xrandr is actually closer.
    Thanks!
    Last edited by CopOnTheRun (2014-06-01 21:15:38)

    A common mistake is to put code lines *after* the "exec startmyguiblah" line, and the exec command prevents any such further code from executing
    Your command is wrong - --dpi only accepts a single value
    Check with:
    xdpyinfo | grep -B1 dot
    Whereas --fbmm can change the DPI properly, since the DPI is 2 values - horizontal and vertical.
    Last edited by brebs (2014-06-01 21:45:23)

  • 5800 v50 - screen orientation change taking EIGHT ...

    When using the keyboard to enter text, if I switch from vertical to horizonal it is taking up to 8 seconds for the change to occur
    It seems that "upgrading" to v50 has been a complete waste of time.
    The performance is far worse than any other update I have applied v2x,v3x
    How can I stop this from happening?
    Bizarrely, whenever I tried to do a firmware update from v3x, it said none were available.
    I did a hard factory reset [red green camera], then suddenly I am allowed to update to v50
    This is pretty poor behaviour.

    There are several possible reasons for this, possibly RAM issues for instance. Many people have reported varying things about v50, ranging from it stabilized the phone to slowing it down to the point that it needs a format of either phone, memory card, or both depending on the nature of the problem. One of the most possible causes are the previous applications and settings we had.
    My first advice would be to try removing your memory card to see if the current behaviour still would continue. If it works better after removing the card and rebooting (and using without card), then the problem lies in the card.
    If it doesnt, you may have to do a hard reset. A hard reset is advisable if you encounter problems after update since we have to take into account new settings data and features which the firmware adds that may come into conflict with old settings and apps.
    If you find my post helpful please click the green star on the left under the avatar. Thanks.

  • How can i unblock youtube in my android device, when my proxy server blocked youtube

    I cant open youtube in my android devise
    Because my proxy server blocked youtube
    Please tell me what i have to do to unblock it

    Hi Walber,
    Flex uses the browsers HTTP stack to communicate and hence if
    you set proxy in IE and IE works, there should be no problem in
    Flex.
    If the problem still persists, try capturing network traffic
    with Charles / Fiddler / Wireshark to see what's going on.

  • Air 2.6 Screen orientation

    I'm trying to get this Air 2.6 feature to work again.
    http://kb2.adobe.com/cps/891/cpsid_89107.html
    Changes in AIR 2.6
    Screen orientation changes in 2.6 namespace
    Based on the release doc, it says "The swf is required to be compiled with the flag "-target-player=11" to make use of supportedOrientations API."
    How do I "compile with the flag" ???
    I'm using Flash CS5 to publish .swf
    I got the adt cmd line working.
    My AS3 script:
    addEventListener(StageOrientationEvent.ORIENTATION_CHANGE, onOrientationChange);
    function onOrientationChange(event:StageOrientationEvent):void {
         trace("onOrientationChange:"+event.afterOrientation);
        ...and process result.
    Thanks,
    Alfred

    StageOrientationEvent.ORIENTATION_CHANGE and StageOrientationEvent.ORIENTATION_CHANGING are not part of the supportedOrientations API. If you want to prevent Portrait, you can do that like this:
    stage.addEventListener(StageOrientationEvent.ORIENTATION_CHANGING, orientationChanging);
    private function orientationChanging(e:StageOrientationEvent) {
    if (e.afterOrientation == "default" || e.afterOrientation == "upsideDown") {
    e.preventDefault();
    That trick will work with AIR 2.0 as well as AIR 2.6, and without requiring player 11.

  • Air for Android video object displays on orientation change

    I have an Android app that plays a video using the normal video object, ie:
    var nc:NetConnection = new NetConnection();
    nc.connect(null);
    stream = new NetStream(nc);
    stream.client = this ;
    stream.addEventListener(NetStatusEvent.NET_STATUS, statusHandlerx);
    softwareVideo = new Video(640, 480);
    softwareVideo.x = 0;
    softwareVideo.y = 0;
    addChild(softwareVideo);
    When the video is playing if there is an orientation change, before the screen adjusts,  you can see a full screen version of the video behind the 640x480 in the area of the screen that adjusted yet.  So if the video is in portrait and the orientation is switched to landscape, in the right befow the stage adjusts to landcape you can see the right part of a fullscreen version of the video.
    Also when I remove the video object you can still see the last frame of the video in that area.
    HELP.  Is this a bug?

    Hi,
    Please log a bug at bugbase.adobe.com with a sample app(sources,swf,app-xml and assets) with which bug can be reproduced at our end. Also please mention the devices with OS version and the AIR build version on which bug is reproducible. A video demonstarting the bug would be really helpful for us.
    Also please mention the bug number here on forum so that we can look into this issue.
    -Nimisha

  • Locking The Orientation Of The Flex Mobile Application on Android Device

    Hi all,
              I have developed an application using Adobe Flash Builder Burrito and installed it on my android device,Samsung Galaxy Tab.
    I want to lock the orientation of my application to landscape even when the device is in portrait position.
    Can anyone of you help me to implement this.
    Thanks.
    Sujata Jha.

    When you create a new mobile project (actionscript or flex) it asks if you want it to auto-orient. This setting can be edited for existing projects in [project name]-app.xml.
    What I can't figure out is how to fix the application in landscape mode, as it seems to default to portrait.I could rotate the content myself, but the I'd have to convert screen events and previewing on the desktop would mean a lot of head twisting. Anyone know how to do this?
    -Gabriel
    Can you get Rasputin Rabbit back in the hat? Play Houdini's Hat (made with Away3D):
    http://www.pizmogames.com/games/load.php?g=houdinishat

  • How can I change screen orientation on my iPad air 2?

    How can I change the scrEen orientation on my new iPad Air 2? I do not see a lock device on the side like my old iPad has.

    Tap the padlock icon in Control Center.

  • Can't seem to control screen orientation on Android

    I'm trying to use Flash Pro with Air 3.2. I'm used to making apps for iOS and the orientation handling seem much more elegant.
    Can someone point me in the right direction for Android. There must be a magic combination of setttings to get this to work?
    Trying to use this with Aspect set to Landscape and Orientation set to Auto, but it really freaks out on my Galaxy tab. Keeps switching all the time and rarely matches the orientation I am holind the tablet in.
    stage.addEventListener(StageOrientationEvent.ORIENTATION_CHANGING, orientationChangeListener);
    var startOrientation:String = stage.orientation;
    if (startOrientation == "default" || startOrientation == "upsideDown") {
              stage.setOrientation(StageOrientation.ROTATED_RIGHT);
    } else {
              stage.setOrientation(startOrientation);
    function orientationChangeListener(e:StageOrientationEvent) {
              if (e.afterOrientation == "default" || e.afterOrientation == "upsideDown") {
                        e.preventDefault();
    EDIT: I'm using a Galaxy Tab to test if that matters. It seems like my device is pretty slow to react to orientation on the desktop, but it goes haywire in my app.
    Thanks for any help you can provide.

    I guess if this is a feature in 3.3 it must be know to not work in 3.2?
    http://labs.adobe.com/technologies/flashplatformruntimes/air3-3/
    "Aspect Ratio Enhancements — With AIR 3.3 the issue with the runtime ignoring the specified aspect ratio has been resolved. In this release we address this use-case by allowing only screen orientation corresponding to app specified aspectRatio and orientation corresponding to 180 degree device rotation from the specified aspectRatio."
    Is there a workaround? Is it possible to prevent portrait view on a landscape app under 3.2? I can't get it to not distort my app to a portrait view.

  • Sprinboard screen does not work on android device

    Hi experts,
    I have a mobile application that i coded on JDEV 11.1.2.4. And i deploy via sdk android-4.3 version. I set DefaultSpringboard on adfmf-application.xml file.
    When i deploy on AndroVM or another Android VM either SDK Emulator, i can see springboard screen properly. But deploy on real devices (tried with Android 4.1.1 Tablet, Android 4.1.2 Sony experia phone, Android 2.3.5 HTC phone) could not see anything, just seen black screen with header(written as applicationName) AdfmfContainerUtilities.showNavigationBar(); does not work also.
    How can i resolve this?
    Also i tried to create completely new adf mobile application that contains only 2 feature and applied the scenerio, it fails on real device too. I think that the problem is on loading featureList. Because when i created an amx page and set as CustomSpringboard. It works
    Please help me..
    brgds
    I m adding my adfmf-application.xml file content, essentially i tried almost all different setting in it.
    <?xml version="1.0" encoding="UTF-8" ?>
    <adfmf:application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:adfmf="http://xmlns.oracle.com/adf/mf" name="MLMobilKatalog"
                       id="com.accmee.MLMobileCatalogue"
                       appControllerFolder="ApplicationController" listener-class="com.accmee.application.LifeCycleListenerImpl">
      <adfmf:featureReference id="com.accmee.Login" showOnSpringboard="false" showOnNavigationBar="false"/>
      <adfmf:featureReference id="com.accmee.productList"/>
      <adfmf:featureReference id="com.accmee.productDefinition"/>
      <adfmf:featureReference id="com.accmee.favourites"/>
      <adfmf:featureReference id="com.accmee.messages"/>
      <adfmf:featureReference id="com.accmee.categoryDef"/>
      <adfmf:featureReference id="com.accmee.exit"/>
      <adfmf:featureReference id="com.accmee.menu" showOnNavigationBar="false" showOnSpringboard="false"/>
      <adfmf:featureReference id="com.accmee.menuList" showOnNavigationBar="false" showOnSpringboard="false"/>
      <adfmf:preferences>
        <adfmf:preferenceGroup id="application">
        </adfmf:preferenceGroup>
      </adfmf:preferences>
      <adfmf:navigation>
        <adfmf:navigationBar enabled="false" displayHideShowNavigationBarControl="false"/>
        <adfmf:springboard enabled="true" showSpringboardAtStartup="false" displayGotoSpringboardControl="false" animation="none"/>
      </adfmf:navigation>
    </adfmf:application>

    Per the release notes, Wallaby only supports Chrome and Safari at this time.
    And yes, it only works with Adobe Flash Professional CS5 files. To use older Adobe Flash Professional files you can resave them in CS5 and then run them through Wallaby. This is a technology preview (not a product) and therefore has certain limitations that might not exist in a shipping product.
    You mention this doesn't work on an itouch G3. You mean an iPod touch G3, yes? What version of iOS do you have installed on your iPod touch? This may be related to incorrect serving of SVG content (if you are using apache) and so you may need to update your .htaccess file in apache per the Wallaby technical tips page.
    Michael O'Rourke
    Adobe Wallaby Team

  • Change Android Device Name Using RD client - Is it possible?

    Hello guys, i am having a problem.
    I configured my RDC on windows server just fine, i can acess it through ddns.net without any problems.
    However, i have some software installed on my windows server that only works with pre-authorized PC-NAME ... so my question is, where or how can i change my android device name whenever i use the RDC app?
    Whenever i try to start that software i get the message "unable to open program ... D5803_4.4.4 not authorized to open it"
    (D5803_4.4.4 is my android device name) ... how can i change this?
    thanks!

    Hi,
    It seems there is no such way to change the RDP client name. 
    Thanks for your understanding!
    Dharmesh Solanki
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Programmatically change screen orientation and/or resolution?

    We don't have VB.NET available and I was wondering if it is possible to create VBA code that would change:
    1) screen orientation (and maybe resolution)
    2) on a specific monitor (in a multiple monitor setup; we have two) 
    The idea would be to put it into an Excel workbook and have the macro autorun then exit.
    I see examples for C#.Net but can't find any for VBA. Maybe it's not possible. Your comments are appreciated. Thanks.
    Edit: ANY MS Office application can be used as long as it can be used via a shortcut on the desktop and run automatically. "One click and done" is the idea.

    Hello Doug,
    I believe you can use Windows API functions to get the job done.
    Anyway, the current forum is for Office Apps. I'd recommend asking VBA questions on the
    General Office Development  forum instead.

  • Programmatically change screen orientation and/or resolution using VBA?

    We don't have VB.NET available and I was wondering if it is possible to create VBA code that would change:
    1) screen orientation (and maybe resolution)
    2) on a specific monitor (in a multiple monitor setup; we have two) 
    The idea would be to put it into an Excel workbook and have the macro autorun then exit.
    I see examples for C#.Net but can't find any for VBA. Maybe it's not possible. Your comments are appreciated. Thanks.
    Note: ANY MS Office application can be used as long as it can be used via a shortcut on the desktop and run
    automatically. "One click and done" is the idea.

    Hi Dougmeister,
    I agree with Cindy that the VBA doesn't have function to achieve the goal. Also there is no function in Excel object for this requirement.
    The way we can achieve the goal is that using Windows API as Cindy motioned. And here is an helpful article talking about this topic:
    Office Talk: Working with VBA in the 32-bit and 64-bit Versions of Office 2010
    And about Windows API issue, I would suggest that you get more effective response from
    General Windows Desktop Development Issues forum.
    Hope it is helpful.
    Regards & Fei
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Change View State Based On Screen Orientation?

    I'd like my app to change layouts based on the current screen orientation.  I believe this is done through view states.  I have three questions...
    1) How do I check the current orientation?
    2) Is there an event listener that will tell me when the orientation changes?
    3) How do I toggle between view states?
    Thank in advance!
    UPDATE: I figured out the answer to question 3...
    currentState = 'yourStateName';
    UPDATE II: I figured out the answer to question 1 as well.  I simply used the Capabilities object to determine the screens current width & height, then compare the two.  All of this is in a function that gets called when the app launches:
    public function checkOrientation():void
         var screenWidth:Number = Capabilities.screenResolutionX;
         var screenHeight:Number = Capabilities.screenResolutionY;
         if (screenWidth > screenHeight) {currentState='yourStateName1';}
         else if (screenWidth < screenHeight) {currentState='yourStateName2';}
    Now all I have to do is figure out how to call this function when there is an orientation change.  I tried the code below but get the included error:
    stage.addEventListener(Event.RESIZE, checkOrientation); // ERROR: Access of undefined property stage
    Why can't access the "stage" property???

    Hi,
    I work on platform using flash bulider 4, later i finsh the platform but i meeting one problem is resize project to work with diffrent size screen, but i can't solve the problem, i need platform work with diffrent Screen Orientation without problem could some help  please, this that what i done in code please help.
    Thanks,
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                   xmlns:s="library://ns.adobe.com/flex/spark"
                   xmlns:mx="library://ns.adobe.com/flex/mx" xmlns:rtc="http://ns.adobe.com/rtc" width="100%" height="100%" backgroundColor="#51575D">
           <fx:Style source="Client.css"/>
             <fx:Script>
            <![CDATA[
                import mx.events.FlexEvent;
                import flash.events.FullScreenEvent;
                protected function txtUsername_enterHandler(event:FlexEvent):void
                    // TODO Auto-generated method stub
                    connectRoom.login();
                    labelUsername.visible = false;
                    txtUsername.visible = false;
                function fullScreenRedraw(event:FullScreenEvent):void
                    if (event.fullScreen)
                        width  = Capabilities.screenResolutionX;
                        height = Capabilities.screenResolutionY;
                    else
                        width = stage.stageWidth;
                        height = stage.stageHeight;
            ]]>
        </fx:Script>
           <fx:Declarations>
             <s:Move duration="500" id="moveEffect"/>
            <s:Resize duration="500" id="resizeEffect"/>
        </fx:Declarations>
                  <mx:Image x="0" y="0" width="100%"  height="100%" scaleContent="false" autoLoad="true" source="greenbackground.png"/>
                                     <rtc:ConnectSessionContainer horizontalScrollPolicy="off" verticalScrollPolicy="off" id="connectRoom" autoLogin="false"
                                           roomURL="https://collaboration.adobelivecycle.com/account/yourroom"
                                           y="20" width="95%" height="90%" backgroundColor="#212D4B" contentBackgroundColor="#F6F6F0" borderAlpha="1.0" cornerRadius="30" contentBackgroundAlpha="1.0" backgroundAlpha="0.4" x="33" dropShadowVisible="true" borderVisible="true">
                        <rtc:authenticator>
                                <rtc:AdobeHSAuthenticator userName="{txtUsername.text}"/>
                     </rtc:authenticator>
                          <rtc:SimpleChat width="293" height="258" x="2" y="165" chromeColor="#384D91"/>
                           <rtc:WebcamSubscriber y="4" displayUserBars="true"  width="292" height="158" x="2"/>
                     <rtc:AudioSubscriber id="audioSub" width="0" height="0"/>
                                         <rtc:FileShare height="135" width="290" x="5" y="425" chromeColor="#284C79"/>
                        <rtc:ScreenShareSubscriber id="scrShare" width="81%" height="99%" y="4" x="299"/>
        </rtc:ConnectSessionContainer>
        <s:Label id="labelUsername" y="230" text="   Enter a username and press Enter:&#xd;" color="#B5C40D" fontWeight="bold" horizontalCenter="0"/>
        <s:TextInput y="250" width="229" textAlign="center" id="txtUsername" enter="txtUsername_enterHandler(event)" color="#090909"
    horizontalCenter="0" height="27" fontWeight="bold" borderAlpha="0.99" contentBackgroundColor="#989A9C"/>
    </s:Application>

Maybe you are looking for

  • Safari Version 5.0.6 (5533.22.3) yahoo mail will not support this version . Yet I cannot upgrade to a different version ? What can I do ?

    I have a apple ibook and it has safari Version 5.0.6 (5533.22.3) and when I go to yahoo mail it will not load says it is no longer supported. Do I really have to get a different browser  or is their an apple safari browser that I can down load. I als

  • Time-dependent hierarchy in query selection screen

    Hello all I am running query where input selection has following fields - Fiscal year variable ( e.g. i can enter 2008) Period variable ( e.g. i can enter 12) Hierarchy Node variable The hierarchy is time-dependent. I want that if I enter year and pe

  • Can I Connect my G5 iPod to my Bose Wave Radio

    I have a Bose Wave system and would like to connect my iPod. What's the best way to do this to get the best sound? Do I need a universal dock or is that necessary? iMac   Mac OS X (10.3.9)  

  • Budget Tolerence Limit

    Dear Experts, I have come cross the following scenario: AAA (WBS Element) is the first level WBS element of Project A. The Project has following WBS elements with Budgetary Values: Level 1                    AAA                 5,000 Level 2         

  • Install build# 9860 error 0x80240016

    hi I am trying to install build 9860 from my Windows 10 build 9841 although I receive the error bellow, I have tried the installation many times. "Failed to install the new preview build. Please try again later. 0x80240016"