Air For Android - Full Screen not working

Opened CS5.5 > Chose "Air For Android" which gave me a stage dimension of 480x800 default. I then created my app.
I am using a Droid Bionic and testing my app on it. It will not go to full screen, regardless of how I am holding the Droid. When publishing, I clicked "Full Screen" and Portrait, Landscape, Auto Orientation, etc. I tried all of the publishing options, yet still there is white screen on the eastern and southern side of the screen.
I have a picture on the main screen, and it fits perfectly within the 480x800 dimmensions when playing in Flash. After publishing to an APK file and testing it on Droid, I have that white space as mentioned, as if the stage size grew larger than the picture / app. I also shrank the stage(480x800) dimensions to to (340x600) , but still the same amount of white space. When I move the picture to the right a bit, and publish, it shows the white space on the left hand side of the stage. This can only mean that when I publish, the stage size grows but everything on the stage stays the same. 
Any ideas?
Thanks!

I removed:
stage.scaleMode = StageScaleMode.NO_SCALE;
stage.align = StageAlign.TOP_LEFT;
from AS3 and it works better. Now there is even white space on the north and south side of the screen. Clicking "Full Screen" in the publish settings, makes a little more white space, which is weird. It as if now the stage is expanding its height, rather than its height and width due to me using the above code. Still, would like to get rid of that extra white space.
Edit: It looks like the stage height grew by 60. If I expand the picture by 60, placing it on the stage at 0x and -30y, it fits fine on the bionic. I don't understand why this is happening, and scared that it may be different for each device.

