Background music continues to play when app exited

I just had a review of one of my apps from amazon on the kindle fire and the result came back saying:
Upon completion of our compatibility test processes, your app was found to be unresponsive when subjected to testing. To be compatible with Kindle Fire, the app’s core features must be responsive to user commands, and its primary functionality accessible and compliant with device specifications. Currently, the background music of the app continues to play even when the app has been exited.
to get my background music to loop I use this code
import flash.media.SoundMixer
var musicplayed:int = 0;
var MusicPlayer:Sound = new Music();
var songChannel:SoundChannel;
songChannel = MusicPlayer.play();
function loopMusic(event:Event)
  songChannel = MusicPlayer.play();
          songChannel.addEventListener(Event.SOUND_COMPLETE, loopMusic);
any idea whats wrong? It doesn't have this issue on iOS

Hi, I'm developing an app for android, and added the event handlers for Deactivate and Activate to turn the music off or on. It is working if I press the home button but if I set the device on sleep (idle) and then turn it on, the Activate Event is triggered in the unlock screen. So the music starts on the unlock screen, this is very frustrating because I just had an app rejected on Samsung Apps Store because of this issue .
<Defect>
The application reproduces sound in the unlock screen.
<Procedure>
1 Start the app
2 Lock the device
3 Press the device's hold button without fully sliding to unlock
4 Notice that the application's audio is playing
<Expected Result>
The application should not reproduce sound untill after the device is fully unlocked.
Anyone here that knows a workaround for this problem?

