App starts in mode full screen after Android restarting

Hello guys,.

I'm developing and Android application using version 4.6 the kit Flex SDK and AIR 4.0 SDK. Tasks that concern me begins after the operating system starts and being an application full screen.

The application has the following manifest parameters (among others):


landscape of < aspectRatio > < / aspectRatio >
< autoOrients > true < / autoOrients >
true < fullscreen > < / full screen >


and:


< application android: enabled = "true" >
< activity android: excludeFromRecents = "true" >
< intent-filter >
< android:name = "android.intent.action.MAIN action" / > "
< android:name = "android.intent.category.DEFAULT category" / > "
< android:name = "android.intent.category.LAUNCHER category" / > "
< android:name = "android.intent.category.HOME class" / > "
< / filter-intention >
< / activity >
< / application >


So as you can see, the configuration is intended to launch the application as the application from HOME, using landscape as soon as the appliance starts.

The application actually does everything it's supposed to, but when the unit starts, the application start mode full screen because you can see the notification/status bar. Then you can see the problem.


STARTUP PROBLEM.png

What I have to do is to improve the application to start in full screen when starting the unit. Now, the only way to start full screen mode is to restart the application after that the device upward initialization completed.


I should add that I've also compiled the application using the AIR 14 SDK, but the problem was still there. Status bar sometimes appears and sometimes it doesn't. I thought he had something to with the WIFI network connection, but it doesn't, because on the two cases, as soon as the query if it has immediate network connection or if it is not, the status bar will be appear sometimes and sometimes not appear.

I hope you can help me solve this annoying problem.


Someone on the forum APACHE FLEX (link to discussion) advised to remove the tag in the manifest of and manage this problem inside my code. The result is the following:

Manifesto

                        fake

RootApp.mxml

/**

Forces of demand to be full screen mode when it is added to the scene.

*/

protected function addedToStageHandler(event:Event):void

{

stage.displayState = StageDisplayState.FULL_SCREEN_INTERACTIVE;

}

This solves the problem. Unfortunately the start screen isn't mode full screen so there is a very sudden change when the application sets fullscreen. Even if this isn't the most elegant solution and not what I wanted to use (solves the problem of the tag please), I stick to it for now.

Tags: Adobe AIR

