Play an audio on background in IOS on standby

Seems to be not possible for an Air app to play and audio file in background when iOS device is on STANDBY, I am trying a lot solutions without any luck.
Adobe air SDK version 15.0.0.356
Maybe some one know about a workaround or about the new SDK update because the app is not useful on IOS anymore.

Hey,
    I using SDK 16.0.0.222 for a little player app for a client that successfully plays in the background and sleep.
You need the following in your AS3 code :
NativeApplication.nativeApplication.executeInBackground = true;
The this in your XML:
<key>UIBackgroundModes</key>
  <array>
  <string>audio</string>
  </array>
The only problem is there is slight "glitch" effect when going to the home screen or sleep. I am hoping someone has a work around for that.
Craig

Similar Messages

  • Playing Videos in the background in IOS 6.1

    Since I updated to IOS 6.1, I cannot play the sound of a minimized video in the background. Does someone else also has that problem and how can I fix it?

    No, not Apple?  This is a public user forum and surely this was pointed out to you when you signed up to post in the forum?
    The highest software update for an iPhone 4s is 6.1.3 and that's it.  An iPhone 5 can be updated to 6.1.4, so the chances are that you friend in the US probably has either an iPhone 5 with 6.1.4 or is mistaken and has a 4s that has 6.1.3 on it.
    The highest for a 4s is 6.1.3 which you already have.

  • HT1399 I was able to see the lyrics while playing the audio when my iOS was 6.1.4 now i do not know what to do to see the lyrics while playing the audio or a karaoke

    I was able to see the lyrics while playing the audio when my iOS was 6.1.4
    now i do not know what to do to see the lyrics while playing the audio or a karaoke after upgraded(?) to iOS 7
    Is there any chance to see the lyrics in iOS 7 or i want to degrade it to 6.1.4?

    Thank you for responding. I'm not sure if my complete original message came through. It was just today that an automatic update notice came through, and I installed the update that was offered. So I have to guess that version — 10.1.10 — is the latest version that's available to me. My OS is 10.6.8. Again (in case the complete message isn't appearing), I'm on an older Mac, specifically MacBook 2.1. Perhaps this is the problem, and I never should have updated a few years ago. If so, I wonder if there's any way I can go back to that earlier version that worked well for me, rather than the last few versions, which have not.

  • What are some of the best iOS apps can remotely played videos, audios, photos and text files from a NAS hdd connected to Airport Extreme USB port? And how to configure this setup?

    I have already set up NAS hdd as connecting it at USB port of Airport Extreme, i also want to remotely access it from iPhone, so what's the next step? What are some of the best iOS apps can remotely played videos, audios, photos and text files from the NAS hdd and how to configure this setup?

    *Edit - I am not able to connect to the NAS when hardwired to the airport extreme.

  • Play audio in background without background mode key as audio in info-plist

    My application requires background audio in some conditions but not always, say when a particular screen is active in that case, i want to play audio in background and for that i have specified background key for Audio in info-plist. But my app is not getting approved having following reason:
    While your app has declared support for audio in the UIBackgroundModes key in your Info.plist, no audio is played when users switch to another application. The audio background mode is meant for applications with audio streams, like radio applications. You'll need to provide audible content to the user while the app is in the background or remove the "audio" setting from the UIBackgroundModes key.
    so , is there a way for playing audio in background without specifying background mode key ? or app getting approved with this key mentioned ?
    thanks in advance

    Joe,
    Check out this tutorial written by Michael Wong on this very topic. I think you will find his step by step explanations quite easy to follow...
    http://www.rowan-cottage.co.uk/Site/Autoplay%20Music.html
    Hope this helps!

  • I'm using iPad 4 with iOS. How to play YouTube video in background?

    Any suggestion?

    Welcome to the Support Communities. This article may help:
    How to Play YouTube Videos in the Background on iOS
    ...Found by doing THIS.
    And this is just a tip: You can edit your post within 15 minutes. To edit your initial post of a thread, click on the Edit post link in the Actions section at upper right. To edit your subsequent posts of a thread, click on the Edit link at the bottom of the particular post you want to edit. Either way, when done editing, click the blue Update button.

  • Sony Docking station will no longer play audio on Alarm after ios 7 upgrade

    I have read through many of the community postings and hate to have to start a new question when there are over 90,000 that have viewed or commented on this same type issue, but I have tried all the suggestions from community users and they work for a test, but then when you set the alarm for the next day, it flashes and no audio. Why is it that Apple is ignoring this huge customer dissatifaction and why is it that they can do this to the users? I read in one stream that they inserted a software to block any "Non-Apple" product from working with their new software. I have 3 phones in this house that have not been upgraded and they work fine. The two that I upgraded will NOT play the audio. The light will flash as if it triggered the alarm, but nothing triggers the iTunes to play. Originally Apple said it was my Sony device. Wrong! So then they said it was iTunes because they iTunes Radio was in the first/primary slot now and I had not signed up or created a Radio station. They did show me how to go into More options and change the priority to place my own music and playlist in the primary and get rid of the iTunes radio and it worked. Next day it didn't. Then I read that if you plug into an Apple peripherial and then a Non-Apple device, it will again shutdown. So I have started doing the Shutdown step every night when placing it on the docking station, never knowing if the Alarm will play/sound at 4:50 or not. Needless to say, I am NOT getting any sleep as I watch the minutes tick towards the waking hour anxiously waiting to see if the phone Will or Will not wake me. I have also seen people mention removing the "SoundCloud" What the heck is that and how do you do it?

    In my Sync vehicle, I had to "forget" the SYnc connection in the iPhone Bluetooth settings, then go into the car menu and delete the bluetooth device from the vehicle's system. Once I re-paired from scratch, it has been working fine. Give that a try. If not, try removing the connection from both sides again, then Reset Network Settings from the General Settings before re-pairing.

  • Sounds stop playing when user locks screen on iOS with AIR 3.9 Beta

    We built a simple application that should play sounds when in background and when the screen is locked.
    Since we updated to the latest AIR 3.9 Beta SDK, all sounds stop playing when the user locks the screen on iOS.
    The sounds resume when the screen is unlocked.
    - it works on Android
    - we use renderMode : cpu
    - we use UIBackgroundModes : audio
    - we use NativeApplication.nativeApplication.systemIdleMode=SystemIdleMode.KEEP_AWAKE;
    - sounds play when the app is in background
    - was working great with AIR 3.8 SDK
    Any help would be greatly appreciated.
    Thanks!

    Thanks for reproting the issue, we have an internal already logged bug for this, which is under investigation at the moment.
    -Nimit

  • TS3789 I have similar problem, my apple tv which has always worked properly with my Samsung tv will no longer play any audio after the latest 5.1 upgrade. Very frustrating as it was working perfectly before. I am starting to not trust apple upgrades until

    I have similar problem, my apple tv which has always worked properly with my Samsung tv will no longer play any audio after the latest 5.1 upgrade. Very frustrating as it was working perfectly before. I am starting to not trust apple upgrades until proven for example ios6 on iPhone with that stupid map app instead of google maps.
    I just want to buy and hear my iTunes music and videos on my apple tv, could before cant now. Thank you apple. Time to pack up the apple tv and start torrenting without the ios-bs.
    Disheartened apple fan.

    Welcome to the  discussion forums.
    Try going to synching in the sources menu on your tv and selecting 'change itunes library', when it gives you the passcode check itunes to see if the tv is showing up as a new device, if so try entering the pass code. It may be that your tv is seeing itunes as a different library because of a recent upgrade.

  • How do you play YouTube audio with the screen off with iPod 5th gen?

    I used to own a 2nd gen iPod touch, which ran on an ios 4.2.1 system, that allowed me to play YouTube with the screen off. Ever since I got iPod 5 which came with ios 7, let's say I am kinda still getting the hang of how everything works. I still would like to play YouTube while the screen is off, but seem to not know how. Does anyone know how to solve this problem? It's running on ios 8, so if you could help me with this, I would gladly appreciate it!

    Hi there, you can download itube, it's in the app store, and that allows you to save youtube videos for offline play. Also, you can play youtube audio with the screen off, even without a third party app. Click on a video. When it's playing, press the lock button. Press it again, to wake the device up. You should see your video on the front of the display, with a play button. Click it, and it will start playing even if the device is off. Hope I helped, ~Samuel.

  • When i try to upload a .mts file from my Sony camera to Premiere Pro CC it refuses to play the audio! Ofcourse i could convert every single clip but it takes tons of time. How can i make Pr play audio track properly?

    When i try to upload a .mts file from my Sony camera to Premiere Pro CC it refuses to play the audio! Ofcourse i could convert every single clip but it takes tons of time. How can i make Pr play audio track properly?

    Does it not play at all or cannot you get the audio in the timeline?
    Did you copy the entire card to the hdd and then imported the file via the Media Browser?
    Did you source patch the audio tracks?

  • Is there a way to get an iPod touch to play one audio track and stop.

    Is there a way to get an iPad to play one audio track and stop.
    I work in education and particularly music. Teachers are looking to create a playlist of selected track but only want the selected track to play then stop.
    This allows them to talk to the class during presentation and not worry about having to stop playback mid discussion.
    I've been successful doing this from appleTVs homeshared to a library by unchecking songs in the playlist. But It would be useful to instructors who have there own media on their device.

    Thanks for a cognative answer TXMark.
    For what its worth to any readers that work in education and would like this play once and stop 'feature'
    I had great success in homeshareing a iTunes library of teaching material and creating topic specific playlist and used apple remote app to control an appletv connected to that homeshared library. As TXMark suggests, uncheck the songs in iTunes and the media will not automatically play the tracks in sequence.
    note: if you have video media that you would like to have in the playlist, be sure its listed as a music video in the options of get info of track. otherwise the apple tv will not see the media in the playlist and will put it in the movies section of the library.

  • Is there a way to get an iPad to play one audio track and stop.

    Is there a way to get an iPad to play one audio track and stop.
    I work in education and particularly music. Teachers are looking to create a playlist of selected track but only want the selected track to play then stop.
    This allows them to talk to the class during presentation and not worry about having to stop playback mid discussion.
    I've been successful doing this from appleTVs homeshared to a library by unchecking songs in the playlist. But It would be useful to instructors who have there own media on their device.

    The only way to stop after a song is to create a playlist consisting of only that song.
    For feature suggestions use http://www.apple.com/feedback/ipad.html

  • Creative Zen 32GB "There is a problem playing this audio" AAC

    GCreative Zen 32GB "There is a problem playing this audio" AACZ All right, this is driving me nuts. I have a Zen 32GB and a Vista 32-bit machine. I have been encountering a lot of problems playing AAC files on my Zen--many of the tracks stop short, and the error message "There is a problem playing this audio" appears.
    These are AAC files that I ripped off my own CDs using iTunes, so there are no DRM issues. ? I'm not sure if the problem lies in the actual ripping process (although the problem tracks play on my iPod without problem), the importing into my Zen using Zen Media Explorer, or my Zen trying to play the tracks. I've tried turning off my antivirus program, as well as checking the box in iTunes that double-checks for audio errors after ripping. I thought at first that it could be related to scratched CDs, but it also happens with pristine CDs.
    I have latest firmware (.2.03) installed, and also the latest version of Zen Media Explorer.
    I've searched this forum as well as Google for this exact error message, and don't get any related hits. Can anyone out there help me? Please?

    Thanks for that response--I was beginning to feel a little neglected. It's disappointing, though--one of the reasons I bought the Zen was because it advertised AAC compatibility, so that I could have just one library of AAC files for my iPod and Zen, instead of entirely duplicate libraries of AAC and WMA files. Most of the AAC files I've imported into the Zen play fine--I just have to check all of the tracks to see which ones have that audio error. Usually, if I re-import the track, it comes out fine (eventually).

  • After I updated my iPhone 5 to iOS7 I can no longer see the individual chapters when playing my audio books.  Also I can't edit and copy multiple text messages.

    After I updated my iPhone 5 to iOS7 I can no longer see the individual chapters when playing my audio books.  Also I can no longer edit a and copy multiple text messages like before. Is there a way to do these things I am missing?

    Not only can i not see the individual chaptes -- apparently like you and everyone else suffering through the "improved" iOS7 -- when my audiobook repeats a "file" within  chapter, which it sometimes does, I cannot get "inside" the chapter and move forward to where I'm supposed to be.
    Whatever happened to "if it ain broke.......???

Maybe you are looking for