Air sdk 3.3: Android background audio no more?

I got some Android apps that plays rtmp streams, and they were working fine on background using Air 2.6-2.7 for about a year until now.
So today, I made upgrades using Air 3.3, and the backrgound playback is not working anymore, as soon as the screen shuts off, the audio shuts down in about 1 second.
I am using Windows Flash CS6. Anything changed in that department? I tried googling it, but nothing useful came up.

ok, I see. This MUST BE A JOKE! The official response from Adobe is:
Notes (2)
Jing Chen6:45:56 PM PDT Jul 23, 2012Hello,
After discussion with the developers, we decided that this should be a expected behavior. We want to have consistent behavior across all ICS and pre-ICS devices. The content playback will pause if the app is in background so other application can use the hardware.
If it impact your business and work, feel free to give it a vote, and comment on how it effects.
Thank you,
Jing
Jing Chen2:49:47 AM PDT Jul 23, 2012Hello,
Thank you very much for reporting, this issue is tracking internally, and I'll add notes here as soon as I get any updates.
Thanks,
Jing

Similar Messages

  • IOS vs Android background audio differences.

    I'm using Flash Pro CS6 / Air 3.2 to port to iSO and Android.
    On iOS, when the app exits via the Home button or is closed using the Lock button, the audio is essentially "paused" for me without any code and starts up again when the app regains focus.
    On Android, when the app exits in any way, the background audio continues to play.  I realize I can listen to ACTIVATE/DEACTIVE events and plan accordingly, but I would preffer to have Android pause the audio/app by default, and resume in a similar manner as iOS.
    Is this possible?  Am I missing something in the SDK for app/device states?

    I think and from what i know iOS does multiasking in a different way than Android OS. But that's the last time i know.
    By double-tapping the Home button or by 4-finger swyping from the buttom one can see recently opened (and running) apps then delete them one by one but like someone has said if one would like to view running apps its all a single view thing.
    With Android OS they are going on the direction of 3 buttons on the bottom. The one button on the right will open all the recent (and running) apps and you can just swype them either to the left or right to delete/stop them.
    IS there anything new or improved on iOS6 on the multitasking (and deleting apps) front as far what i have mentioned so far?

  • Any News from Adobe Air SDK, on why we still can't REMOVE "android.permission.INTERNET" from a release compile?

    Is there any new developments on the Adobe Air issue, of being able to COMPLETELY REMOVE the "android.permission.INTERNET" from the manifest file?  As of today, you can still completely remove the "android.permission.INTERNET" from the manifest, bundle your app with Captive Runtime, and Adobe Air SDK will still "tack" the permission onto the end of the manifest block. With users and privacy concerns these days, surely Adobe would recognize that developers building apps that DO NOT REQUIRE Network Access, should be able to remove that permission. Any help on this?

    I see Flash will now be able to export iPhone apps directly.  Although Flash itself will still not run on the iPhone.  It would be great if Director had that functionality a well.  Even better if apps could run on both the iPhone and Blackberry!
    Mike M

  • AIR 3.3 stop background audio when another audio app is launched?

    I currently have audio playing in the background in my AIR app for iOS. My problem is that when you have the audio playing in the background, and you launch any other audio app on your phone...the audio starts to overlap because my AIR app does not stop playing audio. So when you open Pandora, Music, IHeartRadio, Youtube, etc...the AIR audio still plays.
    Is this fixed in the AIR 3.3 release with the <executeInBackground> tag? Or is there another way for my AIR app to recognize that another audio app is launching? All the afformentioned apps play nice together like that.
    I would think this would be grounds for not being accepted in the iTunes store.
    I really need some answers because my app is set to go live soon and this will be a game changer if I cannot fix it. I will probably have to try and create it in objective C
    Thanks in advance for any help!
    -- I posted this in the wrong place last night and meant to post it here. --

    Thanks a lot for the reply!
    It is very unfortunate that there is not a solution to this. It seems that building an audio/music player app via AIR for iOS is not really feasable due to this limitation.
    I would think the use case would be larger for my case because typically, when you launch a game on your iPhone, the background audio application stops the music. Or maybe just have a listener that could detect if another app was launched at least, so you could stop your AIR audio by choice. That would be great.
    Do you see this as grounds for an audio app being rejected? If the background audio does not stop unless you physically go back into the app and pause it?
    Thanks.

  • Prompt users to download air sdk from a location other than Android Market

    Hi,
    I am developing a android app using adobe air sdk for a device that DOESN'T have Android Market.
    Is there a way for my app to prompt a user to download the air sdk from a location other than Android Market?
    Thanks,
    Kai

    Well your in luck,
    If the app is going to be pre-installed, then you can pre-install the AIR Runtime with the app.
    First download the AIR 2.5 SDK or go to where your AIR SDK is located on your machine.
    go to the following directory within the SDK folder....
    "\runtimes\air\android\device\"
    "Runtime.apk" will be the name of the file. install that on the device and your done.
    They dont need to be prompted because they will have it pre-installed.
    This will allow them to start the app, then if there are any updates to the Runtime.apk, you can prompt them within the app to download with instructions.

  • Air - poor performance on Android. is Starling a solution?

    Hi,
    I develop an endless running game for android with flash pro cs6 and AIR 3.2 for Android. Since the game is very simple, I cannot run at 60fps.
    The game has a static background(180x240px), a scrolling floor and 4(max 6) obstacles 32x32px at a time on stage.
    The stage objects are scaled up by an integer factor to full fill the screen resolution like that:
    bitmap.cacheAsBitmap = true;
    bitmap.cacheAsBitmapMatrix = new Matrix(multiplier, 0, 0, multiplier);
    bitmap.scaleX = multiplier;bitmap.scaleY = multiplier;
    The app is set to work in gpu mode. Any framerate under 60 looks unsmooth.
    Is there something else to do in order to gain few more fps? Can I get a better performance using Starling?
    Thank you
    PS. When is have no animations on screen, the fps hits 60.

    Firstly you need to update Adobe Air SDK. Your 3.2 is outdated. It's like dinos Curently version 13 is actual. Go to labs.adobe.com and download beta. Setup it and try to render using GPU render mode. Not CPU. There is switcher between CPU / GPU / Direct.
    Sure Starling may fix all issues. But looks like you don't have and background in GPU knowledges so Starling just will apply a lot of limitation to your idea. Begin from Air SDK + GPU render mode... And try to read translation of this article http://translate.google.com.ua/translate?hl=ru&sl=ru&tl=en&u=http://gamespoweredby.com/blo g/2013/12/recommendations-for-adobe-air-mobile-developers

  • Prevent android app audio playing when minimised

    My android app has some looping background audio. When I minimise the app by selecting the "home" button on my Nexus 7 - the app disappears but I can still hear the audio playing. I assume the app must be still active in the background. The same app on the iPad doesn't exhibit this behaviour so I guess something different in how Android deals with apps that are not in the foreground.
    Would appreciate advice on best way to prevent this audio playing. Ideally I don't want to completely shut down the app when minimised.
    All advice much appreciated
    My app was compiled with Flash CS6 and Air 3.5.

    I listen for Event.DEACTIVATE
    http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/events/Event.html #DEACTIVATE
    When the app is minimized and that event fires, I just stop or mute the audio the same way i normally would

  • IOS 7 background audio?

    I would like to get some guidance from the AIR team.
    I need to know if it is possible to play audio when my app is pushed to the background or when the screen is locked by pressing the power button. My app streams audio from Adobe Media Server 5 using HLS. It relies on StageVideo and Direct mode to support HLS streaming through the Netstream class.
    This issue seems to have been dealt with in the bugbase as well as here in the AIR forum. My impression is that the app should be able to play, but I have not been able to get it to play in the background. I would be happy to provide the source code and description file to the air team.
    I use Flash Builder 4.7, Apache Flex 4.12, and AIR SDK 13.
    Thank you in advance.  

    Hi,
    Can you please share the sample app with source code, swf, app-xml and assets with me at [email protected] with which bug is reproducible?
    -Nimisha

  • Getting some issues using adobe air 2.6 for android

    Hii, i am new to adobe air for android using flash cs5 development.  According to standard procedure  i have installed these softwares on my pc.
    1.Adobe flash cs5, 2.AIR sdk , 3.Adobe air for android and 4.android sdk also.
    is there any software or plugin is required  for making android application?
    so now to start develop an application i have opened flash cs5, in that we select a "new"  option, then we will select "AIR for Android" option, but instead of that option i'm getting option "Adobe AIR 2".
    Is there anybody to tell me how can i recover this problem? Or plz provide me any link that will help me to tell what is the actual procedure to develop  android application using CS5.?
    Any help will be useful.
    Thank you,
    Pravin Gate.

    Hi Pravin,
    Adobe had released extentions for flash CS5. Once the extention is installed, this is where you get the additional options in flash ide. The last extention for air on android was for air 2.5 and looks to have been recently removed from their site with the public launch of 2.6
    So using 2.6 there is no flash IDE support yet, but will be soon. The last extention i think was flashpro_extensionforair_p2_112210.zxp
    Personally, at this time i still have the 2.5 extention installed and launch directly from flash, this is what i am missing out on:
    2.6 new features
    At this time im not going to release anything compiled with the 2.5 extention, but my phone has 2.6 runtime so i belive the performance would be the same.
    You deffinitly should go right to 2.6 but if you wanted to play with the now outdated extention for 2.5 i can email it to you.

  • How to install latest AIR SDK (13 or 14) in Flash Pro CS6?

    Hi, I'm using Adobe Flash Pro CS6 on Windows 7 64-bit and I wanted to add latest Adobe AIR SDK, either 13 or 14, but non of them is seen as a valid SDK by Flash.
    I've tried downloading two possible SDKs (SDK & compiler and SDK without compiler) from here: Download Adobe AIR SDK (version 13) and here http://labs.adobe.com/downloads/air.html (version 14). Each time I copied the extracted SDK folder to my Flash CS6 folder where default 3.2 and 3.4 SDKs are located. After that I open Flash, then Help > Manage Air SDK, click on " + ", browse for the new folder, and all I get is "The selected folder does not contain a valid AIR SDK" warning message. It all looks the same with all four SDKs I downloaded!
    Not long ago I added AIR 4.0 without any problems. What am I doing wrong? Is new SDK Flash CC only or what?

    What are you naming the folder?
    Just as a general tip, since many applications (Flash CS4, 5, 5.5, 6, CC) you can save some space by only putting the AIR SDK in one place. Since CS6 and CC have "Manage AIR SDK" in their settings you no longer need to locate that folder like 5.5 which requires you to overlay the AIR 2.6 folder. So save some space and put it anywhere out of the way, out of the Flash folder. I have multiple drives and I have lots of SDKs installed at root on my E:\ (E:\SDK\AIR, E:\SDK\JDK, E:\SDK\Android, etc). I then just go in the help panel like you do and point CS6 and CC to E:\SDK\AIR and they work perfectly fine with the latest SDK released recently.
    Are you updating Flash Player to 13 as well?
    Last, do not download the Flex version for Flash. Flex is for Flash Builder if you intend on using Flex (it is different than Flash).
    Do not get this:
    You want the SDK from the big orange buttons above this warning.

  • How to setup Flex SDK with latest AIR SDK?

    Now the latest AIRSDK web page has a small link at the bottom for Flex users and it states that Flex users should take the SDK version without the compiler. BUT....
    the http://helpx.adobe.com/flash-builder/kb/overlay-air-sdk-flash-builder.html page says to download the SDK from
    http://labs.adobe.com/downloads/asc2.html
    but this page now redirects to:
    http://helpx.adobe.com/air/kb/archived-air-sdk-version.html
    which contains a large list of archived SDK's. So that help page never really says which version of the SDK to use - with or without the compiler. But other forum posts have implied its suppose to be the one with the compiler.
    Now since we're overlaying the ...plugins\com.adobe.flash.compiler_4.7.0.349722\AIRSDK folder that would make sense.
    But now there's a second overlay instructions page at:
    http://helpx.adobe.com/x-productkb/multi/how-overlay-air-sdk-flex-sdk.html
    with different instructions.
    So my questions are:
       Which overlay instructions are we really suppose to use?
       Which version of the AIR SDK (with or with-out compiler) are we suppose to use?
       What does the Flex Library Project properties -> Flex Library Compiler -> 'Include Adobe AIR libraries' checkbox really do?
            If I've followed the (first) overlay instructions above, does this checkbox now mean I'm using the overlaid AIR SDK 3.6
            with the current Flex SDK I've chosen?
            What if I'm using the Apache Flex 4.9.1 SDK? Will the AIR SDK 3.6 overlay that?
                (Doesn't Apache Flex have AIR 3.4 embedded - will this confuse Flash Builder 4.7 ?)
    Is it just me, or is this just getting more and more confusing? Can we perhaps get a AIR SDK combo box to go beside the Flex combo box and when we check the 'Include Adobe AIR libraries' then we can select the AIR SDK we want? And get a 'configure AIR SDKs...' link too? Then perhaps we can get completely away from overlays and all this merged SDK nonsense. I've had nothing but problems with it.
    The real reason I need all this info is because I'm trying to use Flash Builder 4.7 to build an Android ANE and I'm having a devil of a time just trying to find my resources. When I use context.getResourceID() I'm not getting the correct resources - and after reviewing other posts here I came to the conclusion that it might be due to bugs in older AIR SDK's. So really, at the moment I could care less about the latest Flex SDK, I just need to know I'm working from the latest AIR SDK.
    Thanks in advance.

    If you are not using Flash Builder go here: http://www.adobe.com/devnet/air/air-sdk-download.html
    At the bottom it says:
    Note : Flex users will need to download the original AIR SDK without the new compiler. Mac Windows.
    Download the proper one for your OS and then extract it over your existing Flex SDK directory.
    EDIT: Just read your post again and noticed you mentioned Flash Builder. In that case you want to follow these directions: http://helpx.adobe.com/flash-builder/kb/overlay-air-sdk-flash-builder.html and grab the version with the compiler at http://www.adobe.com/devnet/air/air-sdk-download.html

  • After overlaying Air SDK 3.6, iOS projects show a blank screen after startup.

    Hi,
    I recently overlaid Air 3.6 in Flash Builder 4.7.  My projects are using stage3D via Starling.  Using the 3.4 SDK that comes installed with FB 4.7, my projects compiled and run fine with both debug and release builds.  After overlaying the 3.6 SDK, the projects work fine in the simulator and on Android but when I run the projects on iOS I get a blank screen.  I reverted to the 3.4 SDK and my projects work fine on iOS.  But, I'd like to be able to have access to the features of 3.6, any and all suggestions would be very much appreciated.
    Thank you for you time.
    Chris

    Did you follow these exact directions?
    http://helpx.adobe.com/flash-builder/kb/overlay-air-sdk-flash-builder.html
    (They changed recently and are updated for Flash Builder 4.7)
    For step 4, all you have to do is create the blank strip folder - don't need to copy the other files with 4.7 and AIR SDK 3.6.

  • AIR 3.3 + CameraUI + Android 4.1 not working

    Whats the catch here...
    Using Nexus S with Android 4.1
    Air 3.30.3650 and CameraUI from same AIR SDK (in FP cs6)...
    getting a error: [ErrorEvent type="error" bubbles=false cancelable=false eventPhase=2 text="ioError" errorID=2038]
    Also testing Tour de flex, CameraUI wont appear there either.
    Any ideas ?

    No one , anyone ?
    EDIT: Also tested with air 3.4b (runtime and sdk) but those wont trigger cameraui either...
    Bug reported: https://bugbase.adobe.com/index.cfm?event=bug&id=3306444

  • Soft KeyBoard is not working on ios 7 with Air sdk 3.8

    Hi
    In my app Soft KeyBoard is not working on ios 7 with Air sdk 3.8. Does any one know soluton for this ?

    Hi,
    There's no question that TextFields and TextAreas weren't working in our case, likely because we have a deep displaylist with a variety of object types. Presumably, AIR has changed how it looks through the displaylist for objects that need keyboard, and perhaps we have an object type somewhere in the hierarchy that AIR no longer recurses. It's definitely something that changed, though.
    It's no picnic to put together a sample app, I can't afford that time when I have a solution. But the symptom was very clear, a textbox would open, and the cursor would just blink with no way of interacting with it.
    I'm happy using StageText directly, because it's a more direct way to interact with the OS and gives more control.
    It also solves a bug in AIR that I haven't reported yet, but is as follows. Rarely, when you move the container of a TextField of TextArea after it has been created, AIR will crash and freeze iOS devices. It doesn't happen on Android or desktop, but with a user-base of about 100,000 of our app, we've had it reported maybe 50 times. One of our dialogs sometimes needs to reposition the elements, which is done animated. During this, AIR will crash about 0.01% of the time. We tried only creating the TextArea, but not activating it or even having it visible, but even an invisible TextArea will crash, presumably because AIR moves the internal StageText overlay around as well, and this confuses iOS after a while during the animation.
    By using StageText directly, I finally also have a way to get rid of this bug, because I simply don't activate StageText until the object has already been positioned. Prior to that, it isn't even an editable text field, it's a label like anything else. So I'm happy I did this solution.
    Let's just leave this thread as a record if someone else has the same problem. I'm quite sure it's because of our very complicated display list, and AIR having changed how it scans the displaylist for objects that need keyboard.
    Best,
    Per

  • Intellisense not working after update adobe air sdk on Flash CS6

    I updated the Flash Professional CS6 Adobe AIR SDK to 15.0.0.249, but when i start a .FLA file that uses the new SDK, the Intellisense not work! So i need use AIR SDK 3.4 (native) to work with Intellisense... This is a real waste of time! Can i fix it?

    Hello
    > Is there anybody from toshiba following the thread
    I dont think so because it s an user to user forum only and nobody from Toshiba is here.
    Can you post more details? You wrote that you cant watch flash videos but do you get an error message or what happens exactly?
    What browser do you use?
    I would recommend reinstalling Adobe Flash from Android market. This should help.

Maybe you are looking for

  • How do i create a slideshow with arrows in iweb

    i want to create a "slideshow" that allows the user to move forward and backward using arrows at their own pace rather than a looping slideshow they cannot control.

  • Embedding a web page in a slide

    Hi, Maybe I am completely wrong, but I think it is possible to embed, to display a web page in a slide. For instance, suppose I want to display a graph of Apple's stock in my presentation, the info would be always updated since I would display a web

  • Where can i find an operating manual for the new OS update?

    In particular - i'm wondering how to create a widget (shortcut) to turn on/off wifi. the upgrade got rid on the one on my home screen. <Moved from Android to DROID RAZR by Motorola for more exposure.> Message was edited by: Verizon Moderator

  • URGENT: Help to Change Ordered Items

    I'd just made an online order (Order No: W224606857) but want to change items that I ordered.  However, I can't find the order record that I made yesterday by login the Apple ID.  I just can check the order status login by order no and the email....h

  • Connecting Two Lx Port

    Hi All, Can i connect two Lx ports in two different switches in the same room using a SC-SC Single mode fiber Patch cord ? Will i be getting any bit rate error? Regards, R. Rajaraman