Similar Messages

  • Adobe AIR for Android as3 codes not working for this one project

    I'm trying to use Accelerometer in my flash game, which works for every other project I'm working on, but for some reason on this one project if I try using it I get errors, using the same code i've used before, such as this. 
    1046: Type was not found or was not a compile-time constant: Accelerometer.
    1180: Call to a possibly undefined method Accelerometer. 
    This is a fairly old file, not that old, so are there files I need to add to it to get it to work, or settings I need to change? This is very frustrating, I don't know what the problem possibly could be. Can anybody help me?

    The error message is indicating it cannot find the class.  Make sure you are importing it:
         import flash.sensors.Accelerometer;

  • AIR for Android maximum screen size?

    Hey folks!
    Sorry if this question was already made here, but I couldn't find. Does anyone know if  AIR for Android has a maximum screen size for apps? I have this app developed for 1080p resolution, and my device (CS918 with Rockchip RK3188) is set to 1080p as well. But when I run it through FlashDevelop debug, it downsizes to 720p, still showing in fullscreen. My AIR is version 14.0.
    Maybe it's my device, but since I don't have any other Android devices to test, I can't tell yet.
    Thank you.

    Thanks for letting me know! Here's the main thing I said:
    What you say about fullscreen isn’t correct. That just dictates whether the status bar is showing or not.
    The thing that controls how the stage is scaled is stage.scaleMode. The default value is “showAll”, and under that the stage will scale up so that either the height of the stage fills the height of the dvcid, or the width fills the width, depending on the ratio of the stage and the device.
    “noBorder” is another useful mode. You could design a 14:9 stage and have content near the edges that isn’t vital. The stage would then scale to fill the screen, but would allow some content to go off the edges. It’s easy to support a range of devices, from 4:3 to 16:9, with that single 14:9 stage.
    Some people use “noScale”, and then do all the mathematics themselves to get the contents of the stage to scale correctly. I just let Flash do that for me!
    What moonlight says about calculating the pixels that are visible on a given device is true, and useful. Here’s my function for finding out where the top of the stage falls on the current device:
    private static var landscapewidth:int = Math.max(Capabilities.screenResolutionX,Capabilities.screenResolutionY);
    private static var landscapeheight:int = Math.min(Capabilities.screenResolutionX,Capabilities.screenResolutionY);
    public static function landscapeTopEdge(thestage:Stage){
      return thestage.stageHeight * .5 - (thestage.stageWidth / landscapewidth * landscapeheight) * .5;
    Because I pass in the stage to the function I can use its width and height as part of the calculation. That saves hard coding it for a particular stage size.
    It’s a static function because I have it in a class with other device utilities. I would call it like this:
    var topedge: Number = DeviceUtils.landscapeTopEdge(this.stage);

  • APP created with Air for Android but doesn't work on the emulator for test - Help!

    When I create an application using Flash CS5.5>>> AIR FOR ANDROID.
    After creating a test page I go to publish settings and send the app on Emulator RELEASE ... The APP is loaded correctly but as soon as you start the emulator, give this error "The application XXnameappXX (process air.XXnameappXX) has stopped unexpectedly. Please try again" Help Please!

    Ok i've find this before "Adobe Flash CS5/AIK2.5/runtimes/air/android/emulator/Runtime.apk" and install it on android emulator! Now works all i hope! Thanks for your answer!

  • Organizer full screen not working

    When Photoshop elements 12 loads the full screen does not show. The top menu and left margin ( file selection folders) are not visible. Using Win 7 shortcut keys to maximise the window does not work. The editor works fine and all the win 7 shortcut keys operate correctly on the editor. Effectively the organizer is not functioning as I cannot select any folders as they are not visible

    Sorry, man. No I never got an answer to the question. So I'm
    just hoping that an update comes soon that will address this
    problem. If you find out something, reply to this topic so I can
    see if it works for me.

  • Firefox for Android: search/address not working

    I just put firefox on my new phone and I found that the search/address bar almost always considers one word searches to be an address, see pic: http://i.imgur.com/1dpIH2L.png (very annoying by the way)
    is there any way to make it properly recognize one word entries as searches, or change it so that it only functions as a search bar?
    And instead of making a 2nd post, is there any way to disable address autocomplete? I can deal with it if not but I just find it distracting.

    Hi,
    What version of Firefox for Android are you using?

  • Full Screen Not Working

    I am running Windows Vista and Flash player 10.0.12.36 and
    every time I use Flash player in full mode I receive the following
    message: Full Screen mode is available in Flashplayer 9.0.28 or
    later only. We have several clients encountering the same problem.
    Any help would be appreciated.

    Let's try the FInder prefs...
    Go to your Finder "Go" menu hold the option key and choose Library. Then go to Preferences folder and trash this file:
    com.apple.finder.plist
    Then, restart, or log out and in again.
    (You may have to reset a few finder prefs the way you like them.)

  • Adobe air 3.6 for android video camera not work!

    1. air 3.6
    2. andorid 4.1
    3. sumsung note2
    code:
    var cam:Camera = Camera.getCamera();
    var video:Video = new Video();
        video.smoothing = true;
        video.width = videoDisplay.width;
        video.height = videoDisplay.height;
        videoDisplay.addChild(video);
        video.attachCamera(emMaster.camera);
    video camera ok!,but when device rotate,video turn to black
    air 3.7 beta , video is black anyway
    air 3.5 also has a bug , someone mention before
    air version < 3.5,seems work fine
    anyone met this problem ,has any solution,please help me ,thanks!

    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 so that others affected can add their comments and votes.
    Thanks,
    Chris

  • Convert CS4 Flash 10 as projector file to AIR For fileStream Writing Capabilities Not Working

    Have a simple kiosk .exe that works fine as a projector/.exe on PC platform.
    Wanted to add stats output to file of when FAQ buttons pressed.
    fileStream class available when I change publish settings to AIR AND works greate when I test movie w/in Flash, but
    I try to publish and click the .exe I don't see anything.
    Any info would be appreciated.

    Here's a general dive on RTMP. You can see the packet structure contains metadata in the header about the content that will follow. The NetStream link I put above talks about it as well when using appendBytes(). The byte(array) parser understands FLV files with a header. After the header is parsed (again, see RTMP and what the server sends (0x12) before invoking a play), it expects all future calls to appendBytes() to be a continuation of that file (or stream). In other words, the first call to appendBytes() is missing the header.
    This is where I rely on FMS for the most part. I know it knows to send a header upon connection. If you're implementing your own streaming setup you're going to need to supply this just like a FMS RTMP connection would (in AMF). I haven't needed to do anything this custom but if you get the structure of an initial RTMP connection (sniff it with a fiddler2 or find a resource on the structure) and encode it in byteArray, send it first to appendBytes with the correct information about the video you're sending, it should work.
    Otherwise it makes sense appendBytes is failing by just getting a chunk of binary without having a header (the instructions on what exactly the binary is and how to use it).
    Strictly per the documentation, On2/VP6 should be fine, I use it for all my old f4v projects. I'm not sure about MPGA/V.

  • Pages 4.0 full screen not working in Yosemite

    I just installed Yosemite (from Snowleopard).  Now in Pages 4.0, the option to go fullscreen is faded out, and when I click the icon in the tab, it only goes into fullscreen mode for about a second and then drops back. I don't want to download 5.5, but I think maybe 4.3 might be the answer? I have no idea. Where can I find 4.3 to download, or is there another fix?

    Pages '09 should still be in your Applications/iWork folder.
    Peter

  • Textfield not working in air for android

    Hi,
    I have a weird problem. An input text component that works in air for desktop refuses to work in an air for android application.
    It draws on the screen as it should but i cant input text. Am i missing something fundamental?
    It is kind of hard to log in if i cant enter credentials
    Here is the code:
       idFmt1= new TextFormat("arial",18,0x000000);
       idFmt1.align="left";
       _inputText= new TextField();
       _inputText.defaultTextFormat = idFmt1;
       _inputText.x=150;
       _inputText.height = 35;
       _inputText.width= 150;
       _inputText.type = TextFieldType.INPUT;
       _inputText.background = true;
       _inputText.backgroundColor = 0xa0a0a0;
       _inputText.text = _initText;
       _inputText.tabEnabled = true;
       _inputText.tabIndex = 1;
       _inputText.displayAsPassword = false;
       _inputText.antiAliasType = flash.text.AntiAliasType.ADVANCED;
       _inputText.embedFonts = true;
       _inputText.alwaysShowSelection = true;
       _inputText.mouseEnabled=true;
       addChild(_inputText);

    I can't seem to get anywhere with capturing text input! I set the "type" to TextFieldType.INPUT  but this is still ignored on both the desktop and the device. If I place an input textield on the scene in Flash, that works in so far as it brings up the Android keyboard - but then nothing you type is of any consequence.
    What could I be missing?

  • Activation fails when not anwsering an incoming call Air for Android

    Hi,
    I'm developing a game with Adobe AIR for Android; we are handling events for Deactivate (Pausing) / Activate (just tracing for now) of the game.
    It works OK when:  I press home button and then go back. When I get an incoming call and answer it. When I get an incoming call and reject it. They all activate the game when finished
    It doesn’t work when: I get an incoming call and I missed it (no answering, no rejection either) instead of activating the game again a black screen is showed (trace on Activate event is not fired either).
    Did anyone experience the same issue?
    Regards

    I tried the above case on Samsung S4(v4.2.2)(Currently I have with me) with latest AIR SDK available at http://www.adobe.com/devnet/air/air-sdk-download.html and I am getting the activate and deactivate event if I get an incoming call and I missed it. Below is the code snippet I used. Please update if you are using something different.
    stage.addEventListener(Event.ACTIVATE,onActivate);
    stage.addEventListener(Event.DEACTIVATE, onDeactivate);
    protected function onDeactivate(event:Event):void
    // TODO Auto-generated method stub
    trace("In the deactivate method..........");
    protected function onActivate(event:Event):void
    // TODO Auto-generated method stub
    trace("In the activate method...........");
    Could you please share the 3.7 version using adt -version command on either terminal or command promt. You can find adt at AIRSDK/bin folder.
    Regards,
    Nimit

  • Air for android - not connecting to lccs

    I created an as3 swf that connects to lccs. It works well. I'm using the 10.1 swc. I used the same code in Air for Android cs5 file. It doesn't give any errors but it will not connect to the lccs server. I put an event listener on and it gives an error "INVALID_INSTANCE:invalid_instance". Now that would leave me to believe my roomURL is not correct but it surely is. And the room connects successfully when in an as3 swf.
    Does the Air for Android cs5 strip out things or something? The error event listener worked on the android phone but it didn't connect. Anyone know why the android version wouldn't connect?

    Sample Code on how to use debug trace that Raff was mentioning
    In your codes applicationComplete or creationComplete event, please add this line
    DebugUtil.traceFunction = traceMessage;
    DebugUtil.suppressDebugTraces = true;
    and add this funtion
    private function traceMessage(message:String):void {
           TEXTAREA OR LOGGER .text += message + "\n";
    Thanks
    Arun

  • MacBook Air wifi internet shared network not working on tethered android phone GT B5122

    MacBook Air wifi internet shared network not working on tethered android phone GT B5122
    I have created a password protected wifi internet network on my Macbook air. I tethered by Andriod phone onto this network, but the internet connection works intermittently on the phone, and when it stops working the network continues to show as connected to the shared network mostly(other times it keeps renewing the wifi IP address on the Andriod phone).
    Also the network the MBA is connected to, is a hardwired one using a SSH login account in a student accomadations.
    I am not sure, but all the restarting and refreshing of system, phone and wifi sharing and re-enabling wifi is not reparing the internet connecting on the wifi network for the phone
    Really puzzled, if this is one of the Apple, Andriod compatability issues.
    Cheers,
    Vivek

    Spanners91 wrote:
    Hi.
    I'm having trouble with the wireless connection on my new home hub 3. Most devices will connect easily, but there are three devices that have trouble connecting. These are an Android Phone (Samsung Galaxy Mini), an android tablet (Sony Tablet S) and an iPod. All of these devices work perfectly on other network connections, and other devices in the house are quite happy connecting to the network.
    The Androids can see the network, and will try to connect to it, but when they do they just go through a loop of "connecting">>"acquiring IP address">>"disconnected". I have tried resetting the Home Hub with a pin, and that lets the devices connect for about 24 hours, but after that time they stop connecting again.
    I'm really not sure what to do to fix the problem, so I will very much appreciate some help.
    Many Thanks.
    My lads SGMini connects perfectly to our hub3
    Have you installed the BTFon app to these devices?
    If so, you could delete it and then see what hapens.....
    -+-No longer a forum member-+-

  • I accidently click for a full screen view on Firefox and now I can't undo it. My bar with tools, bookmarks, etc. is not visible. As the browser opens, the bar appears but then jumps up where it can't be reached. How do I turn off the full screen?

    I accidently clicked for a full screen view on Firefox and now I can't undo it. My bar with tools, bookmarks, etc. is not visible. As the browser opens, the bar appears but then jumps up where it can't be reached. How do I turn off the full screen without access to view options?

    Co-el, This wasn't possible as there wasn't a navigation bar available. The F11 did the trick though. Thanks for adding to the discussion.

Maybe you are looking for

  • How to get WAN DNS when set up Airport Extreme on Windows

    I am trying to set up my home network by using Airport Extreme Base to connect DSL via PPPoE. Here's what I did: 1. Update firmware to latest version: V5.7; 2. Install Airport Setup 4.2; 3. Run Setup Assistant, enter the right DSL account and passwor

  • Route redetermination at delivery

    Hello all, we are planning to carry out route - re determination at the delivery level based on shipping point considering the weight groups and not based on delivery type. there is a user exit in standard SAP (EXIT_SAPL0VRF_001) that does the custom

  • GL validation

    Dear All, I would like to achieve special requirement.I am wondering that I can do this with GL validation but I am not able to setup a correct structure to meet this requirement. I am sharing this with you all experts ; Requirement - IF Company code

  • Selecting multiple columns in a jtable

    whats up java programmers, i have a problem. i have a jtable with 8 columns. i set a mouse listener to the headers so when i click on one that column underneath the header is highlighted. my problem when i click on one header and then click on anothe

  • Execute scripts in your PWD without prepending them with "./"

    To execute scripts in your PWD without prepending them with "./", add it to the end of your $PATH: $ export PATH="$PATH:." ...and, to make it permanent, create an entry in your .bashrc: $ echo "export PATH=\"\$PATH:.\"" >> ~/.bashrc It won't cure can