App audio plays while Kindle Fire screen is locked

I am hoping someone has found a solution to this issue:
If I put my Kindle Fire to sleep using the power button, when I wake it back up, the app's audio begins playback while the screen is still locked.
All the other soft keys on the device control the app and the audio as expected.
As far as I can tell, it seems that when the Event.ACTIVATE fires, the app runs and Amazon just tosses a screen-lock overlay on top. My app is running at full frame rate (and playing audio) underneath the screen lock, but there are no events I can listen for to tell when the unlock happens.
I'm probably missing something, but shouldn't there be an event type in the NativeApplication class that we can listen for? Everything I've tried so far doesn't work.
I haven't submitted this to Amazon yet, but it seems likely to be rejected. Any ideas appreciated!

Yeah, this is a problem I had to solve about a year ago. Android's guidelines suggest you should pause your game on a DEACTIVATE event and then require user input, like a tap on a pause screen, before resuming your app. So that's what I ended up doing. I built a semi-transparent pause screen that overlays the entire screen and app, and then unpauses on the next tap. And I also had to handle resizing the pause screen when the app auto-orients.
For audio I'd originally built a sound class that listened to ACTIVATE and DEACTIVATE events and would pause themselves accordingly, but I ended up tying their pause/unpause mechanism to the app's pause resume.
Oh, and you will probably want to build a lock parameter into your pause method, so that in some situations the only code that can unpause the app is the code that passes the same lock/unlock string. Otherwise, you might find your app resuming when it wasn't suppose to.
Hope that helps. Oh, and testers with the Samsung App Store sometimes think they are designers and sometimes may reject your app because they say the pause screen should have gone away automatically. Don't listen to them. Try filing a petition explaining your app is following Android guidelines or just resubmit the app and hope for a different tester. And one of the first tests a Samsung tester does is power off and on the screen and see if your app can handle it correctly. So yeah, they are tougher than Amazon.
But warning. The worst is Google Play. If one app goofs up and inadvertently violates one of their guidelines they may just ban your entire account - nevermind that you may have a 100 other apps published through that account. And they will tell you nothing. Not the name of the app that caused the violation, or even what the violation was - just a "please read our guidelines again." And it could be something as seemingly innocuous as key word stuffing in the apps description - but you won't know what caused it. Sorry, now I'm venting a little. But if you need to publish a large number of apps consider finding a way to spread them out over multiple accounts if you can to protect yourself.