Similar Messages

  • Hi, my macbook screen goes black at random points when I am using it. I know it is still running as music continues to play and I can vaguely make out the content of what is on the screen. Sometimes the screen will flicker between black and normal. Can I

    Hi,
    my macbook screen goes black at random points when I am using it. I know it is still running as music continues to play and I can vaguely make out the content of what is on the screen. Sometimes the screen will flicker between black and normal. Can I fix this?

    Emily..
    Could be the graphics card, run the Apple Hardware Test
    If the hardware test doesn't reveal any problems, use Lion Recovery.

  • IMovie videos freezing, music continues to play?

    I'm creating a montage of some videos on iMovie with a song as the backing track, however I've hit a brick wall of sorts because I can no longer add videos without the clip I add freezing.  The music continues to play, but the video I add just freezes.  It doesn't matter what video clip I add (I've tried a few in case it was the clip that was causing the problem) but it happens to all of them.  The rest of the video plays fine.  I've made plenty of videos like this before and I've never faced this problem so I have no idea what it could be!  Any help would be much appreciated, thanks.

    That's normal and as designed. The song will play out. You can pause it by pressing one of the volume buttons or use an app like 'Stop the Music' to completely exit the player.
    Click on the blue Star Icon below if my advice has helped you or press the 'Accept As Solution' link if I solved your problem..

  • Why does itunes and other media continue to play when i close the lid on my macbook pro 2011???

    Hey, I am new to mac and still getting used to it (making the transition from windows), its amazing! Anyhow, I cannot figure out why my itunes and other media like youtube or a film on vlc player continues to play once the lid has been closed. I thought that when i close the lid the macbook should then sleep. It does everytime when there is nothing playing. The little white light on the bottom right hand corner of the book is on but music continues to play.
    The sleep option always works. If I press the power button and choose the option sleep it does so etcc.
    Is this normal and am I just being stupid or is there a problem??
    I bought the laptop from ebay, its a macbook pro late 2011 17inch. I dont have apple support and might have to make a trip into London to the mac store however I was hoping someone can help me...    
    Processor  2.4 GHz Intel Core i7
    Memory  4 GB 1333 MHz DDR3
    Graphics  Intel HD Graphics 3000 384 MB
    Software  Mac OS X Lion 10.7.5 (11G63)
    Thanks if you can it is muc appreciated....!!

    hey, thanks for the reply. I don't know to be perfectly honest. When I close the lid without any music playing it sleeps fine. How could I check?
    So basically I pressed the power button and pressed sleep. The laptop turned off and the little white light turned on no problem. I did the same thing with closing the lid and it went to sleep no problem. (Can you confirm that when the little white light is on it means the laptop is sleeping)??.
    I then had itunes playing and pressed the power button and when i pressed sleep the music paused then 6 seconds later it went to sleep. I then had itunes playing and closed the lid and the music kept on playing even though the white light was on.
    What do you think  jessejarvi?

  • IPod apps automatically shut my music off to play in-app music instead

    Is there *any* way to stop this? I've tried switching over by double tapping the home button for multi-task, as well as opening the apps first and then attempting to start my music. I've never been this frustrated by an iPod before. I have the iPod touch 5th gen. Any help is very appreciated.

    Maybe it depends on the app you are running. I have Star Walk, which has this weird kind of music backround that you can turn off. I started playing something from my iTunes, then started Star Walk (music was off). My music continued to play. Then, just for fun, I turned the Star Walk music back on, and they both were playing at the same time.....
    Maybe it's an app to app kind of thing.....
    Sorry
    GB

  • How come my music won't play when I just downloaded the new IOS 5.1 update?

    I've just downloaded the new IOS 5.1 software and I discovered my music is not playing when it played before i got the update. How come the music from the music app is not playing?

    Click here and buy the DVD.
    (89921)

  • Why does my MacBook Pro make background music and video quieter when I am on FaceTime?

    Why does my MacBook Pro make background music and video quieter when I am on FaceTime? When my girlfriend and I are trying to watch a movie on Netflix together while on FaceTime my MacBook Pro always decreases the volume of any background sound on my computer so I can barely hear it. Is there a way to fix this? Thank you!

    Have the same issue too. Apple can you please change this annoying feature. You are making long distance relationships more difficult.
    I like how Facetime was with the old iOS, where nothing was dimmed. OR at least maybe if you could give users the option to turn on or off dimming of facetime.

  • Hi. I have an iPhone 4s. The music doesn't play when I connect it to my car stereo. It used to play previously but stopped playing all of a sudden. My phone is getting charged when I cut it to the USB port. Please help with this. The iOS is 6.1.3.

    Hi. I have an iPhone 4s. The music doesn't play when I connect it to my car stereo. It used to play previously but stopped playing all of a sudden. My phone is getting charged when I cut it to the USB port. Please help with this. The iOS is 6.1.3.

    Hello Priyanks,
    I found an article with steps you can take to troubleshoot issues with an iPhone not connecting to your car stereo:
    iOS: Troubleshooting car stereo connections
    http://support.apple.com/kb/TS3581
    Thank you for using Apple Support Communities.
    Best,
    Sheila M.

  • Background music continuous play when navigating through website

    Hello,
    I managed to get some background music playing on my website referencing another thread, however I would like the music to play continuously when you navigate through the website.
    Also, is it possible to add a sound on/off button somewhere without the full player?
    The site is built in Muse and this is the html code I used:
    <audio src="http://filename.mp3" autoplay loop></audio>
    and Here is my website:
    http://metropoli.businesscatalyst.com/
    Any answers are appreciated! Thanks!

    You're not alone!
    I realized the problems with the ipod nano 6th generation when i got myself one of these little toys and tried to get it running in my Ford Focus (build 2010) using the AUX-input of the car.
    Same problems with the static noise, no matter which cable i tried. But I ignored it then, because I usually use the iphone 3gs I have in my car for music and navigation (via AUX-input and headphones) without any problems.
    But that forgotten incompatibility-problem between ford aux-port (I have a CDS6000 radio) and iPod nano 6G just reappeared when I tried my new iphone 4s in the car. Just the same **** as with the ipod nano 6g.
    My guess is, that  apple replaced the earphone-sockets with some other components with the newer built devices (2nd half of 2010 and newer).
    So I've just ordered an adapter from apple-dock to AUX. I hope that helps, but I don't understand, why just Ford has this problem. I've tried the same cable with the iPod Nano 6G and iPhone 4S with my logitech speakers (using the headphone-socket) without any problems.
    If anybody has a clue why this happens, or what changed between the ipod/iphone generations regarding the headphone-socket, I'd like to know.
    thanks in advance

  • Have a new iphone 5S and music won't play when headphones are plugged in. Restored the phone and tried again without restoring my info.  Any ideas on apps that cause this?

    I just purchased a new iphone 5s and music would not play on it with headphones plugged in.  They replaced the phone for me but it continued to do this.  So I restored the phone and tried to play music on youtube before I restored all my settings and apps....Any suggestions on common apps that may cause this?

    We have tried 3 different brands of headphones, including the apple set and auxiliary audio cord.
    Also, music works fine before I load all my apps, hence why I ask if anyone knows about any kind of certain apps causing this.

  • Help With Movie That Continues to play when an External Link text button is clicked

    I'm using Captivate 3.
    I have a movie with Various Text Buttons one of my buttons in this particular module i'm creating when clicked opens an external PDF file for viewing.
    However, my movie in the background keeps playing when i need it to stay on that Menu Screen with the various buttons.
    Ideally so the user when done viewing the External PDF can then click another button to continue to the section in the movie where they need to go for the Software Demonstration.
    Any Ideas on how to get it to stop???   I thought i had it working yesterday but today its not.. Its possible i removed a duplicate Pause or something?
    *UPDATE - just went in to check the pause settings.. It PAUSES CORRECTLY if i Click the external Link button Once.. but if i click it again.. it reopens the link and then the demonstration starts playing in the background..
    Please help
    Christina

    Hi there
    Your post was probably overlooked because we assumed you looked at the Frequently Encountered Issues page first.
    See if the link below answers that question.
    Click here to view
    Cheers... Rick
    Helpful and Handy Links
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcerStone Blog
    Captivate eBooks

  • Doesn't continue to play when I leave Front Row

    In Front Row 1, I can remember, iTunes would continue to play the songs I listened to in Front Row, even if I leave the Front Row app.
    Well, now the music is interrupted and I have to fnd the songs in iTunes.
    I guess this is a bug, huh...

    I guess I've gotten spoiled by more productive, helpful discussions on this and other support forums, but I thought that thread was absolutely nauseating. The gall that several posters there have to tell others who are unhappy with Front Row's performance that they're just using it wrong blows my mind. The discussion is about features that no longer work as they did in an earlier version of Front Row or have been taken away completely. Yet they refer to those earlier features as "wrong" and act as if people have no right whatsoever to be unhappy with certain aspects of FR2's performance.
    Unbelievable.

  • How can I get an flv video to stop playing when I exit the page it's on?

    The audio continues to play no matter where I navigate on the site.
    Thanks

    You want to stop the audio from playing and also downloading more video/audio if it is still downloading when you go to a new keyframe where the video display/component or mp3 player is removed from the stage because it's keyframe ended or do not exist anymore but you still hear the audio.
    Add an event listener to your video playback component that calls a function when the flash player tries to remove the video plaer from the stage that stops the netstream or at least stops/pauses the video playback.
    [link removed]
    //sample NetConnection and NetStream classes when the video player is removed from the stage tell the NetStream to stop playing or downloading the content with .close();
    var connection:NetConnection = new NetConnection();
    connection.connect(null);
    var stream:NetStream = new NetStream(connection);
    addEventListener(Event.REMOVED_FROM_STAGE, videoRemovedFromStage);
    function videoRemovedFromStage(e:Event){
       stream.close();

  • I started setting up a web page with iWeb. Auto play box is checked, but music will not play when page is opened.

    I started setting up a web page with IWeb.
    Several proplems so far:
    1) Auto Play box checked for music, but music does not start when page is opened.
    2) Can't get Quicktime "start/stop" slide to start and finish a section within a long piece of music (classical for example).  How does one work the slide bar to do this?

    Yes the audio file plays on the iWeb page when I click the play button.  I even made sure it played both without the “little boxes” that surround the icon (don’t know the technical name for those), and when I click the music icon without the little boxes.
    I did note that the iTunes window that appears when I open the Inspector is not highlighted until I click the music icon and those little boxes appear.  Then the Start/Stop, Auto Play,  Loop, and Show Movie Controller are highlighted —  and work properly.
    One other thing.  I see that the iWeb icon I am working from says “Domain copy.sites2.”  Does that have a bearing on anything?

  • How can I reduce the background music from a song when I'm trying to make a mashup in Garageband?

    I'm creating a mashup between two songs (Titanium and Starships). Everything seems fine: I just need to cut out the background music for the Starships song. Does anybody know how to? Thanks!!

    Extract the audio from the movie with either Quicktime Pro,  iMovie or a 3rd party audio editor like Amadeus Pro and use it as the menu's audio. 
    OT