Similar Questions

  • How can I leave Firefox automatically starts in mode full screen (Mac PowerPC with Firefox 3.6)

    I use a Mac Mini (PowerPC) as media-computer for our Narrowcasting screen. It's an old mini with Max OS X 10.5.8 and Firefox 3.6.28.

    This works very well for a few years. But whenever there is a power failure the mini boots itself again and Firefox is started automatically. BUT is NOT in FULL screen. Some must use Shift-CMD-F to the mini back to full screen.

    Take a look at this addon

    It does not seem to lock some Firefox and requires manual configuration.

  • Fable III crashes mode full screen after Windows Live Marketplace is installed

    After that I installed Windows Live Marketplace, the game takes place. However, if I put it in fullscreen, it crashes.

    Hello

    You should try to uninstall or reinstall the games. Expect that any update or try to reinstall.

    Thank you.

  • I customized my Firefox mode full screen by clicking on the option full screen. Now I do not get it back to normal even after restart of firefox and even restart my system. How can I get that back in normal view? Thank you!

    could not return to the normal display mode display mode full screen...

    Try to hit F11

  • Satellite L500 - after Windows 7 upgrade games does not work in mode full screen

    Hello..

    I just received my upgrade to windows 7 in the mail and I installed it and all is well...

    But if I run a game that is not in the same as the computer screen resulution is a square in the middle of the screen and it is two big black lines down on each side. It does not put the game in full screen. The games in the same resulution works very well.

    Some games may be put to the resulution have this computer.

    How can I do then come in full screen?

    Thank you

    Hello

    Have you tried to update the display driver? Maybe you have an older version that is not fully compatible with Windows 7. Just check the Web from Toshiba site to get the latest version:
    http://EU.computers.Toshiba-Europe.com > support & downloads > download drivers

    Normally for mode full screen in games you choose the native screen resolution of your screen there.
    Check this box!

    And it would be interesting to know in what games this problem exists

  • Mode full-screen Windows 10

    I installed Firefox on a new computer with Windows 10 and initially failed to enter fullscreen (F11) mode. After some tests, I came up with a procedure that works, but involves starting Firefox twice each time - a minor annoyance.
    I have 1 'Favorites' tab and the other tabs open with a working fullscreen and close Firefox normally (I don't get the warning waited on the closure of several tabs). The following steps find Firefox upward and mode full-screen:

    1. launch Firefox. It gives a blank page expanded with the address bar and the bar tab with a single tab.
    2. press F11. Curiously, square set full-screen mode, it replaces the page 'Restored' size.
    3 maximize. Window extends to its appearance after step 1.
    4. stop Firefox. Window goes away.
    5. start Firefox a 2nd time. This time, it will come with the 'restoration' page Firefox (with address & tab bar) which shows the tabs that were open at the previous close and gives the opportunity to select the tabs you want to come this time.
    At this point F11 will toggle in and out of fashion full screen properly, so steps 6 and 7 can be either order.
    6. press F11. He's going to full screen (i.e. address & tab bars disappear).
    7. click on the button "restore". Earlier closing tabs are restored and F11 is fully functional.
    Issues related to the:
    1. Why don't I get the warning for closing multiple tabs? (It seems more to be an option.)
    2. because (in XP at least) the "Restoration" page should appear only after a forced or abnormal stop, why is she even get involved? (Both the cases referred were normal).
    3. why Firefox doesn't come until normal the first time, with only the tabs that have been pinned and F11 functional?

    Since the first opening of this problem, it seems that the updates have been applied to Firefox, Windows 10 or both, and itself has the problem. So "thank you" to the one who fixed it.

  • I have problems with the remote (RDP) desktop sessions, I can't get the session to go full screen after being reduced to a minimum.

    I can't get the session go full screen after be kept to a minimum.

    I did the following things to make this work:

    1. Updated the operating system
    2. Check my RDP options to make sure that it is set to mode full screen
    3. I tried 3 different computers that it happens on both of them have every two Windows 7 Professional and both are 64-bit (XP Machines have that happen)

    Details:

    I connect to my company TS servers and application servers (all running 2003 OS). When I reduce the view full screen, via the connection bar, I go back to enlarge the window and I get a window view not a view full-screen. I've only been able to reproduce this on two machines and tested a total of 5 machines Windows 7 Pro. I also tested on a XP Machine and impossible to duplicate. The XP and 2 of 7 machines (who both question) are on a connection, the others are all on separate connections in separate locations. Is this a bug in the program or is their environment I'm missing? Still, full screen has been selected in the display area.

    Thank you

    "There is a kind of"bug"with some resolution which could refuse to full screen.
    the only way to force full-screen mode is by pressing Ctrl + Alt + break.

    Remote Desktop does not return to full screen
    http://social.technet.Microsoft.com/forums/en-us/w7itprogeneral/thread/48d6cb3a-C743-404F-8411-6cedbb858c2c

    http://www.Google.com.au/search?q=remote+desktop+fullscreen+%22windows+7%22&SourceID=IE7&RLS=com.Microsoft:-to the: IE-address & ie = & oe = & redir_esc = & ei = oFmCTYufNIeKvQO-nNjHCA

    See if your problem is also related to video drivers?  He has other suggestions in the links, the first is XP, but the last one is Windows 7.

    "Hey Alshrim I thank you for your help. I've just updated my video driver and the remote connection started working: Dstrange and interesting! "Thank the people who helped me.

    Remote Desktop is not connecting
    http://www.Tek-Tips.com/viewthread.cfm?QID=1591106

    Issue RDP
    http://www.Tek-Tips.com/viewthread.cfm?QID=1593827

  • Taskbar appears automatically mode full screen

    When I turn on the mode full screen on my pc to watch a movie, after a while the taskbar will appear automatically and this problem occurs often enough...

    The taskbar are built to see if another program requires to be seen.  We call these "needy programs", and they usually Flash their icon to get your attention.  It is usually the programs that try to tell you that you have received a new email or message, or a download is complete.  Sometimes, these programs are just icons by the clock.

    You can click on the program in need of solving what he wants and then go to your video.  Or you can solve this problem out all programs running (and icons of the clock) before you start your video.
  • Bring item full screen after use of the 3D camera and changing point position/orientation

    Hello.  I am a new user of After Effects.

    After you apply the 3D camera and make adjustments and also make adjustments to a position of individual items and the orientation in 3D space.

    is there a way to get one full screen (and directly to the camera) once again, other than doing 'eye '?  Is there a feature or mathematics that will get the item mode full screen

    as if you do not apply 3D or or changes of position?

    Said another way, if I have several parts of the video on screen, turned them all 3D, changed that position and orientation, then applied a 3D camera and adjusted that

    so no items are full-screen one, then you want one of them to return to full screen mode, can add you values of parameters of the element and the camera may be a value

    which translates into a single element to a full screen/straight on angle (as if the 2D and not affected)?

    Thanks in advance for any direction.

    Hey brvid

    The easiest way is to:

    -Start with your image full screen

    -Click on the box for this layer 3D

    -Add a camera (which uses the current view for its zoom/position)

    -Add a null value, click on the 3D box so that the null value

    -parent the camera as NULL. That the null value has the same ISP values as image

    Now, you can duplicate this image and place around the scene in any position and rotation.

    - Then you can copy values ESP of other images as the key your null and the camera images will move to this image and it will be full screen

    Hope this helps,

    Steve

  • Command bar of fusion (top of screen) meets while mode full-screen Win XP vm

    I have looked around the blogs for a similar problem but haven't found any, maybe because I'm not using the right terminology, so please tell me the existing relevant documents or post it here. Thanks in advance for any help.

    I upgraded my Windows VM to Windows XP SP3, about two months ago, then updated my installation of Fusion to 2.0.1 a month ago. I use my Win XP VM to a programme on Access 2003 VBA and generally run in mode full screen to simplify the use of the PF keys, with the command bar top of page in auto-hide mode. The only other programs I run on my VM is Security Suite that comes free with Fusion 2.0 and Microsoft OneNote 2003, I use actively in taking notes that I work. Sometimes, I use IE to check the Microsoft security updates. Given that I've enabled auto-update from Microsoft, I rarely feel the need to manually check Microsoft Update. Almost always, I would have i-Tunes streaming background music on Mac OS X, and sometimes I would switch in Unity mode so I can start a browser in Mac OS to search for information on the web. Because I'm in development of access code mode, I sometimes cause program crashes of the window, not forcing me to restart my computer virtual when that particular problem surfaces. My preference of Fusion is configured to optimize the performance of the host, based on some tip I've read in this blog some time ago.

    Some time after XP SP3 installed and update of Fusion 2.0.1 top I believe VM fullscreen command bar randomly becomes unresponsive, leaving me with no way to access my OS X applications. However, my VM would still be sensitive if not, and I can always close. Usually, I stopped my WIndows VM, then merge and raise the Fusion and my WIndows VM. Since the command bar is usually in hide mode automatic when he becomes insensitive, he appears before the eyes and blocking application windows that I work with, so I know generally as soon as it happens.

    I think that I always had this kind of problem, but it doesn't happen often and I chalk up to the cost of working with a virtual machine, but now its happening too often I want to check if I did something wrong in the software upgrade. So, here are a few questions:

    1. my understanding is that VM Tools give me the ability to run in Unity Mode. The only documentation I've read on VM Tools for Fusion says that it need Windows XP SP2. I guess this note means that VM Tools for Fusion does not support Windows XP SP1. No problem, but are there any problem using the tools in the virtual machine with Windows XP SP3?

    2 when I upgraded to Fusion 2.0.1 recently, in the hope that it can clear up this particular problem, I downloaded the upgrade of the VMware download page. My question is: I have to reinstall explicitly VM Tools when I merge 2.0 to Fusion 2.0.1?

    Merger of command bar (top of screen)

    The UI element that is at the top of the OS X Desktop is called a menu bar and you be a programmer, I'm surprised that you don't know something as fundamental as that.

  • A different cause to SecurityError: Error #2152: mode full screen is not allowed.

    Hello world.

    I'm having a weird problem. I have a browser app that have a mode full-screen. It works very well with a button inside the flash (and against all expectation and forum discussions, it works in a function with no 'evt:MouseEvent').

    Anyway. If I call the same function from a javascript function, it shows a trace that I put the function, but it will not in FS mode...

    linke just that:

    private var _hold:Timer = new Timer (700: 1);

    _hold.addEventListener (TimerEvent.TIMER_COMPLETE, onHoldFinish);

    ExternalInterface.addCallback("IsStatic",IsStatic) ("getRaFullScreen", goFullScreen);     When it is called from here, will simply not...

    ...

    ElseIf (_target.hitTestObject (_btnFullScreen)) / / it can be a clicked button or slider placed by AR with the webcam
    {
    _btnFullScreen.onOver ();
    _objInteraction = _btnFullScreen;
    onStartTimer();
    }

    ...

    private function onStartTimer (): void
    {
    If (! _hold.running)
    {
    _hold. Reset();
    _hold. Start();
    }
    }


    private void onHoldFinish(e:TimerEvent_=_null):void / / it could be called directly, but not in the case of full screen
    {
    _objInteraction.OnClick ();      This is called a function within the class of button I made for use with the AR-webcam. Works like a normal button is clicked

    If (_hold.running)
    _hold. Stop();
    If (_fastHold.running)
    _fastHold.stop ();

    }


    private void onInteract(e:TrackerButtonEvent):void / / generated by an event in the line above with the huge comment
    {
    Switch (e.myNdx)
    {
    box 4: / / Index of the button FS
    goFullScreen();          Called to go here, will not be a mouse/keyboard event, but will work!
    break;

    }

    }


    public void goFullScreen(e:MouseEvent_=_null):void
    {
    txtTrace.appendText ("'-' + stage.displayState + '-'");                    both calls succeed

    Try
    {
    If (stage.displayState is StageDisplayState.NORMAL)
    {
    txtTrace.appendText ("'-' + 'Indo para FULL_SCREEN' + '-'");     both calls succeed
    stage.displayState = StageDisplayState.FULL_SCREEN;               the trace is made, but this line works just with the internal call.
    onEnterFS();                                                                                 A simple call to a javascript script to warn the site that the flash will FS_MODE
    }
    on the other
    {
    txtTrace.appendText ("'-' + 'Indo para NORMAL' + '-'");              both calls succeed
    stage.displayState = StageDisplayState.NORMAL;
    }
    }
    catch (error)
    {
    trace ("" erro no FS ' ");
    }
    }

    To put an end to all of this, the client (which also controls the HTML / CSS / Javascript), wants the FS that by the javascript code (he has changed his mind at the top of the button within the flash). But now that the call comes from outside the flash, it does not work.

    Any tips?  Pleeeeaaase

    again, the flash player has to detect the entry of user for a swf on the web enter the fs.

  • Customize the black guest "* is full screen" when using the API of full-screen mode full screen shutter?

    The prompt on the top of the screen is so big and not very attractive. Y at - it any way/API to change his style?

    Another problem is that if the mode full screen is enabled on a machine with two monitors, you can toggle focus on programs in another monitor. But whenever you focus on the browser full screen, black prompt is displayed again, which is annoying.

    Hi fordbzd,

    This could be a big question for https://www.stackoverflow.com or https://www.mdn.com

    These are third party, but they are nice places to start:

    It depends on the api used as well to track down the call for the notification of full screen or a video player:

  • Flash hangs using Firefox mode full screen

    When you try to view full screen videos, I get a message that Adobe broke down. I uninstalled and reinstalled Adobe and using current versions of Firefox. This problem doesn't seem to appear with IE.

    The problem in my case seems self imposed. I had already changed my settings to Visual effects for best performance. After changing the parameters of effects Visual back for 'let Windows choose... ", all my problems with the adobe software crashing mode full screen have been resolved. Thank you for your comments jscher2000.

  • Ask stuck in Mode full screen

    Hello, my request of makerbot is stuck in mode full screen on el capitan. Im not sure if I have the application correctly all in full screen. The app was windowed with yellow red and green buttons at the top left as a normal window. Every since I went full screen I can't get it back. I tried to go through the application options to deselect full screen mode, but no options are available. I also tried to uninstall and reinstall using three different methods, the uninstall application provided with the software, manually and through "Appcleaner. Whenever the redownloads application and opens full screen again. This seems very strange because demand seems to be recognized as a window in OSx but also makes the dock and disappear from the top menu bar. El Capitan also doesn't let me choose this application to the separation of the screen. I have attached the Images. Is there a way I can uninstall it COMPLETELY? Or another way to prevent this?

    What happens if you are on your application and instead of the Green buuton using ESC top left?

    If it does not have you looked at the MakerBot options > Preferences

  • Satellite P750 - not available in mode full-screen cursor

    Yes, that's the problem and I can't fix it somehow at all.

    I'm on Win 7 Home Premium of course... and when I go to the mode full screen (F11, for examle or apps like Win Media Center), I can't just bring my curson appear in anything...

    I tried everything, but absolutely cannot navigate without a curson WinMedia Center.

    H E L P

    Hello

    In the mouse control panel, under "Pointer Options" to go to the option "Display Pointer Trails.
    This option should be disabled.

    AFAIK that should help to show the mouse pointer in Windows Media Center mode full-screen.

Maybe you are looking for

  • My macbook air keeps overheating also theres crumbs under key could someone clean it up?

    Hey, I have a few questions? My macbook air keeps overheating and the fan keeps making a sound of overheating, and it will not stop (I downloaded an application that controls the fan and also cool that it can get custody and it helps as long as he ca

  • HDX18: Cannot access the BIOS with F10

    Try to access my BIOS to set the boot on USB device sequence. Can't! Power and press F10 repeatedly does not bring me in the config of the BIOS beeps fair to me when my keyboard buffer is full and then continues in charge of the operating system. Nev

  • Open a project with a new configuration of the created layout.

    I don't want to mix a work of someone else, 4 songs, the musician makes a big mess in the titles, opened many plug in unused reverberations, etc., the project of 22 titles I spent 2 hours to organize a new layout, I want to open the rest of the songs

  • How to access the channel values?

    I'm new to scripting language DIAdem.  I TDMS has a group and several channels with String type all.   How to read the first 4 characters of each string values and store into the new channel?  Example of data file attached. I tried for the statement

  • Dell datasafe local backup

    Does it cost money? I thought that I had six months free, but don't the had not yet used. When I try and run the activation code fails and certificate dates are exceeded (without having to fill in the money section) try to use "online" not "phone". W