Sound and SoundChannel question when the screen is off

Platform: AIR 3.8 on Andorid

Classes: SoundChannel & Sound

Background: I am writing an application that plays the songs one after another. I'm listening to the SoundChannel instance soundComplete event. When the current song is finished, it will create a new Sound object, the sound will then load a URL and play the next song. It worked fine when the application is activated.

Question: when the application is reduced or if the screen is off, the next song will not be played. I have to switch him back to the app or turn on the screen, then the next song will be played automatically again. I don't know if it's because the of the SoundChannel object soundComplete event will not fire when the screen is off, or if it's because the Sound object doesn't start loading when the screen is off.

Resolved by the update to version swf SDK 3.9 and export 11.9

Tags: Adobe AIR

Similar Questions

  • Is it possible to cut all the sounds and haptic feedback when the iPhone is connected to Carplay Apple?

    Is it possible to cut all the sounds and haptic feedback when the iPhone is connected to Carplay Apple?

    While driving, I noticed that all the comments navigation are also sent to my phone, creating a distraction while driving. Is there an automatic way to stop sending alerts to my watch whil the iPhone is also connected to Carplay?

    If this is not the case, consider this as your comments/request. If there is, please share. I do not want to switch manually and on all notifications when you use Carplay.

    Best regards

    Q

    Hello

    It may help to place your watch in mode do not disturb before driving:

    -On your watch: when the time display, drag upward on the dial of the watch > drag left/right to the gaze of settings > tap the moon to turn do not disturb on and outside.

    You can also disable mirroring for do not disturb mode. When mirroring is enabled, turning on do not disturb on your watch also automatically her allow on your iPhone.

    -On your iPhone, in the application of Eve, go to: Watch My > General > do not disturb - turn the market / stop iPhone mirror.

    To send comments and/or service requests to Apple, you can submit the form here (all comments are read):

    https://www.Apple.com/feedback/watch.html

    (This is a supportive community focused on user - you don't talk to Apple here).

  • Bluetooth freezes when the screen turns off

    Having a problem with the Bluetooth on my pre. I coupled it with a Plantronics Voyager 855. Initial pairing works very well, but after the screen on the pre turns off, the connection goes bad. When I turn the screen back on, the Bluetooth application on the phone always displays the connected headset, but it is not. If I try to play music, there is no sound, and if a call comes in, I can hear the person on the phone, and not on the helmet.

    About 30-45 seconds after the screen turns off, I hear the high tone of the headset which means that it has lost connection. I don't think that the headset is bad. It worked very well with my previous phone.

    If I have music when the screen turns off, the connection is very good. It's like, when there is no active communication between the phone and the headset, and the screen turns off, the bluetooth on the phone goes into a blocked State. I can restore the connection by turning off bluetooth on the phone and then on again. It reconnects to the helmet, until the next time the screen turns off.

    I tried this to get a better idea of the problem...

    If I remove helmet > disable bluetooth phone > turn on bluetooth on the phone > put the headset in pairing mode, it pairs fine.

    If I remove helmet > disable bluetooth phone > turn on bluetooth on the phone > turn off the screen > wait 45 sec > turn on the screen > put the headset in pairing mode, then it does not.

    Again, it is like turning off the screen causes the bluetooth of the phone hang. Given that the screen turns off fairly quickly, I basically disable bluetooth phone and back on every time I want to use it.

    Any thoughts?

    My problem is solved.  Turns out that I had a defective unit.  He traded last night, and it works fine now.  Got the yellow box this time.  First of all, we had the black cover.

    The swap was a little complicated.  I bought in a store of absolute Wireless in Garner, North Carolina.  It is a reseller of third party.  They did it to a Sprint service center to have a technician "certify" the default before they would replace it by car through the city.  And of course, the service center couldn't do the replacement, so I had to go back through the city to the point of purchase after they certified it.  Best of all, the procedure of "certification" involved explaining the problem to the technician for about a minute, she agreed with me that it was malfunctioned and his writing his employee with the ID on the back of a business card to bring back me to the first shop.  She has not yet turn the phone on itself.  She said pretty much the guy to the absolute Wireless has been a * beep * by sending me to it in the first place b/c, we could just do this by phone.  PITA BREAD.  But I suppose it is, that's what I to do not buy directly from Sprint.

  • App background stops when the screen turns off

    I wrote an Android app with a Service that receives events from the LocationService and the accelerometer and always try now to wear 10 BlackBerry. Tests on a Z10 STL100-2 10.1.0.4181

    Once the unit has remained unchanged for some time, the location listener is not registered, in order to save energy, and re-recorded a trip again.

    Don't worry, this can be disabled via the visible activity. But it must continue with the last State (start/stop) after the reboot.

    I even magically figured out how to add additional permissions for the manifest of BAR: "_sys_android_autostart_service" and "run_when_backgrounded".

    But as soon as the screen turns off, my application stops working. No location or accelerometer case being received. Turn on the display again, everything back to normal.

    It is meant to be a question about the accelerometer, but I could not find in the tracker.

    So my questions are:

    -Is it possible to port Android continue to receive events location when the screen is off?

    -Is it possible to port Android continue to receive events of accelerometer when the screen is off?

    -Will my service to continue to operate if more than 8 Apps began after mine? (And the user did not hit the close button)

    -The "headless" 10.2 mode help? (I currently only test with 10.1, because my service provider has not yet unlocked 10.2)

    -Finally, this would be possible with a native application? (I could port the port iOS... lots of fun...)

    Thank you very much for your help!

    PS: If it's of any interest: I use the plugin V1.6.1 Eclipse/ADT to package and install the bar.

    As reported here as well (and I'm sure in other places)

    http://supportforums.BlackBerry.com/T5/Android-runtime-development/accelerometer-turns-off-when-Scre...

    I'm working on a deal in the next version, similar to what we're doing with location requests (in other words, activate us the background mode if your app acquires a partial wake lock).

    Edit:

    So my questions are:

    -Is it possible to port Android continue to receive events location when the screen is off?

    (Yes, but you must hold a wake lock).

    -Is it possible to port Android continue to receive events of accelerometer when the screen is off?

    (For the moment, no, but I'll change that, so it behaves like location.)  Mind you, this could be used to work on old revisions of the software until the native sensors team added a background of sensor mode which is disabled by default and must be explicitly enabled).

    -Will my service to continue to operate if more than 8 Apps began after mine? (And the user did not hit the close button)

    (There are a lot of thing that matters if your Services happens to run or not, which is not limited to, but includes the number of applications already running and the status of the device memory).

    -The "headless" 10.2 mode help? (I currently only test with 10.1, because my service provider has not yet unlocked 10.2)

    (No, it's a native thing.  Your application is already technically without head)

  • Pre Bluetooth crashes when the screen turns off

    Having a problem with the Bluetooth on my pre. I coupled it with a Plantronics Voyager 855. Initial pairing works very well, but after the screen on the pre turns off, the connection goes bad. When I turn the screen back on, the Bluetooth application on the phone always displays the connected headset, but it is not. If I try to play music, there is no sound, and if a call comes in, I can hear the person on the phone, and not on the helmet.

    About 30-45 seconds after the screen turns off, I hear the high tone of the headset which means that it has lost connection.

    I don't think that the headset is bad. It worked very well with my previous phone.

    If I have music when the screen turns off, the connection is very good.

    It's like, when there is no active communication between the phone and the headset, and the screen turns off, the bluetooth on the phone goes into a blocked State.

    I can restore the connection by turning off bluetooth on the phone and then on again. It reconnects to the helmet, until the next time the screen turns off.

    I tried this to get a better idea of the problem...

    If I remove helmet > disable bluetooth phone > turn on bluetooth on the phone > put the headset in pairing mode, it pairs fine.

    If I remove helmet > disable bluetooth phone > turn on bluetooth on the phone > turn off the screen > wait 45 sec > turn on the screen > put the headset in pairing mode, then it does not. Again, it is like turning off the screen causes the bluetooth of the phone hang.

    Given that the screen turns off fairly quickly, I basically disable bluetooth phone and back on every time I want to use it.

    Any thoughts?

    My problem is solved.  Turns out that I had a defective unit.  He traded last night, and it works fine now.  Got the yellow box this time.  First of all, we had the black cover.

    The swap was a little complicated.  I bought in a store of absolute Wireless in Garner, North Carolina.  It is a reseller of third party.  They did it to a Sprint service center to have a technician "certify" the default before they would replace it by car through the city.  And of course, the service center couldn't do the replacement, so I had to go back through the city to the point of purchase after they certified it.  Best of all, the procedure of "certification" involved explaining the problem to the technician for about a minute, she agreed with me that it was malfunctioned and his writing his employee with the ID on the back of a business card to bring back me to the first shop.  She has not yet turn the phone on itself.  She said pretty much the guy to the absolute Wireless has been a * beep * by sending me to it in the first place b/c, we could just do this by phone.  PITA BREAD.  But I suppose it is, that's what I to do not buy directly from Sprint.

  • Yoga 2 pro 13'3 andro tab stops automatically when the screen is off & dosnt start evn battery is30 - 80%

    Hello

    I am facing this problem with Yoga 2 pro 13'3 pellets. It stops automatically when the screen is off and dosnt start until it is connected to the charger and press the same power button 30 to 80% battery. I don't know what it is. This happens every time

    No help for it?


  • Accelerometer turns off when the screen is off

    When testing my application on a Z10 android port the accelerometer turns off when the screen is off. A partial wake lock does not turn the sensor back on. A wake dim screen lock is needed to re - turn on the detector. This behavior forces the screen to be all the time when an application requires the use of these sensors.

    An example would be a pedometer recording the steps throughout the day. In order to operate the screen must be turned on by the application that runs in the background. This will cause a fast draining of the battery and is not an acceptable solution.

    On Android, a partial wake lock is enough to keep the accelerometer running.

    I think this should be reported as a deficiency, a lot of motion carried since Android applications will be blocked by this and my app port is one of them.

    Tested on system Z10, model number STL100-3. Version of the 10.1.0.273 software

    The fix will appear in MR 10.2, 10.2.1 aka.

    I recently submitted a fix for the problem.

  • U2715H - Windows automatically resized when the screen turns off then turn it back on

    • Windows 8.1 Pro
    • 1 single monitor connected to the PC
    • native resolution 2650 x 1440 at 60 Hz the value
    • through CDM of the monitor to the RFP the ti EVGA 750 SC (cable Dell)
    • all drivers updated on 28/12/15

    I just bought this monitor and I noticed this strange behavior. Whenever I have turn off the monitor (or it will turn off by itself), if I didn't have a maximized window, all windows (regardless of size) gets automatically resized to fit in the left upper quadrant when the screen turns back on again.  If I had something full screen, this behavior does not occur.

    I find this very annoying. This behavior happened with my previous monitor, which was only 1080 x 1200.

    I was unable to find any setting for the U2715H disable this "feature". This isn't because EasyArrange from Dell. I do not use this feature. And this always happens with Display Manager not installed.

    Is it just a 'feature' of Dell U2715H? Is responsible for Windows? Help, please.

    TIA

    There was no pilot or changes to the hardware of my first post.  BTW, my monitor is a Rev A02.

    A few days after my previous message, another question emerged.  Monitor flash intermittently ON / OFF every few seconds.  I unplugged/replugged the cable CDM - DP and that seems to fix things... until the next day.  This time, I nothing could fix the random rotation power SWITCH of the monitor.  Desperate, I decided to plug an old HDMI cable, I had to hang out.  Flashing problem has been resolved.  Not only this, using HDMI solved my original problem of auto resizing windows.

    The solution to my original problem: use an HDMI cable.  I went to the Dell CDM - DP cable and the problem has been resolved; no more windows resize automatically when the monitor turns off in sleep/towers.  I always get the native resolution at 60 Hz and there is no noticeable disadvantages to the use of the HDMI versus DP interface.  I've been using the HDMI cable for about a week and there is no other issue.

    Just for additional verification, I bought an Accell UltraAV DP - DP 1.2 cable (B142C-007 b-2), one of the few officially approved by VESA (see link below).  Using this cable does NOT my automatic window resizing problem original.  I do not use it long enough to see if they would prevent the random flashing question.

    I still don't know the exact cause of my original question.  I guess it's a driver problem with DisplayPort standard.  But if you do not need DP 1.2 functionality, I suggest that you just use your GPU HDMI output (if she has a).

    www.DisplayPort.org/.../How-to-Choose-a-DisplayPort-Cable-and-not-get-a-Bad-One

  • Connection Bluetooth SPP suspended when the screen turns off

    Hello

    I have a weird behavior of my application connected to Bluetooth.

    The Bluetooth of my application part is identical to the bluetoothchatspp. The connection is made in this way:

    bt_device_init (BTControllerCallback);
    bt_spp_init();

    bt_spp_open (m_remoteAddress.toAscii (). Data(), (char *) SPP_SERVICE_UUID, false);

    using

    SPP_SERVICE_UUID as '00001101-0000-1000-8000-00805F9B34FB '.

    If I disable the screen timeout with this qml command "Application.mainWindow.screenIdleMode = 1" then I can send and receive data via SPP for hours.

    Now, if the screen times out, exactly 10 sec after the time-out period (regardless of the timeout settings is), the BT link is suspended which means no data are sent and received. I measured this interval using the system clock and catch the signal with this command:

    connectResult = QObject::connect (bb::cascades:Application:instance (), SIGNAL (asleep ()), this, SLOT (onAsleep ()));

    Once the screen is again (make a shot for example) then the resumption of transfer of data without breaking the BT link.

    Is there a feature suspending BT SPP link when saving the screen turns off?

    I need to read stream data from my sensors so I need to disable this feature.

    You have the

    run_when_backgrounded
    

    authorization to the handle bar?

  • Satellite L650-11R - its is trolling when the screen is off

    Hello people.

    I have an interesting problem. In fact, I have a Satellite L650-11R and TV Panasonic TX P42X10Y.

    When I connect the laptop and TV via HDMI and everything works as it should be, games, movies, but everything works fine until the screen of the laptop is open. While it is closed or if you switchmake the TV your main screen or the office, the sound in the movies is bad.
    And not every 30 seconds or minutes rather than continuous. Picture is great, but the sound is a disaster, even a few seconds do not hear a thing.

    The laptop is not even a week, codecs are concerned probably not because the sound works in the movies when the laptop is open.

    Any help appreciated

    PS Sorry for the English

    Hey,.

    To be honest, I never heard such a problem. For example if I connect my laptop to TV cable HDMI I always have good sound quality, even I use two monitors or monitors only.

    In any case, what operating system you have? You use the version preinstalled Windows or another?

    First of all I would update the audio driver. His most recent driver, you can download from the official website of Toshiba:
    http://EU.computers.Toshiba-Europe.com > support & downloads > download drivers

  • Windows 7 will not change main display when the screen is off

    Hello

    I am running Windows 7 Professional 64 bit on a computer laptop Dell Precision M6800, Nvidia Quadro K3100M graphics card.  I have a 3-monitor Setup: a monitor being the laptop LCD and the other two being Dell U2414h.  My laptop is on the far right.  I had these in extended mode with the installation of Garland Display Port 1.2 for about 1.5 years.  Due to the massive headache of configuring Garland DP1.2 is not not reliable (tons of forums about this) with these monitors, I recently bought a HDMI 2.0 cable so that I could run a U2414h off the coast of the DP1.2 port on my laptop and the other U2414h on the HDMI port on my laptop.  When all three monitors were turned on, I like my main screen for the monitor at the far right.  With the previous configuration of Garland, my main screen would move left to right like my monitors have been disabled (left to right).  With this current configuration (through DP1.2, the other via HDMI), my main screen does not move to my average when the left monitor, we stop, so when I disable my left monitor, I lose my taskbar and all icons (they don't move to another monitor).  Did someone else using a similar setup where they had this problem, and there a will?

    Thanks in advance!

    Have you tried to do the steps on this link?

    Other factors, why you can't reach your goal:

    • Port different types/versions.
    • Port types/versions are not supported.
    • Suggest to use a different separator to display that supports this type of installation.
  • Two problems that seem to be related. The screen turns off suddenly and reappears when the mouse is clicked. At the same time, the cursor insertion point disappears.

    The cursor disappears during the strike. It is blackened and cursor disappeared three times during the typing of this sentence. Very frustrating! I'm running Windows 7 Pro on a Dell Inspiron.

    Hi Ed,

    Thanks for posting your question in the Microsoft community.

    I understand that you have 2 problems on your Windows 7 computer.

    1. The screen turns off when you click with the mouse.
    2. The cursor on the screen disappears while typing.

    Let me know if this interpretation is erroneous. To better understand the issue, let me ask a few questions.

    1. What is the brand and model of the computer?
    2. You did changes to the computer before the show?

    I am here to help you and I suggest these methods to solve the problem.

    Method 1:

    Start the computer in safe mode and check if the same problems occur. Safe mode allows only a minimum set of services to load, this will help us to know if a service is causing the problem.

    Startup options (including safe mode)
    http://Windows.Microsoft.com/en-us/Windows7/advanced-startup-options-including-safe-mode

    Method 2:

    If the problem does not occur in safe mode, and then perform a clean boot, this will turn off non-Microsoft services and therefore to determine if any non-Microsoft service is causing a conflict for the problem to occur.

    How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7

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

    Note: once the diagnosis is made, follow the steps in the article to configure the computer to start the Normal start.

    Method 3:

    The question could have occurred because the drivers on your computers are not updated. See the link, follow the steps and update the drivers.

    Update drivers: recommended links

    http://Windows.Microsoft.com/en-us/Windows7/update-drivers-recommended-links

    You can also check this link for more information.

    Updated a hardware driver that is not working properly

    http://Windows.Microsoft.com/en-us/Windows7/update-a-driver-for-hardware-that-isn ' t-work correctly

    View the status of the issue. If the problem persists then let know us, we will provide several methods.

  • How can I save by iPad 3 when the screen is black and nothing appears?

    How can I save my iPad in ITunes or iCloud 3 when the screen is black and nothing appears?

    Is the empty screen, because just the screen is broken, or is the iPad just dead? Have you tried a soft-reset/reboot it?

    At least you can see what you touch on the screen of the iPad, you cannot force a backup to iCloud.

    If the iPad still works and is connected to wifi, a backup should automatically happen (if iCloud backups are enabled) if it is connected and the locked screen.

  • On my iMac OSX El Capitan v 10.11.3 when editing of photos and work between them the screen takes over and moves the picture on the next picture before Ive had the chance to edit, I then fold the photo required to try again. This can hap

    On my iMac OSX El Capitan v 10.11.3 when editing of photos and work between them the screen takes over and moves the picture on the next picture before Ive had the chance to edit, I then fold the photo required to try again. This can happen several times and its so frustrating.

    Similar thing TI also occurs when you are working on other programs on the mac, but not nearly as much.

    Guessing here, but try to disable drag between pages on the tab more than movements in the system preferences > mouse. or a Trackpad. Depending on whether you are using.

  • How can I change my HTTPS thing, so it isn't always pop up and ask questions about the sites Web secure when I play some games?

    Feel free to change the title

    How can I change my HTTPS thing, so it isn't always pop up and ask questions about the sites Web secure when I play some games?

    You're talking about Facebook?

    Try the gyration of the Secure Browsing

    http://www.Facebook.com/help?page=1079

Maybe you are looking for