Similar Messages

  • Unable to cut any call while my iPhone screen has locked

    I can cut any call when my iPhone screen is not lock but unable to cut any call while my iPhone screen has locked otherwise I have to receive the call. I always need to lock my iPhone screen and also I want to accept a call and same way to deny but I cant.

    Pressing the on/off button twice quickly will decline the call and send it directly to voicemail.

  • 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

  • Amazon Appstore Announces In-App Purchasing Service for Kindle Fire and Other Android Devices

    Link to announcement:
    http://phx.corporate-ir.net/phoenix.zhtml?c=176060&p=irol-newsArticle&ID=1681481&highlight =
    Bob

    A word of caution:
    the Amazon Appstore checks for Kindle Fire support AFTER it accepts app updates.  So a developer can unknowingly break KF support, and still get app updates accepted into the store!
    Here is an e-mail I just sent to Amazon's KF team:
    FYI, there is a significant loophole in your submission pipeline:
    1) All my apps use Adobe AIR.
    2) For the longest time, they were all compiled with AIR 2.7 so there was no problem.  I got a bunch of downloads, including from Kindle Fire users.
    3) A week ago, I updated most of my apps to AIR 3.1, and broke Kindle Fire support, without my realizing it, because I didn't know that the KF only supports AIR 2.7.  Unfortunately, all the updates with broken KF support were accepted into the store!!!
    4) Now I am getting users complaining that their apps no longer work on Kindle Fire.
    What should have happened: NONE of the updates should have been accepted after it was realized by your review team that they broke Kindle Fire support, while previous versions worked fine on it and KF users downloaded them.  Reviewing KF support separately, after the initial review/acceptance, is not a good process!
    In any case, I have re-submitted all my apps with the release note 'Restored Kindle Fire support'.  What I did was use 'captive runtime' for compiling all my AIR 3.1 apps, which normally means that the app will not require an external AIR runtime to function.  Hopefully, this will work this time.  If not, I am going to have to re-compile everything using AIR 2.7, which is a major drag since some of the features I depended on are part of AIR 3.1.

  • Creating in app-purchases for Amazon Kindle Fire

    Dear Adobe Community,
    my settings so far:
    I'm using the InDesign CS6 Digital Publishing Suite,
    running on a Professional Subscription.
    And ran into some problems with the Amazon Fire in app-purchase system. Let me explain:
    My multi-folio app is currently running on Apple iOS and Android and was - accordingly - successfully published into the Apple Store and Google Play.
    Now, the next step was the publishing on Amazon Kindle Fire via the Amazon Developer Console.
    The viewer is running fine, no problems there; the same goes for the free folio.
    On the other hand, the in app-purchases won't. The in app-purchase is submitted, the Amazon Developer portal marked it as "Live", but it won't appear in the viewer.
    According to this discussion: Amazon in App & Subscription Purchases it is necessary to match the Amazon SKU number with the Product ID in the Folio Producer, which I did. Do I still have to contact Amazon to achieve a successful launch?
    Viele Grüße from Germany,
    Maximilian

    DPS no longer supports Amazon in-app purchases.
    Neil

  • I generated responsive layout and my mp4 videos do not play in kindle Fire

    They play on all other devices. This is Kindle Fire 7" HD

    How is the video embedded? Can you play the video from Kindle Fire when
    it is not embedded in the page?
    A quick Google search shows up a lot of problems on Silk with video.
    Since it works on other browsers, I suspect that the Kindle is culprit here.
    Kind regards,
    Willam

  • Avg. turnaround time: App submissions to Amazon (Kindle Fire)?

    Anyone had much experience with submitting apps to Amazon Marketplace for Android (Kindle Fire)?
    Curious to know: What's the average turnaround time for review/approval (presuming the app isn't rejected after review)? For Apple, we generally cite 1-2 weeks.
    Josh

    Average time is 3-5 days. Sometimes Amazon says that they need more time to review the App (I presume that that's when they find any concern) so I've seen them take upto 9 days on some apps.

  • Videos not playing on Kindle Fire running Android 4.2.2

    We have developed a video based eLearning module using Adobe Captivate 8. The module is intended to publish to HTML5 so that it should run on all PC browsers, iPad and Android tablets. The module runs well on PC browsers, iPad and Android 4.4.2 version. However, it doesn’t load / play the videos on a Kindle Fire HD running Android 4.2.2.
    Has anyone run into this? Is there a solution?
    I have prepared a sample Captivate file that can be downloaded from: Dropbox - Interactive-Interview-STD.cptx
    Can anyone suggest why the videos don't play on the Kindle and what we can do?
    Thank you very much
    Richard

    I retried with the file in an MP4 wrapper and all seemed to go well.
    If anyone has any insight into this stuff, I'd appreciate hearing it. Thanks!

  • How to set correct audio output while using external screen for presentation purposes over a wire

    while trying to make a presentation or simply playing a video from my MacBookAir over thunderbolt/HDMI table to large screen I am experiencing problems with audio only being played from the MBA and not the soundsystem built in to that screen (unless using a VLS application and manually selecting the audio output target).
    Please help in finding how to steer audio output device  using 2in1 cable such as thunderbolt?

    Hi jar9,
    If you are not hearing audio over your HDMI/Thunderbolt connection, you may want to see if it is showing up as a selectable audio output as outlined in the following article:
    OS X Mavericks: If you can’t hear sound from your speakers
    http://support.apple.com/kb/PH13841
    Regards,
    - Brenden

  • Won't display Album Art while playing music and the screen is Locked

    So what's happening is that while I'm playing music and I lock the iPod, it won't display the album art. Only my wallpaper, which is one of the wallpapers that come with the iPod.

    Reboot fixed it

  • Is there a fix for metro apps audio ducking while in a Skype call

    Hello, I have been looking all over the internet for a fix for this but so far it doesn't seems like there is a way to fix this.
    I'm trying to use Metro apps while in a Skype call but if I click out of the app the volume lowers to about 20% of what it was at before.
    "When Windows detects communicates activity" is set to "Do nothing" but it does not control the Metro part of windows 8.1.
    Is there some type of hack that be used to stop Metro apps from lower the volume when in a Skype call, Teamspeak or Mumble. As a gamer this makes the Metro part of Windows completely useless.

    Hi,
    I made a test in my testing enviroment, when using Skype(Store APP) for phone call, system background volume would reduce, while after I'm back to desktop, it would return to former volume.
    For your situation, this problem can be caused by Sound Card driver problem, you can try to reinstall Sound Card driver for test.
    If no use, please also try to reinstall Skype for test.
    Roger Lu
    TechNet Community Support

  • On my ipnone 3gs the ipod play symbols appear on screen in locked mode???

    when my ipnone 3gs is in lock mode, sometimes the play symbol from the ipod apperas on top half of the screen? anyone know why is it doing this? please help

    Double-tapping the "Home" button at the bottom of the iPhone when in locked mode displays/hides the play/pause etc symbols, so that you can control your music without having to unlock your phone

  • TS3694 While downloading itunes screen got locked error 1611

    In my iPad 2 while updating iTunes software after connecting with PC through USB the screen got stanstill on iPad  with iTunes Logo & USB wire visible on the screen. It is not getting closed as well on switching off sleep button. On restoring itwas earlier showing error 1611 & now showing error 1603. Kindly advise.

    Recovery Mode
    1. Disconnect the USB cable from the device, but leave the other end of the cable connected to your computer's USB port.
    2. Turn off the device: Press and hold the Sleep/Wake button for a few seconds until the red slider appears, then slide the slider. Wait for the device to turn off.
    3.While pressing and holding the Home button, reconnect the USB cable to the device. The device should turn on.
    4. Continue holding the Home button until you see the "Connect to iTunes" screen. When this screen appears, release the Home button. iTunes should alert you that it has detected a device in recovery mode. Click OK, and then click Restore to restore the device.
    Note: Data will be lost. You may have to repeat the above many times.

  • Upgrade to flash on kindle fire

    I've tried to download this and have even picked every option yet it's still saying not installed and I can't watch any videos on YouTube help please

    Your Kindle Fire uses the Android Operating System.
    Adobe stopped ALL development of Flash for Android last year. (July 2012) That includes Kindle as well as Samsung Tablets.
    This is from Samsung Support (07/31/2013):
    "Beginning August 15, 2012 we will use the configuration settings in the Google Play Store to limit continued access to Flash Player updates to only those devices that have Flash Player already installed. Devices that do not have Flash Player already installed are increasingly likely to be incompatible with Flash Player and will no longer be able to install it from the Google Play Store after August 15th, 2012."
    And from Kindle Support (07/31/2013):
    "The Amazon Silk web browser on Kindle Fire 1st Generation supports some, but not all, versions of Flash. Adobe Flash is pre-installed on a 1st Generation Kindle Fire and is disabled by default.
    If you see a message to install Flash while using your Kindle Fire, this means that the content you're attempting to view uses Flash. If you want to view the content, you'll need to enable Flash through the Silk settings menu.
    If a web page suffers from slow performance due to Flash, or you're unable to view a web page with Flash enabled, we recommend switching to mobile view when browsing a Flash-heavy website to see if that solves your problem:
    Some popular websites may also have an app available. Check Amazon Appstore, accessible through the Apps library on your Kindle Fire, for availability.
    The Amazon Silk web browser on Kindle Fire 2nd Generation, Kindle Fire HD 7", and Kindle Fire HD 8.9" doesn't support Flash.
    Some sites use alternative web technologies to Flash in their mobile versions. We recommend switching to mobile view when browsing a website with Flash content to see if that solves your problem:
    Some popular websites may also have an app available. Check Amazon Appstore, accessible through the Apps or Games library on your Kindle Fire, for availability."
    http://helpx.adobe.com/flash-player/kb/archived-flash-player-versions.html
    There are older versions of Flash Player (for Android) at that link, but there are no guarantees any of them will work.
    See also: http://forums.adobe.com/thread/1061194
    I've read a lot about "Dolphin" for Android https://play.google.com/store/apps/details?id=mobi.mgeek.TunnyBrowser
    I'm not an Android user (no tablet or phone) so I can't make any endorsements that would hold any credibility, but most of the Flash solutions I've read point to Dolphin as the best alternative.
    Check the Android forums: http://androidforums.com/ to see what their "gurus" recommend.

  • Itunes match and kindle fire

    Will iTunes "match" let me play my PC music library on my kindle fire hd

    Welcome to Apple Support Communities
    iTunes Match only works with iPhones, iPads, iPods, and Macs and PCs with iTunes, so it does not work with your Kindle Fire. In this case, you would need to sync your music with it through the appropiate app to sync your Kindle Fire with your PC.

Maybe you are looking for

  • How do I use my Airport Express 1st generation to extend my wireless network?

    Hi all, I've got an old time capsule (1st gen) and a 1st gen airport express in another room with a USB printer connected. There's up to 100 meg broadband from a virgin hub, but that is connected by ethernet to my time capsule.  I then configured the

  • Windows 7 install pendrive not showing in boot of Macbook Pro 3,1

    Hi, I have a 2007 Macbook Pro, and my superdrive has been broken for a while now, but because of work reasons I have to Install Windows 7 in it. I have an external Samsung DVD drive, and I have created several install pendrives with every tool known,

  • What's Wrong With iTunes 11? It's Extremely Annoying!

    What ' s wrong with iTunes? Both of stores -in browser and iTunes- crash. Apple need to handle this because I can't buy anything and surf on the store. I hope the image can explain my problem. Thank you in advance. This happened after updating from 1

  • Transferring from imac to ibook

    Hi...my first computer was a blue iMac, originally released in 98 with a tray-loading cd....i have lots of pictures and files on there that i would like to transfer to my ibook G4 laptop before I pass the iMac onto a young friend for her first comput

  • Can't Add Custom Artwork for Imported Movies...

    I recently made a home video and exported it to iTunes with iMovie HD. I want to add my own picture for the artwork, but whenever I try to, iTunes always freezes. When I restart iTunes, I cannot edit the artwork and I can't play the movie. Any ideas