Audio stops playing in the iOS when it enters mode standby (unlike music players, Radio Apps etc.).

Hello!

I need my application to continue the audio in the background (for iOS) when it is in standby mode (just as do Radio Apps and music player apps).

So far, I made these:

1 - render is set to CPU (not direct / or GPU).

2 - I got this code in my application's main class:

AS3 package

{

import flash.desktop.NativeApplication;

...

SerializableAttribute public class Main extends MovieClip

{

public void Main()

{

NativeApplication.nativeApplication.executeInBackground = true;

...

}

}

}

3. in the XML file, I have included:

...

< iPhone >

< InfoAdditions >

<! [CDATA]

< key > UIBackgroundModes < / key >

< table >

Audio < string > < / string >

< / array >

< key > UIDeviceFamily < / key >

< table >

< string > 1 < / string >

< string > 2 < / string >

< / array >

[]] >

< / InfoAdditions >

< / iPhone >

...

What were the results? Now, when I press the "HOME" button, the application is reduced to a minimum and it MAINTAINS PLAYBACK AUDIO. Geat!

BUT still when I press the POWER button (means in standby mode) Audio playback stops (unlike what I want). What can I do to fix this?

I'm really grateful for your help in this matter.

Technical details))

Adobe Flash Pro cs6

Air 3.9.0.1210 for ios

tests on Ipad 2/IPhone 5 (iOS 7)

Hi Pouradam,

No, this will not work for your needs, unfortunately.  There may be a clear indicator of app which should be defined, perhaps...  I do not know.

Tags: Adobe Animate

