Android apk game close the question.

Hi, I made a game android flash and another option is if the user clicks on a home botton on tab/Ipad then game should be pause, here is question is, customer requires a button to close this game

now, if user minimize the application it's sound continues to play and everything works as it is. How can I capture this user the user minimize the application.

Thanks for the reply kglad,

I already read this before posting this question, this isn't mentioned on any official page of adobe, but I did it,

I close the application by pressing the previous button and the original key,

NativeApplication.nativeApplication.addEventListener (Event.DEACTIVATE, gameclose)< on="" pressing="">

NativeApplication.nativeApplication.addEventListener (KeyboardEvent.KEY_DOWN, handleKeys)

private void gameclose(event:Event):void {}

NativeApplication.nativeApplication.exit ();

}

private void handleKeys(event:KeyboardEvent):void {}

if(Event.keycode == Keyboard.Back)

NativeApplication.nativeApplication.exit ();

}

Tags: Adobe Animate

Similar Questions

  • Android apk permissions to the folder bar.

    Hello

    We have developed a Mobile application in Apache Flex 4.7 for Android, and we wanted the same application that will be deployed in Blackberry as well. For this, we used Blackberry APK Packer to convert the .apk file to bar. We got the success in the conversion of the apk for bar.

    But the problem is, we need access to the images in the device through our application, that's why we've given permissions in Android (android.permission.READ_EXTERNAL_STORAGE) and it works fine, when it comes to blackberry, these permissions do not work (not able to select the images). We believe that we have converted the apk file to the stand in this process, that permissions are not carried to blackberry correctly.

    Could he please a sugget, how we can get these permissions work in blackberry.

    Had, I just give the two (android.permission.WRITE_EXTERNAL_STORAGE) and permissions (android.permission.READ_EXTERNAL_STORAGE).

    In android just READ permissions are enough, but for BB, you need both.

  • Pavilion X 360 13.3: Pavilion x 360 close the question since to win 10 update

    Hi, little help needed please, update my laptop for windows 10 it just doesn't turn off, I have tried all the power options usual etc, but if I'm on it more than half an hour and goes off, the screen turns off but nothing else, button / always lights and whirring disks, I always close button of power in a few seconds.

    I've searched the forums and saw downloads for pilot of EMEI, but do not know if it is the same driver for all laptops, or if this will actually solve the problem and causes other problems.

    Any help would be appreciated as I am not good with HP, thanks

    tracy44

    Hello;

    Let me welcome you on the HP forums!

    I read your post about the shutdown problems since upgrade from Win10 and wanted to help.

    Here are a few troubleshooting steps you can try:

    Sleep and Hibernate problems (Windows 10: 8). HP® customer support

    How to solve the problems of Post-Win10 upgrade on HP laptops--HP - 5209825 Support Forum

    Good luck
    ========================================================================
    I'm a volunteer and I do not work for, or represent, HP.
    ---------------------------------------------------------------
    If my post helped you, please click on the thumbs-up symbol to say thank you.
    If my posts resolved your issue please click "accept as a Solution.
    ========================================================================

  • Android Tablet: cannot close the session (stay signed in)

    Hello world

    I use Skype on a Samsung Galaxy Tab 10.1.

    My problem: when I sign the application continues to run. As my Tablet stays at home, I stay logged in people think, I'm online, even though I'm actually at work, away from my tablet and they do not know.

    The only solution I found is to ask Skype to forget the DDT, but then, I have to re-enter it every time I have again... that is to say every day. Which is a pain. Kill the application from Android settings has no effect, garbage either.

    Any suggestion? I do all this trouble?

    Thanks for your help

    SORRY - installed new version, no more problem. SOOOORRRRRRYYYY

  • Not able to play card games. At the opening of the game as the question comes back: application not found

    Windows Vista. It was working fine, but something happened and I'm not able to play card games.

    Hello

    Assuming that it is that the integrity of the games that you play on the start menu, i.e., solitaire. etc. etc., you can follow the link below to fix this problem:
    http://support.Microsoft.com/kb/972035/

    If it's another game then let me know.

    All the best!

  • is there a way to make the game with the input field and interact with the answer (createjs)?

    Hello

    createjs is great, but I think it's a bit limited by a full game as to put your name and lunch the game or the question precise response, then you can trigger an animation

    I searched the web for this behavior in easeljs but no luck

    the question is is it possible if yes can you provide an example

    Thank you

    It's my favorite workflow and I guess that's idiosyncratic.

    I prefer the javascript/jquery code in sublime text and not the flash because of the set color id shaped sublime text and because I like or need to have both the js a html files open at the same time to edit both.

    I'm usually all code of easeljs and graphics in the flash ide and when it's over, I work directly with html and js files in a sublime text to manage things that you can't do in flash.

    I don't see a big advantage for that in this situation so I understand the quibbles, but in some situations (for example, right left text), it is much easier (for me at least) to edit, debug and test outside the flash id.

  • The question DPS android apk file

    The android apk file, that I generated in Adobe DPS stares into space when I test it on a samsung galaxy.

    I have setup my folio in DPS, created the p12 certificate. created the apk via the constructor of the app.

    When I test the file, it is empty. Can't understand why. I installed the Adobe on the Galaxy note content viewer. Everything seems to work very well.

    The folio is 225 mg of size. in comparison, my apk is only 17 mg. missing something, are not attached.

    I followed the instructions of Adobes in the creation of the android app. The app is horizontal only, please tell me that I don't need a portrait as well.

    I'm a designer, not a programmer, so I can't understand what is the fix. It seems to be connected with the creation of the apk.

    Help in St. Catharines

    Hi Rob,

    You haven't published any of your folios? If you have not done this, try to publish a folio (on Folio producer) as 'Public' and check again.

    Let me know if it helps.

    Kind regards.

  • Cannot close the game after crash

    Skyrim crashes on me and usually on Windows 7, you can bring the task to the top manager and force close. However, the game covers the screen, without giving in to display the Task Manager. It opens, but it is behind everything. You can still access the Metro interface, but it is not necessary for this situation.

    Even raise the command run and trying to force close does not work.

    Hi SonicHyuga,

    Also, if you go to the prior Task Manager when running it but above all questions then click on Options, always on top.

    This should help in trying to use the Task Manager after a problem.

    I hope this helps!

  • I opened the game client for life despite the installation of the game has stopped working properly and the game closes that I said?

    I opened the game client for life despite the installation of the game stopped correctly and the game closes that I said?

    Hello

    What operating system do you use?

    I suggest you to follow the links and check out them.

    Method 1:

    Problems installing and uninstalling programs on Windows computers

    http://support.Microsoft.com/kb/2438651

    Method 2:

    How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7

    http://support.Microsoft.com/kb/929135

    Note: After a repair, be sure to set the computer to start as usual as mentioned in step 7 in the above article.

  • "you can be a victim of software counterfeiting" displayed on desktop, how do I close or I just wanted that he appears on the desktop can you give me direct answer to the question?

    You may be victim of software counterfeiting"displayed on desktop, how do I close or I just wanted that he appears on the desktop can you give me direct answer to the question?

    Hi k.Ramesh99905,

    ·         How Windows XP has been installed on the computer?

    ·         Has it preinstalled on the system when it was purchased?

    ·         Did you change to the computer?

    Method 1: Try to validate the copy of Windows and see if it helps.

    Genuine Microsoft software

    Method 2: Check if Windows XP is enabled. If this is not the case, try to activate to check the issue.

    How to activate Windows XP

    Respond with more information so we can help you best.

  • Is Android - possible to install the APK on 10.3 simulater

    Hello

    Is Android - possible to install the APK on simulater 10.3.

    I am unable to open the file for the apk files.

    Thank you

    Basically, if you use in your Android C or C++ application, you have a native extension.  More information can be found here: support Android Native

  • Game "Faery-Legends of Avalon"-"a problem caused the program to stop working correctly, Windows will close the program and notify you if a solution is available.

    I downloaded a game from microsoft called 'Faery-Legends of Avalon', I am currently running Windows 7 Professional. I can't play the game. The game turns on but when it gets to the part where you enter a character name, I get the answer that ' a problem due the program to stop working correctly, Windows go close the program and notify you if a solution is available. . Is this not compatible with windows 7 pro game. I just installed pro about a month ago and this is the first game that I downloaded from the installation.

    Moved from feedback

    Hello

    1. is this problem confined to this game here?

    2. have you checked if the computer meets the system requirements for the game?

    System minimum requirement for the game:

    * Operating system: Windows XP / Windows Vista / Windows 7

    * Processor: Intel Core 2 Duo E6600 2.4 GHz / AMD Athlon 64 X 2 Dual Core 5800 +.

    * Ram memory: 2 GB

    * Of hard disk space: 4.5 GB

    * Video: nVidia GeForce GT 140 / ATI Radeon HD 3870

    * Sound Card: DirectX Compatible

    * DirectX: 9

    * Keyboard / mouse

    If your computer meets the system requirements, then I suggest you to try the following methods and check if it helps.

    Method 1:

    Put the computer in a clean boot state, and then try to play the game and see if the problem still occurs.

    How to troubleshoot a problem by performing a boot in Windows Vista or Windows 7:

    http://support.Microsoft.com/kb/929135

    Note: once you have completed troubleshooting, try the procedure described in step 7 to reset the computer to start as usual.

    Method 2:

    Run the scan tool (SFC) System File Checker and check if it helps.

    How to use the tool File Checker system to troubleshoot missing or corrupted on Windows 7 system files: http://support.microsoft.com/kb/929833

    Check the event viewer for the event logs for the exact error message and the cause of the problem. The event viewer will give you all the information about the cause of the problem.

    What are the information contained in the logs of the event (Event Viewer)?

    http://Windows.Microsoft.com/en-us/Windows7/what-information-appears-in-event-logs-Event-Viewer

    Hope the information is useful.

  • Question CP9: HTML5: Apple: Android: how to avoid the click on the Play button / tap?

    Hello

    Captivate 9.0.0.223: HTML5 draft.

    I'm sorry to ask this question, it's a little old chestnut on HTML5 in Apple iOS and Android.

    I have searched on the internet and forums for a solution underway, but could not find something that works.

    The problem is how to avoid the PLAY button, which forces the user to click / tap on it, when the project is accessible on an Apple or Android system.

    Play_icon.png

    The project will be published on the internet for use on any Windows, Apple or Android device.

    I have no control over the Web server or devices that will use the people, so that any changes to the software server or browser is out of the question.

    I have tried both a plain HTML5 and a responsive project, but neither avoid the Play button. I put an example of 1 slide on these links.

    http://www.hoffits.com/test_responsive/index.html

    http://www.hoffits.com/test_html5/index.html

    The bottom line is: ' is it possible to remove the need for the user to click / press the Play button?

    Thank you.

    Peter

    Cardiff

    In Wales

    UK

    In your normal HTML5, there is a line (I think it's 46) with this code:

    CP. DoCPInit();

    Add cp.movie.play (); Located below.

    so:

    CP. DoCPInit();

    CP. Movie.Play ();

  • How to close the AIR on android

    I find a problem with my application. I use navigator.pop () to switch the view.

    When the user presses back button on the view of root,

    the application closes directly. Just go to the backend ~

    How can close the application?

    You can use:

    NativeApplication.nativeApplication.exit ();

    but it will be wiser to listen to keyboard events to do.

    Check - http://blogs.adobe.com/flashplatform/2010/10/tip-close-your-android-air-app-on-back-button .html

  • HP SLate 6 Voicetab: how to close the update of the Android system?

    Hello

    I don't want to install the updates to the Android system. Because the unit will issue.

    For this reason, I have sent in for service. Now, I don't want to install this update problem in the good work unit.

    How can I disable the Android updates. How to remove the notification area.

    Thank you

    HP Slate6 voicetab

    4.4.2 Android

    Update name: System essential updatetes for google android 1.01.07

    Hi there @ESAGLAM

    Welcome to the Forums of HP Support! I understand that you don't want to install an Android update and want to disable the notification. I'm happy to help you with this.

    First of all, you are not obliged to carry out an update of the system. It's up to you to install an update or not.

    One suggestion that has been put forward is to maintain the Notification in your notification window. Then select App Info. From there, you can disable the application. It is often only a temporary solution, because it is a core service of Google app can reactivate itself.

    Google did not include the option to disable the notifications of system update. Often, the only way to do so is by rooting the device or third-party apps. It's something that I can't recommend for several reasons. I refer you to this post in the forum by @SiobhanF with a very useful contribution by @WyreNut rooting.

    Other useful pages, I found related to notifications and automatic updates:

    How to disable the Notifications of App in Android - howtogeek.com

    How to disable the application updates automatic in Android - howtogeek.com

    I hope that this help and if it can help with your problem, please mark this message as a solution.

Maybe you are looking for

  • Make a beautiful title.  .  .  save its attributes for later use?

    I'm sure I asked this before, but I forgot the answer and can not find yet! I created a nice title with custom etc fonts, I would use again. (Using different terms of course). Can I create in FCP X directly (like saving a custom effect) or what I hav

  • Why can I upgrade Shockwave Flash &amp; Java to the latest version?

    I use FIREFOX 27. I tried the update and I have uninstalled/installed each twice with no success. Retail FIREFOX says I have each installed the most recent, but verification of the plug-in said repeatedly that they are vulnerable and need to update.

  • Signature of the Apps

    I'm trying to sign an application by following these instructions: https://bdsc.webapps.BlackBerry.com/HTML5/documentation/ww_publishing/signing_setup_smartphone_apps _... https://bdsc.webapps.BlackBerry.com/HTML5/documentation/ww_publishing/signing_

  • Text field

    Hi allIs it possible to insert a text field in my site, like the contact form, but only with a single object?Thank youReem

  • I'm not able to open Photoshop.  Get error 400?

    I need help.  I have error 400 and am not able to open Photoshop.