6 Android: Stage3D AIR application cannot return background

Description of the problem:

AIR for android app with < application android: hardwareAccelerated = "true" > will get stuck and not respond if brought to the foreground from the background in Android 6.0 (Marshmallow).

We did a few test with Nexus (6.0 Android) device and were able to reproduce the issue with the sample of Starling project.

App could not continue when tried to switch between apps twice, while our application is not the first time.

Reproduction:

Application was packed with latest AIR SDK (19.0.0.213), Nexus 5 / 7 (both 6 Android)

App should continue to run, but in reality stucks (black screen) and the operating system invites you to put end unreponsive app on the second attempt to bring it to the foreground.

Disabling hardware acceleration seems to bypass the question, at the cost of performance. (< application android: hardwareAccelerated = "false" >)

We would like to hear other developers who tested their app (especially the Stage3D apps) in Android 6 Marshmallow.

Currently we have no other choice than to tell clients to refrain from upgrading their version of the OS.

Hey Rony,

6 Android crash problem when targetSDK is set to 23 has been fixed in 20 AIR beta.

We are still working on the problem of crash after application returns background.

Thank you

Krati

Tags: Adobe AIR

Similar Questions

  • The video game Android via the AIR application is jerky

    Hi all

    We develop an AIR mobile applications targeted for Android 2.2 or higher. One of the requirements is to play H.264 videos on the mobile of the current folder (local file system). We conducted a show of Cork while trying to implement this feature, here are the details-

    1. we use OSMF that comes with Flex Builder 4.6

    2. using Adobe AIR 3.1 and Flex SDK 4.6

    When the video quality MPEG4 H.264 1280 * 720 30 fps with input flow 2000 is played on the mobile device (android), however, the video frame rate is jerky on the desk, he plays very well... StageVideo is something I want to try however, right now I have no access to Android 3.0 which is required for StageVideo...

    What do we lack? 3 AIR is not able to play H.264 videos on android, although the native Android video player it plays very well?

    Concerning

    Basset

    Hello

    Video encoding is very important.

    For example, to use base profile level 3.1 to H264 for mobile

    (and not high profile level 4.1 recommended for desktop).

    For more information, see the MAX of Fabio Sonnati session:

    "Encoding for performance on multiple devices.

    And if you have an Android phone/tablet, there is my AIR application

    Watch the Adobe MAX 2011 videos:

    https://market.Android.com/details?ID=air.fr.INWAY.maxVideos2011

    Search for "Sonnati" video for this session.

    (For the record, I use a video player based on OSMF 1.6)

    The pdf presentation is available on the blog of Sonmati:

    http://Sonnati.WordPress.com/

    Philippe

  • cannot package animation swf inside the AIR application with API-ad-hoc of the target

    I have included a small animation today in my AIR application using a clip from movie to swf as below

    private var myLoader:Loader = new Loader();  animation connection

    private var url: URLRequest = new URLRequest("..) /.. /.. (' / data / ConnectingAnim.swf ');

    ... code to add the loader and position

    It works fine when I deploy on my device via USB, but when I try to package for ad-hoc distribution, the ipa resulting isn't fair. The screen with the animation is broken.

    I'm guessing that the packaging for the app store is probably broken too.

    Am I missing something?

    Thank you!

    Post edited by: mu.a

    You must use a loader context, unless you use the interpreter mode. Read this article:

    http://help.Adobe.com/en_US/ActionScript/3.0_ProgrammingAS3/WS5b3ccc516d4fbf351e63e3d118a9 b90204 - 7de0.html

    You want the context.applicationDomain = ApplicationDomain.currentDomain;  variation.

  • Csrss.exe application cannot be run in win32 mode

    Hi support them.

    I'm having a problem with the CRSS.exe file, when I connect to windows I get a popup window that flashes green and checks that seems to be the CSRSS.exe file.

    When tried to open the file the C:\Windows\System32\csrss.exe path, what follows is the msg 'C:\Windows\System32\csrss.exe application cannot be run on win dows 32 mode.

    Please try to remove the unwanted popup when I logon system.
    Your help is very appreciated.

    Concerning
    Arvind

    Hello

    1. don't you make changes to the computer before that happened?

    Csrss.exe is an essential component of the Microsoft windows operating system. It stands for Microsoft Client/Server Runtime Server Subsystem. This process is responsible for dealing with the majority of the windows interface.

    I suggest you to try the steps below and check if it helps.

    Method 1:

     Try to put your computer in a clean boot state, and check to see if the same problem happens.

    By setting your boot system minimum state helps determine if third-party applications or startup items are causing the problem.

    How to troubleshoot a problem by performing a clean boot in Windows Vista or Windows 7:
    http://support.Microsoft.com/kb/929135

    Note: After the boot minimum troubleshooting step, follow step 7 in the link provided to return the computer to a Normal startup mode.

    Method 2:
    The problem can also be caused by your security such as anti-virus program or a firewall of Windows /Defender that can have conflicting parameters as to not not to perform certain tasks. I suggest you temporary disable antivirus and firewall and check the result again.

    Disable the antivirus software:
    http://Windows.Microsoft.com/en-us/Windows-Vista/disable-antivirus-software

    Important note: Be sure to enable the security software and firewall on the computer after checking.

    Hope this information is useful.

  • Help! Run any AIR Applications without Adobe AIR.

    Hello, I wanted to ask that is it possible to run AIR applications without having Adobe AIR on your computer. It is really annoying when you have to give your application to use someone, and then the person needs Adobe Air to run it. Any suggestions?

    Where to start...

    AIR is a bit like Java, in the sense that it requires a runtime must be installed. This engine has all the "stuff" that allows the application to run. Similarly, applications like 3DMax or Word require the operating system to be present for them to run. These programs are written using the API calls that are in the target operating system. Similarly, AIR and Java apps are written using the API calls that are present in their execution. To bring a full turn, the AIR is an application written in C, that uses the API for the target operating system. Thus, when you perform certain functions within the AIR, he knows how to execute the necessary functions of the operating system (if necessary). AIR also provides a large number of higher level and management features that make your life as a programmer much easier.

    Look at iOS or Android, we have the occurrence of the thing. Some developers write applications using Objective-C (iOS) or Java (Android) which are using the APIs specific to these operating systems. It's the same as writing your application in C like 3DMax.

  • Visit a website in Adobe Air Application behind the scenes...

    Hi all

    I need to find a way in Actionscript 3 for an Adobe Air application to visit a url of a website (e.g. example.com) in the background without Adobe Air by opening a web browser.

    Once the website is loaded in the background, I would get all the URL link that can see the Adobe Air application. For example, maybe when you visit "example.com" it redirects to "google.com", so I want my application to send me any URL it sees after it loads the page.

    Is this possible, and is there an example of code anywhere?

    Thank you guys!

    I think that you can get the information you want using URLLoader with a listener for HTTP_RESPONSE_STATUS and check the responseHeaders and responseURL properties:

    HTTPStatusEvent - Adobe ActionScript® 3 (AS3) QAnywhere

    -Aaron

    http://abeall.com

  • Is there no way to run an AIR application audio to audio output devices different from?

    I need to do a couple of our AIR applications select some audio devices to send their audio output, and last year, someone mentioned possibly using native extensions to do this.  I had to start working on other things for a while, but I'll be back to that (for the moment), and I basically learned how to create native extensions.

    But so far, they do not seem to provide me with any privileged access to what's happening under the hood of an AIR application.  When you stream live in via RTMP or RTMFP, details of the audio you are hidden.  It doesn't seem to be any place where you can actually access the audio bytes are sent on the network.  You can specify a certain object SoundTransform for the NetStream to use, but this class is final and one vanilla Flash build, so even though she may have a way to access the audio bytes, they are not accessible to all.

    It really seems that, when a NetStream starts streaming live audio, there is no way under the Sun for access to the bytes of audio and direct them to a certain audio output device, with or without extensions.  Is it so?  It would be unfortunate that Adobe does not allow it, even through the native extensions.  Thank you.

    Couple quick thoughts...

    The limits are important. There is a lot of work to maintain a clear separation between a decision to users and developers. For example, you cannot change an audio by default to users out because that clearly violates a decision to users. That said, this is a mess of people debating the issue and in fact finally a COM API without papers you can find allows you to actually do in Vista/Win7 (but not 8), but do not expect that it is a "right thing to do":

    lie lly-setting-the-default-playback-device-and-recording-device?forum=windowspro-audiodevelop http://social.Microsoft.com/forums/en-US/9ebd7ad6-A460-4A28-9de9-2af63fd4a13e/programatica

    You can get a drink before reading this.

    Incidentally, RTMP is secure, which explains why you can't access the bytes. The entire purpose of this is to ensure that their media cannot easily be copied or stolen media developers. Adobe don't document their method of securing the flow, but they do not publish the RTMP protocol specification. It is quite possible for you to create your own server method and encryption protocol RTMP while providing an RTMP stream to the custom client that you yourself the code which peut read flow. Here are the specs:

    http://www.Adobe.com/devnet/RTMP.html

    So I would say that it would be unfortunate if Adobe did give, you access the bytes. You might as well hand users an mp3 of a song because they steal left and right media.

    That does mean that you can not use a multitude of ways to get data via the default output device. Many applications (fraps/etc) captures audio streams video and mixed. But Adobe won't give you the keys of the Kingdom and allow you to decrypt protected multimedia Protocol.

  • "The call to the method"setTextFormat"can be defined" in Air application (need help)

    Hello

    I followed a tutorial for getting started with ActionScript 3 and Adobe Flash. I'm ready to create an Air application, but I ran into a problem. The tutorial is for Flash Player, so I wonder if it also works for Air applications (sorry, I don't get quite the differences yet).

    So, here's a screenshot of the problem:

    flash_erreur.png

    The error reads: 'setTextFormat' method cannot be set via the fl.controls:TextArea static type reference

    (Sorry if it's badly translated :/)

    What I have below is a TextArea (taken from the User Interface components) and a button (same). I noticed their name of the instance that you can find in the block of the ACE.

    So since it's the same code as in the tutorial (where he works), why make this mistake? I tried many things to get rid of it, but I'm out of options now, so I ask you for help.

    Kind regards.

    Chances are the tutorial you're folowing uses a TExtField, not a text box.  The TextArea component is not supported by the setTextFormat method.  You will need to use the setStyle method to set the characteristics of the text.  Alternatively, you can use a TExtField and then the setTextFormat method could be applied

  • How to identify if the AIR application builds in IOS

    How to identify if the AIR application background application ios air.

    Have we not all events to notify when done app background?

    These are the headphones to tell when the app disables and active:

    stage.addEventListener (Event.ACTIVATE, fl_Activate);

    stage.addEventListener (Event.DEACTIVATE, fl_Deactivate);

  • Individualization of AIR applications

    I am building a reading application in offline mode for a group of users with internet access very limited. If I create Android and iOS applications using Adobe AIR, is the need to connect to the Adobe servers individualization in the same way as the Flash Player? We have no specific need to identify different devices, as everybody present physically is allowed to upload.

    Individualisation, if necessary, how much data traffic is involved in every sense?

    Hi Adrien,.

    There are very little traffic for individualisation - about the same single, average request POST.  "Single" is only played once unless the device/machine is cleaned up / reset...

    Stephen

  • CLOSE AN AIR APPLICATION

    I am writing an air application.  If a user clicks the close button upwards in the title bar, I want to be able to create a pop up asking if they would like to save their project before returning.  The problem is that the program stops just without display the popup window.  I'm listening for a 'close' event and then calling a Manager to deliver the pop-up.  Using tracing instructions, I can confirm that this is what makes my manager, but the application closes even if I do not issue a statement close() or exit().  Here are the XML and actionscript code I (States and import instructions are not included for brevity):

    <s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009" 
                                                         xmlns:s="library://ns.adobe.com/flex/spark" 
                                                         xmlns:mx="library://ns.adobe.com/flex/mx" width="1050" height="765"
                                                         applicationComplete="init()"  close="closeApplication(event)">
    
         <fx:Script>
              <![CDATA[               
    
                        protected function closeApplication(event:Event):void
                   {
                             if (this.currentState == "main" || this.currentState == "first" || this.currentState == "second"){
                                       trace("true");
                                       var savePopUp:SaveComponent = PopUpManager.createPopUp(videoGroup, SaveComponent, true) as SaveComponent;
                                       savePopUp.title = "Save";
                                       PopUpManager.centerPopUp(savePopUp);
                              }
                             else {
                                            trace("false");
                                        this.exit();
                             }
                   }
              ]]>
         </fx:Script>
    
    </s:WindowedApplication>
    
    

    If the application is in some States, I want the user to receive a popup used to back a project before the program ends, but the program does not wait for give me the order exit() or close().  Is it possible to substitute for inercept, or something?  Or listen to a different event?

    I found this one on my own.  At the top of the closeApplication Manager, simply add this line:

    Event.preventDefault ();

    This causes Flex to not close the program that is the default setting by clicking on the close"" button.  In addition, you must use NativeApplication.nativeApplication.exit () to close all windows of the application instead of this.exit () like I did.

  • air application connects to the web service although swf don't

    Hey there,

    I will try and be brief. We built a kiosk application in flash builder a pure as3 project. When we went to convert it into an air application all seems fine except for two issues. one is that we cannot use the Security.allowDomain("*"); Tagus. not much we comment on this possibility, but when we do we cannot connect to the web service that we use. Here is the error msg that we get:

    URL http://api.macys.com/v2/catalog/product?prodid=559529 & prodid = 586262 & prodid = 442702 & prodid = 5 39030 & prodid = 444331 & prodid = 593389 & prodid = 102435 & prodid = 519743 & prodid = 357571 & prodid = 128285 & prodid = 407708 & prodid = 209799 & prodid = 417917 & prodid = 498705 & prodid = 131858 & prodid = 597478 & prodid = 142166 & prodid = 470687 & prodid = 584020 & prodid = 167015 & prodid = 75190 & prodid = 432111 & prodid = 481224 & prodid = 549755 & prodid = 483429 & prodid = 414178 & prodid = 596422 & prodid = 385591 & prodid = 226280 & d = 142163 prodi

    ioErrorHandler: errorProductId: WebApplicationException

    ioErrorHandler: currentTarget: Error #2032: error in workflow. URL: http://api.macys.com/v2/catalog/product?prodid=559529 & prodid = 586262 & prodid = 442702 & prodid = 5 39030 & prodid = 444331 & prodid = 593389 & prodid = 102435 & prodid = 519743 & prodid = 357571 & prodid = 128285 & prodid = 407708 & prodid = 209799 & prodid = 417917 & prodid = 498705 & prodid = 131858 & prodid = 597478 & prodid = 142166 & prodid = 470687 & prodid = 584020 & prodid = 167015 & prodid = 75190 & prodid = 432111 & prodid = 481224 & prodid = 549755 & prodid =. 483429 & prodid = 414178 & prodid = 596422 & prodid = 385591 & prodid = 226280 & d = 142163 prodi

    Here is the error of charles:

    < error >

    < > 103 errorCode < / errorCode >

    types of arguments < message > Incorrect or combination < / message >

    < errorDetail > WebApplicationException() < / errorDetail >

    false < success > < / success >

    < / error >

    now, if we run just the swf file it connects very well. the only reason I need this app to be in a wrapper of the air is so that I can remove the print dialog box. otherwise, I'd create just an exe file.

    any ideas would be great!

    Thank you

    OK, found the problem!

    When we built the as3 project and we implement web service calls, we used post from get we caused problems. We have been connecting to a service of qa so that may have something to do with it. In all cases, we have changed the headers in the air application to get and it seems to work fine. Why would he works in the SWF and not the air who knows, but there are go!

    Thank you

    Jorge

  • AIRHelp of AIR application or integrate with AIR App launch?

    We are developing an AIR application and use Robohelp.  He previously used to generate FlashHelp, but find that browser integrated AIR applications support does not support this output.

    The AIRHelp seems to be the way to go, but you cannot launch external applications from AIR applications.  At least that's what I understand.  I wonder if another application AIR, or more precisely an AIRHelp application could be called somehow.  If so, how?

    If not, is it possible to get 'something' that generates Robohelp and fusion which, thanks to our application AIR to create an application with integrated help?

    Thank you.

    -Michael

    Hello

    As specified by other people here in the forum, it is certainly possible to call assistance from CSH AIR from any AIR application. Please see the forum post http://forums.adobe.com/message/2272289#2272289

    You must know your AIR application ID and the ID of the Publisher.

    Application ID is the one that was specified in the dialog AIR SSL in RoboHelp 8 AIR SSL dialog (ID help).

    The Publisher for an installed application ID can be found in the META-INF/AIR/publisherid file in the installation of the application directory. This the Publisher ID is generated using the digital certificate provided when generating assistance from AIR in the AIR SSL dialog box.

    Once the ID and the Publisher ID are known for the developer, it can call using the AIR using the following Flex code

    private void invocarAirHelp(tema:String):void {}
    var appID:String = "abc";
    var pubID:String = "ashfksdhfkjsdfk.1";
    var mgr:ProductManager = new Manager ("airappinstaller");
    Mgr.Launch ("-launch" + appID + "" + pubID + "-mapnumber csh - 1");

    }

    Hope that this explanation will help you.

    Thank you

    Praful jegou

  • Used my copy of OSX MAvericks in the past, but now I get an error message that the application cannot be verified and go to the App Store. I did, but there is nothing to install OSX Mavericks download?

    Used my copy of OSX MAvericks in the past, but now I get an error message that the application cannot be verified and go to the App Store. I did, but there is nothing to install OSX Mavericks download?

    Log in to the App Store and look under the purchases tab.

  • Let me know if there is an option to differentiate is with the color of the tab or return background color tab. I use to open differrent pages on the same site in different tab or window, in order to identify each i

    Let me know if there is an option to differentiate is with the color of the tab or return background color tab. I use to open differrent pages on the same site in different tab or window, in order to identify each...

    Try:

Maybe you are looking for