Similar Questions

  • Audio stops playing in the edition

    My audio goes only about two minutes in the program monitor, before it is cut.  I've just updated this program creative cloud. I don't remember that happening before. I have an iMac 21 inches with 16 GB of memory, the max will hold this thing. I'm under El Capitan.

    This program seemed to work before the CC update. Is there a way to downgrade or any other solution. This flaw makes this absolutely useless program for me.

    I opened the files in Quick Time, and it is audio throughout.

    The problem would be that I imported an AVCHD file? Dialog import says it's incompatible, but it has always imported clips anyway and they always worked smoothly.

    Thanks for any help

    Ahh... AVCHD. To work with those more smoothly in PrPro, one is advised to import the structure of the entire folder of the card from the camera on your computer without change, then use the media within PrPro browser to navigate to and select the files, click "Import"... encouraging them to synchronize with audio & video can be weird sometimes otherwise. You should be able to find a TON of threads here about the audio difficulties and AVCHD.

    Neil

  • How to get audio to play on the timeline by rubbing through

    How to get audio to play on the timeline during the treatment, the clip is not cut, clip does not display an audio wave, looked through the help did not answer. When the clip is imported without options rise so uncertain where the issue is, any help is greatly appreciated, ty

    There is an option in the Preferences / Audio: audio playback while rubbing.

  • The movie will stop playing at the end of each slide

    The movie will stop playing at the end of each slide. I record a movie, and the registration process seems to go ok. However, when I play the movie, it stops at the end of each slide rather than move to the next slide automatically. Can you tell me where I'm wrong?

    Thank you for that. It works!

  • iPod stopped playing in the middle of a song. The screen still shows the song. None of the buttons work. Cannot close the iPod is facing down. How can I fix it?

    my iPod, the generation classic 32 GB, stopped playing in the middle of a song. The screen is stuck on this song. None of the buttons work.  I can't stop the iPod.  How can I fix it?

    Hi, lesliefromhowell!

    Thank you for reaching out by Apple Support communities. After reading your post, I understand that your iPod Classic does not. I count on my iPod for music on the go and want to make sure that you can use your own without problem!

    Relying on the buttons have not helped get the iPod to start playing or to restart, please follow the steps outlined in the article below to reset your iPod.

    Learn how to reset your iPod

    You'll want to use the instructions under the "iPod, iPod (scroll wheel), iPod (touch wheel), and iPod (dock connector)" section. These instructions are the following:

    iPod, iPod (scroll wheel), iPod (touch wheel), and iPod (dock connector)

    To reset your iPod, follow these steps:

    1. Slide the Hold switch to the locked position and then come back!
    2. Hold down Menu and Play/Pause all buttons until you see the logo Apple/iPod (about 6-8 seconds). You may need to repeat this step.

    If you can always reset your iPod, follow these steps:

    1. Connect your iPod to a power adapter and plug the adapter into a power outlet.
      You can also connect your iPod to your computer. Make sure that the computer is on and that it is not set to go to sleep.
    2. Try resetting your iPod again.

    Good listening!

  • 5.7 LR "Adobe Photoshop Lightroom 64-bit has stopped working" in the library when I type "import...". »

    5.7 LR "Adobe Photoshop Lightroom 64-bit has stopped working" in the library when I type "import...". »

    I have 31K photos in a catalog.  It's the only catalogue that I use.  Recently, today I imported 84 photos on the same folder I try now to import 200 +.  Adobe Epic Fail!

    Delete the folder "Lightroom 5 catalog Previews.lrdata" and the folder "5 Lightroom Catalog Previews.lrdata Smart" and disconnected from my USB hub, but not my two external hard drives USB.

    I import now.

    Thank you Adobe for the best photographic catalogue in the world system!

    -Love

    Steve

    http://stephenjungphotography.SmugMug.com

    Live from the "capital of the world Live music."

  • Why do my windows media sometimes not recognize that there is a disc in the drive when I am trying to burn music on the disc,

    Original title: windows media problems
    Why do my windows media sometimes not recognize that there is a disc in the drive when I am trying to burn music on the disc,

    If you restart WMP when this problem occurs, which helps?

    It seems that the AutoRun or AutoPlay got disabled on your system. Please try the instructions in the following article to reactivate these:

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

  • I get error 0 x 80070005 when you try to update my music or video Apps in Windows 8.

    When I try to update my music or video Apps on the Store Windows in Windows 8, I get error 0 x 80070005.

    Hello

    There are a few things you can try to help fix the error 0 x 80070005.

    First of all, you can run the troubleshooter Apps in case there is a problem within the app itself.  Please click on the following link to run it:

    Troubleshooting applications

    You want to make sure that Windows is completely updated and working properly by running the Windows Update troubleshooting tool.  Please click on the following link to run it:

    Windows Update Troubleshooter

    I hope this helps!

  • Audio stops playing after about 30 seconds, the continuous video

    I created a movie with music.  During the preview, the video and the audio works fine.  The problem is when I watch the video on my pc, the sound stops playing after about 30 seconds and the video continues.  When I reset to that point the audio begins again, then stops shortly after and the video still continues.  It is a mpeg format and played on the windows media player 11.  What is the problem with the audio?  Looking for solutions to this problem.

    Thanks people for your suggestions and advice.  I had the sound to play.  I did change the audio settings for dolby to mpeg and that makes the difference.

  • page stops loading until the cursor is moved, video stops playing while the audio continues until the cursor is moved, WHY?

    Recently updated for Firefox 25, Windows 7 and noticed that the pages load slowly or not at all. I realized, then, that the pages loaded so I had my cursor moving. Similarly, I noticed very well the videos loaded but played audio directly by. The video alone "moved" when the cursor moves. In the contrary case, it freezes. Don't know if it's a hardware problem, but I don't get it on IE. Have tried disabling all add-ons, no change. Have reset FF, no change. Please notify.

    This problem has been fixed in Firefox 25.0.1.

    25.0.1: pages sometimes would not load without first moving a cursor

  • Why my playlist stop playing after the first song

    I am puzzled, there seems to be a new paradigm for iTunes the 10.11 and iTunes 12.3.2.35

    I create a playlist and the reading list I created in the previous version are there on the left panel and play in order, now when I create a playlist it is a big screen in the center of the screen that displays the songs in the playlist: but the songs not auto play and once that I get the first to play the rest aren't!

    I advise to another Member of the community to select the playlist with CTRL-click on the left pane where they gave me several selections which

    copy play stopped, I did it, went to the top of the window and press the play icon, no game, selected in the window CTRL-click game, still not play, then click on the first song in the list of SINATRA CHRISTMAS, would be playing the song but the rest of them did not.

    1. How can I get packed playlists to play

    2. how I created playlists to play in order

    3. What's all this 'up' - following.

    Please help, I have a sharp mind for a 68 year old, but it's disconcerting.

    jojoguitar

    mn_usa

    There is a follow-up, I discovered by hunt a peck, but for the life of me I don't understand the thought process of the WORKS of this THING of PLAYLIST.

    Once you do, you must always select each song in the list of what we call next door, or add to a maximum, then then you have 9 songs at the top: who come from A DIFFERENT PLAYLIST.

    Community of good luck, and if anyone, anyone has a simple process step by step, PLEASE send me the link or even a list of home made I can print to study.

    jojoguitar

    mn_usa

  • Audio call routed to the speaker when it is docked

    Hello

    When I anchor my Razr HD (JB 4.1.2) to my real car Motorola dock, my music will be automatically forwarded to speakers of the car, which is what I want, but for incoming calls and outgoing audio passes the external speaker to phones by default. I can touch the speaker button that forwards then the audio to the speakers of the car, but how can I do audio call road to the default car speakers and not the external speaker phones?

    If it is not a setting I can change then maybe an app that will do it for me?

    It seems a little strange that he must use the phones pregnant as I thought that the idea of a dock is to have fewer entry during the conduct of the user, I'm sure that ICS was not like that.

    Thank you

    Hi xrcist,

    Another phone never worked with your car? Were you able to route calls to your front car speakers?

    See you soon,.

    Nicole

  • Dell inspiron w / xp sp3 stops when the lid closed only in mode standby

    Dell inspiron e1505 on windows xp sp3 will stop when the lid closed mode standby. In "idle mode" it shuts down for a few seconds then screen turns on and I can work as usual.  Why is it turn off in standby mode?  Happens in AC mode and battery.  is it a software problem or a hardware problem.  I see others with the same problem and vista dell.

    http://support.Dell.com/

    Dell support.

    http://support.Dell.com/support/topics/global.aspx/support/DellCare/contact_us?c=us&l=en&s=Gen&redirect=1

    Contact Dell

    http://en.community.Dell.com/forums/

    Dell forums

    XP forums:

    http://social.answers.Microsoft.com/forums/en-us/category/WindowsXP

    Link above is for XP Forums.

    There is a list of the different Forums XP to the link above to help you.

    You get the help you need there.

    Here is the Vista Forums.

    See you soon

    Mick Murphy - Microsoft partner

  • Audio books play in the right order

    I have a laptop with Windows 7, but if I try to read an audio book, he will play, but in the wrong order.  The only way I can listen to it is to highlight every piece he plays, but it's not ideal.  They play fine on a regular CD player. Any ideas?

    Hi Louise - Welcome to the community...

    I expect what you're saying the disc you are playing has the data files on it (no audio) and they are probably classified in a way that should reorganize to WMP.

    If you open the cd in the computer - cd/dvd drive what information see you here on the content of the disc? It may be better to download the files from the drive of your pc. and then you can rearrange them if necessary. -R.

  • How to get audio to play on the Ipad using html5 canvas cc flash

    I use cc html5 flash project type. I built my project and tested on the desktop and it works fine. Once test on ipad, it plays the audio. It runs on android devices, but not my ipad 4. I use Mp3 files in my flash project.

    I tried the safari and Chrome on my Ipad played or the audio in my folder.

    Links to my files.

    http://dev.Wisc-Online.com/prototypes/TestJosh/cis3405_html5.html

    http://dev.Wisc-Online.com/prototypes/TestJosh/cis3405_html5.js

    SoundJS v0.6.0 API Documentation: Sound

Maybe you are looking for