Maybe you are looking for

  • How to take the cron job log in HP UX?

    Hi, How to take the cron job log in HP UX I need to run a backup and other stuff everyday. How do I check and start cron service under HP-UX UNIX operating system? How do I write cron jobs? A. Cron service is required to run jobs and tasks such as ba

  • Month view does not show Multi Day events

    I know there has been a few post about this subject, but I've found no answer. Is there a fix for this problem? Multi Day events (Not All Day) only show up on the first day in month view (fine in week view). BUT ... if you print the month view the ev

  • Adobe Media Encoder CS5 - Can we crop and resize at the same time?

    Flash 8's video encoder, use to let you crop (cut x amount of pixels out) and then resize  a video (and in that order it did it). CS5's Media Encoder is confusing, from what I can tell it cannot do both, you either can crop or resize but not both. AN

  • \problems with a compaq presario sr1603wm

     troubleshoot problems with a compaq presario sr1603wm whenever i turn on the computer the mouse, keyboard, and the monitor doesnt turn on. but the weird part is that when i use the 2-port usb KWM switch and switch them over to my other pc unit they

  • Turn off applications opening when restarting computer

    I hate in Lion how when I restart my computer, all of the applications I had open before reopen. Can I turn that off? It takes start up forever. I've seen how to uncheck "Restore windows when quitting and reopening apps" and I've uncheck that, but it