play sounds after receive a boost BIS

Hi, how can I play sound after receive a boost of BIS.

When you receive the doorbell to your application, start a player:

http://supportforums.BlackBerry.com/T5/Java-development/audio-and-video-playback/Ta-p/442788

Tags: BlackBerry Developers

Similar Questions

  • Keep playing sound after pressing the home key in iOS

    Hello!

    I have an application that loads an MP3 from a URL and then read it (Flash cs6 - Air 3.9)

    In Android (when I publish it as APK), when the user press Power, or reduce the App, the sound continues to play (I like)

    But the same code in iOS, when I press Home or Power, the sound "paused" and continue playing only after I re - activate my App.

    I tried to resolve it with this line of code:

    NativeApplication.nativeApplication.executeInBackground = true;

    But without success.

    Everyone please help me what should I do to prevent the INTERRUPTION of the sound in my application after pressing Home and Power iOS ?

    Thank you in advance.

    Hi Pouradam,

    I know it sucks.

    On iOS, the only way to have a sound be played while the application is reduced to a minimum, is if the application is actually running in the background (obviously).  To do this in the application manifest, you must set UIBackgroundModes = audio, as follows:


    UIBackgroundModes

    audio

    ]]>

    However, since "batterygate" on iPhone4, Apple has been tightening its policy on applications that unnecessarily run in the background.  If the sound is supposed to play continuously (ex: music player), then they will * probably * be ok with it.  But if the sound is intermittent (even if it's the sound a clock radio alarm), they will likely ban.

    So, if you want your application to play intermittent sounds while in the background, your only chance is to configure notifications and associate a sound for notifications if you can.

    If you try the road local of notification, to help DONKEY of Juan Carlos Pazmino, however, that the sound function is broken right now, at least on iOS 5.1.1.  Also, at the time where he worked, I was not able to choose the sound through the app: I got was the standard "ding" sound.  Maybe push notifications are more robust.

    See you soon.

  • audio files do not play sound after the restoration of the links

    I recently moved to a project from one disk to another.

    When I opened it the project folder I had to recreate a link to all the media which seemed to have a lot of success. However the audio files do not seem to play any sound. When I tell one of the audio files in the finder window, it take me for an alias file. When I try to open this file, it indicates that the original file cannot be found.

    I tried to remove the entire library of files sound and re-import them back in. But still, it does not solve this ridiculous issue.

    Any suggestions?

    Thank you

    Karl

    Are music protected audio files?

    Russ

  • I can't hear any sound when you play a HDMI video uploaded to youtube, plays very well while on youtube but will not play sound from my hard drive after the use of realplayer download

    I can't hear any sound when you play a HDMI video uploaded to youtube, plays very well while on youtube but will not play sound from my hard drive after using the lplayer rea download

    Hello

    We will try to download different video using different downloader (other than RealPlayer) and see if the problem still persists.

  • No sound after upgrading to Windows 7

    No sound in Windows 7

    Yesterday, I upgraded from XP to Windows 7. Once completed, I tried to listen to music. Sound indication bar was moving, but I couldn't hear anything. I checked the speaker connections and even tried the plug to headphones, but still no sound. The Device Manager shows all the problems and I do not receive the error messages. The ONLY change I made was... before upgrade, sound; After that, no noise.

    Hello Jgh54,

    Thank you for your message.  Let us make sure that your playback devices are enabled.
    Right click on the speaker on your taskbar icon > select "playback devices".
    In the empty space, right-click and select both "Show disconnected/Disabled Devices.
    You can see icons for your speakers and headphones now?  You may need to activate these two.
    You can also try the troubleshooter to find connection issues that may exist, the instructions are below:

    Click 'Start' > select 'control panel '.

    Type of troubleshooting in the top-right search field > select "troubleshooting."

    Click "Hardware and sound" > select "play Audio".

    Please let us know if it did or did not help to solve your problem.

    See you soon

    Engineer Jason Microsoft Support answers visit our Microsoft answers feedback Forum and let us know what you think.

  • Firefox does not play sound in any HTML5 player.

    When trying to play any sample of any album sold in Bandcamp.com the player starts to play, but there is no sound. Meanwhile, other browsers it plays very well.

    I use the last FF, I tried to disable various addons and plugins, but it did not help (they are not sound related in any case).

    I run on Win8x64.

    Update: the sound plays very well everywhere else on Firefox. YouTube, etc. He plays everywhere except Bandcamp.

    And the Bandcamp player is not Flash, it has nothing but associated with Flash. It's the HTML5 player.

    SOLVED

    Finally, after hundreds of hours I fixed it and Firefox plays sound in HTML5, YouTube (HTML5 mode), SoundCloud, Bandcamp and etc.

    It takes: right click on your speaker icon / in the system tray and select playback devices, go to properties of speakers (one that is green-checked, also turn off the reds, as appropriate), then go to improvements and check Disable all sound effects. And that of it, restart the browser and enjoy.

    In short: Volume mixer-> peripheral reading-> reading tab-> properties-> improvements speakers-> disable all sound effects-> restart of the browser.

    I use latest stable Firefox 23.0.1 on Windows 8 x 64 (but Firefox is 32-bit).

    In addition, if didn't need help, make sure that you have media.windows - media - foundation.enabled value 'true' about: config.

    You should also have a few decent codecs installed on your machine, I have VLC Player and it comes with lots of built-in codecs. Also make sure you have VLC Web Plugin active in Add-ons-> Extensions (always activate)

    So the answer is which a problem is who? Is Firefox? Or Windows 8? Or my fault of Realtek audio drivers? (In any case without disabling sound effects, HTML5 works fine in another browser, so I blame this nonsense for additional configurations in the audio settings of Windows with Firefox)

    So pretty much it.

    See you soon,.
    rhazor

  • Re: No sound after install Vista - Tecra M7

    I improved my Tecra M7 to Vista (and then upgraded to Vista SP1) but the computer is no longer plays sounds (no music, no sound system - nothing)

    I installed the latest Realtek HD driver, I have the latest version of the Bios.

    Device Manager indicates that everything is working. "Speaker" icon tells me that his work (the green bar follows the beat of the music)

    The volume & button Mute works - I can't get the "speaker" modifying, turning to the top/bottom/inhibition icon. I tried the headphones in and out.

    I checked the bios if the sound card has been disabled it - but it seems that there is no possibility to change the settings of the sound card in the bios.

    Does anyone have an idea on what I'm doing wrong here?

    Maybe I can help you;

    I read on a sound problem after installation of Vista it happened if XP was preinstalled on your laptop and the mute box was accidentally activated.

    [No sound after upgrading to Windows Vista: http://aps2.toshiba-tro.de/kb0/TSB7C021B0001R01.htm]

    Check the Toshiba TSB article tool

    Concerning

  • ENVY Ultrabook 4-1118tu: no sound after upgrade windows 10

    I've updated for windows 10 (probably my first mistake)

    First of all, I got the screen flashing - problem was to restore the computer difficulty settings - this is not the current issue, gives just some information.

    Since then, I've lost ALL SOUND.

    Not only I lost the sound, but I have no devices appearing in the play sounds option more.

    After reading several messages forum - it's what I tried

    HARD RESET - no change

    REMOVE IDT high definition codec, restart maching - no change

    Codec IDT high-definition REMOVING, RESTART HARD - no change

    Downloaded a file sp63932, it says that it was incompatible

    RUN HP SUPPORT ASSISTANCE, he said that there is no error and no update

    WINDOWS UPDATE - he said that there are no updates

    NO SOUND through speakers or LAPTOP computer (obviously, no audio playback device installed) - no change

    Tried the driver UPDATE, using devices - get the error message in the image

    I'd appreciate some help here.

    Have spent about 4 hours on this now and not getting any where - would just have the back of his.  ;(

    Thank you

    Erin

    Hi, Erin:

    Two other members of the forum lost sound on a computer desktop and laptop PC with the IDT audio controller after upgrading to W10.

    What has worked for them was to install the audio driver IDT W8.1 support their PC and driver page.

    It's the support page for your laptop.

    This package contains the driver that allows Audio IDT high definition (HD) in the notebook models that are running a supported operating system.

    File name: sp60188.exe

  • No sound after generation to LV 12

    My Labview exe will not play sound

    It is in the project, when I modify the program and run I can read wav files

    but after I generated the exe file (using the project to build) the sound no longer works.

    -kurt

    auerdoan wrote:

    My Labview exe will not play sound

    It is in the project, when I modify the program and run I can read wav files

    but after I generated the exe file (using the project to build) the sound no longer works.

    -kurt

    Any type of error handling?  My guess is that the paths changed on you and the executable knows more where the .wav files.  But you won't know unless you make your own error handler because the automatic error handling is disabled by default in an executable file.

  • Dv4-1413tx - no sound after downgrade to xp vista frm

    Hello...

    I recently bought a HP dv4-1413tx with vista home premium pre-installed on it. I tried it downgrade to Windows XP SP2. Managed to install XP on it but feels a hell of a time with drivers... Especially the audio. There is absolutely no sound. Not even the beeps.

    I tried to install UAA audio bus driver first and then the driver of HDTV LSI etc. but still no sound. I spent several hours on this subject...

    Peut - some kind soul please direct me on how to go about this case?

    I remember that I was in a similar situation some two years back in an attempt to re - install Windows XP on another laptop from my friend. We install everything except the audio. Finally, the technician at the shop could install for us. Now I'm away from the place... So can not go and find out that the man how it install it. It was also a HP laptop only...

    I would like to add that the mute button stays red and does not respond when you press.

    There is nothing about Audio in Device Manager... Maybe that's the problem.

    These are the hardware ID:

    ===========
    PCI devices
    ===========
    PCI\VEN_10DE & DEV_06EC & SUBSYS_30F7103C & REV_A1\4 & 23FE4F77 & 0 & 0008: NVIDIA GeForce G 105M
    PCI\VEN_10EC & DEV_8168 & SUBSYS_30F7103C & REV_02\4 & 22AB4E2B & 0 & 00E3: Realtek RTL8168C (P) / 8111C (P) PCI-E Gigabit Ethernet NIC
    PCI\VEN_8086 & DEV_2448 & SUBSYS_00000000 & REV_93\3 & B1BFB68 & 0 & F0: Intel(r) 82801 PCI Bridge - 2448
    PCI\VEN_8086 & DEV_2919 & SUBSYS_00000000 & REV_03\3 & B1BFB68 & 0 & F8: Intel(r) ICH9M LPC Interface Controller - 2919
    PCI VEN_8086 & DEV_2929 & SUBSYS_30F7103C & REV_03\3 & B1BFB68 & 0 & FA: Intel(r) ICH9M-E/M SATA AHCI Controller
    PCI\VEN_8086 & DEV_2930 & SUBSYS_30F7103C & REV_03\3 & B1BFB68 & 0 & FB: Intel ICH9 Family SMBus Controller - 2930
    PCI VEN_8086 & DEV_2934 & SUBSYS_30F7103C & REV_03\3 & B1BFB68 & 0 & E8: Intel ICH9 Family USB Universal Host Controller - 2934
    PCI VEN_8086 & DEV_2935 & SUBSYS_30F7103C & REV_03\3 & B1BFB68 & 0 & E9: Intel ICH9 Family USB Universal Host Controller - 2935
    PCI\VEN_8086 & DEV_2936 & SUBSYS_30F7103C & REV_03\3 & B1BFB68 & 0 & EA: Intel ICH9 Family USB Universal Host Controller - 2936
    PCI VEN_8086 & DEV_2937 & SUBSYS_30F7103C & REV_03\3 & B1BFB68 & 0 & D0: Intel ICH9 Family USB Universal Host Controller - 2937
    PCI VEN_8086 & DEV_2938 & SUBSYS_30F7103C & REV_03\3 & B1BFB68 & 0 & D1: Intel ICH9 Family USB Universal Host Controller - 2938
    PCI\VEN_8086 & DEV_293A & SUBSYS_30F7103C & REV_03\3 & B1BFB68 & 0 & EF: Intel ICH9 Family USB2 Enhanced Host Controller - 293-a
    PCI\VEN_8086 & DEV_293C & SUBSYS_30F7103C & REV_03\3 & B1BFB68 & 0 & D7: Intel ICH9 Family USB2 Enhanced Host Controller - 293C
    PCI\VEN_8086 & DEV_293E & SUBSYS_30F7103C & REV_03\3 & B1BFB68 & 0 & D8: Bus Driver Microsoft UAA for High Definition Audio
    PCI\VEN_8086 & DEV_2940 & SUBSYS_00000000 & REV_03\3 & B1BFB68 & 0 & E0: Intel ICH9 Family PCI Express Root Port 1 - 2940
    PCI\VEN_8086 & DEV_2944 & SUBSYS_00000000 & REV_03\3 & B1BFB68 & 0 & E2: Intel ICH9 Family PCI Express Root Port 3 - 2944
    PCI\VEN_8086 & DEV_2946 & SUBSYS_00000000 & REV_03\3 & B1BFB68 & 0 & E3: Intel ICH9 Family PCI Express Root Port 4 - 2946
    PCI\VEN_8086 & DEV_2948 & SUBSYS_00000000 & REV_03\3 & B1BFB68 & 0 & E4: Intel ICH9 Family PCI Express Root Port 5 - 2948
    PCI\VEN_8086 & DEV_294A & SUBSYS_00000000 & REV_03\3 & B1BFB68 & 0 & E5: Intel ICH9 Family PCI Express Root Port 6-294 has
    PCI\VEN_8086 & DEV_2A40 & SUBSYS_00000000 & REV_07\3 & B1BFB68 & 0 & 00: Mobile Intel (r) 4 Series Chipset processor to DRAM - 2A 40 controller
    PCI\VEN_8086 & DEV_2A41 & SUBSYS_00000000 & REV_07\3 & B1BFB68 & 0 & 08: Mobile Intel (r) 4 Series Chipset PCI Express Root Port - 2 has 41
    PCI\VEN_8086 & DEV_4237 & SUBSYS_12118086 & REV_00\4 & 2A17DF6C & 0 & 00E2: Intel (r) Wireless WiFi Link 5100
    22 correspondent or the devices found.
     
    ===========
    USB devices
    ===========
    USB\ROOT_HUB\4 & 12221D3B & 0: USB root hub
    USB\ROOT_HUB\4 & 2044AD61 & 0: USB root hub
    USB\ROOT_HUB\4 & 29C7184A & 0: USB root hub
    USB\ROOT_HUB\4 & 32817C7F & 0: USB root hub
    USB\ROOT_HUB\4 & 37E9A870 & 0: USB root hub
    USB\ROOT_HUB20\4 & 2BF3D41C & 0: USB root hub
    USB\ROOT_HUB20\4 & 87AE6AB & 0: USB root hub
    USB\VID_03F0 & PID_171D\5 & 24058FCE & 0 & 1: integrated Module with Bluetooth 2.0 wireless technology HP
    USB\VID_0781 & PID_5150\20043513330A7FE20BF8: USB mass storage device
    USB\VID_174F & PID_1107\STK00001: USB Composite device
    USB\VID_174F & PID_1107 & MI_00\6 & 3AB7CE14 & 0 & 0000: USB video device
    USBSTOR\DISK&VEN_SANDISK&PROD_CRUZER_MINI&REV_0.1\20043513330A7FE20BF8&0: SanDisk Cruzer Mini USB Device
    12 person or the devices found.
     
    =============
    Input devices
    =============
    No matching device found.
     
    ============
    ACPI devices
    ============
    ACPI\ACPI0003\2 & DABA3FF & 0: Microsoft AC adapt
    ACPI\AUI0216\4 & B310638 & 0: Synaptics PS/2 Port Compatible TouchPad
    ACPI\ENE0100\3 & B1BFB68 & 0
    ACPI\FIXEDBUTTON\2 & DABA3FF & 0: ACPI fixed function key
    ACPI\GENUINEINTEL_-_X86_FAMILY_6_MODEL_23\_0: Intel (r) Core (TM) 2 Duo P8700 CPU 2.53 GHz
    ACPI\GENUINEINTEL_-_X86_FAMILY_6_MODEL_23\_1: Intel (r) Core (TM) 2 Duo P8700 CPU 2.53 GHz
    ACPI\HPQ0004\3 & B1BFB68 & 0: A sensor of HP Mobile Data Protection
    ACPI\INT0800\4 & B310638 & 0: Intel(r) 82802 Firmware Hub Device
    ACPI\PNP0000\4 & B310638 & 0: Controller Programmable interrupt
    ACPI\PNP0100\4 & B310638 & 0: System clock
    ACPI\PNP0103\4 & B310638 & 0: High precision event Timer
    ACPI\PNP0200\4 & B310638 & 0: Direct memory access controller
    ACPI\PNP0303\4 & B310638 & 0: Standard 101/102 key or Microsoft Natural PS/2 keyboard with HP QLB
    ACPI\PNP0A08\2 & DABA3FF & 0: PCI Bus
    ACPI\PNP0B00\4 & B310638 & 0: System CMOS/real time
    ACPI\PNP0C02\4 & B310638 & 0: Mother resources
    ACPI\PNP0C04\4 & B310638 & 0: Numeric data processor
    ACPI\PNP0C09\1: Integrated controller compatible ACPI Microsoft
    ACPI\PNP0C0A\1: Microsoft ACPI battery compatible control method
    ACPI\PNP0C0B\0: ACPI fan
    ACPI\PNP0C0C\2 & DABA3FF & 0: ACPI power button
    ACPI\PNP0C0D\2 & DABA3FF & 0: ACPI lid
    ACPI\PNP0C0E\2 & DABA3FF & 0: Sleep button ACPI
    ACPI\PNP0C14\0: Microsoft ACPI Windows Management Interface
    ACPI\PNP0C14\NVIF: Microsoft ACPI Windows Management Interface
    ACPI\PNP0C32\1: Direct Application Launch button
    ACPI\PNP0C32\2: Direct Application Launch button
    ACPI\PNP0C32\3: Direct Application Launch button
    ACPI\PNP0C32\4: Direct Application Launch button
    ACPI\PNP0C32\5: Direct Application Launch button
    ACPI\PNP0C32\6: Direct Application Launch button
    ACPI\PNP0C32\7: Direct Application Launch button
    ACPI\PNP0C32\8: Direct Application Launch button
    ACPI\THERMALZONE\THRM: ACPI thermal Zone
    ACPI_HAL\PNP0C08\0: System compatible ACPI Microsoft
    ROOT\ACPI_HAL\0000: ACPI Multiprocessor PC
    36 correspondent or the devices found.
     
    ============
    HDA Audio
    ============
    No matching device found.
     
    ============
    RAID devices
    ============
    PCI\VEN_8086 & DEV_2929 & SUBSYS_30F7103C & REV_03\3 & B1BFB68 & 0 & FA
    Name: Intel(r) ICH9M-E/M SATA AHCI Controller
    Hardware ID:
    PCI\VEN_8086 & DEV_2929 & SUBSYS_30F7103C & REV_03
    PCI\VEN_8086 & DEV_2929 & SUBSYS_30F7103C
    PCI\VEN_8086 & DEV_2929 & CC_010601
    PCI\VEN_8086 & DEV_2929 & CC_0106
    Compatible IDS:
    PCI\VEN_8086 & DEV_2929 & REV_03
    PCI\VEN_8086 & DEV_2929
    PCI\VEN_8086 & CC_010601
    PCI\VEN_8086 & CC_0106
    PCI\VEN_8086
    PCI\CC_010601
    PCI\CC_0106
    1 correspondents or the devices found.

    Can someone please help...?

    If someone who knows tell me how and in which order and what drivers to install, from the XP just installed and ready on the system, I would be very grateful... Then I will be re - install all drivers in the correct order after I freshly installed windows xp again!

    Thank you...

    Message edited by pjr on 20/07/2009 09:02

    @pjr.

    Drivers for Windows XP:

    Chipset Intel, (install and reboot before other drivers) here

    Intel Matrix Storage Manager here

    MS-UAA for SP2 (required with a reboot before the graphics and Audio, Modem driver) here

    MS-UAA for SP3 (required with a reboot before the graphics and Audio, Modem driver) here

    NVIDIA GeForce G 105M

    Modded Drivers NVIDIA drivers 185.85 worm.

    How to install under XP:
    1. Download driver here, double click and select Extract.
    2. download modded INF here and replace the original INF in extracted folder.
    3. install & restart.

     

    Intel Wireless 5100 here

    Bluetooth Wireless here

    Please check first that link written by Joshua Wood and concentrate on problems that may appear when you install the sound card in it. I don't know then it's dv5 guide, but a lot of hardware and drivers are the same for both models.

    IDT High-Definition Audio CODEC Pilot,

    1 sp41698, vista, work reported in here XP driver

    2 sp41693, pilot, work reported in XP here view

    3 SP39671, driver, jobs reported in XP here or here view

    When you install a sound driver with checking the success is your sound work.

    If there is no sound after reboot check this thread. There is information how to fix this problem.

    High-Definition Audio (HDA) Modem Installer and driver here

    .NET framework (required before HP Quick Lunch Buttons) here

    HP Quick Launch buttons here

    Alps Touchpad here

    Realtek RTL8168C Family PCI - E Fast Ethernet NIC here

    ENE CIR (infrared receiver) here

    JMB38X card reader Host Controller Driver here

    If you had for 7 unknown devices with IDs of devices such as below (buttons drivers), here

    ACPI\PNP0C32\1
    ACPI\PNP0C32\2
    ACPI\PNP0C32\3
    \4 and so on

    Do a manual installation

    Go to Device Manager, right click on the unknown device,

    Choose update driver, not to communicate.

    Choose the install from a list or a specific location, not search, have-disk,

    Navigate to the location of machine.inf.

    Do it for the rest of the unknown devices

  • Internet Explorer will not play sound with no explanation that I can find. Help

    I am running Windows 7 with I think it's Internet Explorer 8.

    I had my IE under Mixer volume muted during last week and discovered he won't play no sound now when I disabled the program. For all purposes, the volume mixer shows that it play a sound. All my other programs play sound, system sounds are correct, just like the games.

    After reviewing the responses to other messages here, that's what I tried without success.

    Volume mixer IE is not set to mute, nor is another program.

    Checked under the tools/advanced/multimedia, and ensured that the audio check box was selected: it is.

    I run cmd.exe under administrator rights and put in the sfc/scannow

    This can 100% complete and it 'not found any breach of integrity.

    I tried to run IE with no Add-ons - however, I could not find a program that would make it sound.

    My antivirus has completed a quick scan with no self-esteem.

    I'm still running my antivirus as a full sweep, however, I'm hesitant... to wait until it yeilds it is result.

    Help?

    Hello

    Method 1:

    Maybe you don't have the right plugins/addons installed to play sounds. Need of plugins for interactive media include generally:

    (a) Adobe Flash.

    b)      Java.

    To install these plugins, open Internet Explorer and visit the links above. Follow the instructions on the pages listed. After installing these plugins and restart Internet Explorer and check to see if you hear the sound?

    Method 2:

    I suggest you update the audio drivers on the manufacturer's Web site see the link below:

    http://Windows.Microsoft.com/en-us/Windows7/automatically-get-recommended-drivers-and-updates-for-your-hardware

    Method 3: Also suggest that you click on the link below to reset Internet Explorer settings and check if the problem still persists. http://support.Microsoft.com/kb/923737

    Warning: resetting the Internet Explorer settings is not reversible. After a reset, all previous settings are lost and cannot be recovered.

    Hope this helps,

  • Indicator of banner of compensation after receiving the data PUSH

    I currently receive PUSH notifications and am able to update the application with a red flag icon and create a high notification icon on the page using the showBannerIndicator API.

    Does anyone know how to use removeBannerIndicator to remove the top bar notification icon?

    To generate the notification icons when I get PUSh I use:

    function onData(data) {
      try {
        blackberry.utils.blobToString(data.payload);
        blackberry.app.setHomeScreenIcon("local:///images/notifyicon.png");
            blackberry.app.showBannerIndicator("images/bannerlogo.png");
            return 0;
        }
        catch (err) {
          alert(err);
        }
      }
    

    To clear the icon homescreen I follow these steps after that the user opens the app first to access the info:

    function handleForeground() {
        inBackground = false;
        // Reset the app icons.
        blackberry.app.setHomeScreenIcon("local:///images/icon.png");
        blackberry.app.setHomeScreenIcon("local:///images/iconno.png", true);
    }
    

    I tried to use blackberry.app.removeBannerIndicator () in this function in hoping it would clear the icon until it receives a new helping HAND, but that doesn't quite work. The API documentation is not very helpful.

    Hope someone could help on this.

    OK, understood this.

    I create a separate function and use the listen page comes to the foreground by making a call to load paper:

    blackberry.app.event.onForeground(whatever);
    
      function whatever(){
        blackberry.app.removeBannerIndicator();
        };
    
        $(document).ready(function(){
            whatever();
        });
    

    Thus, whenever the application comes to the foreground after have received a boost, the first thing he does is clear the banner icon.

    I hope this help someone who has had a similar problem.

  • Play sounds in the order using MediaPlayer

    Hello. How to play sounds in order?

    For now, here are my code.

    I have a MediaPlayer component as an attached object

    http://developer.BlackBerry.com/native/reference/Cascades/bb__multimedia__mediaplayer.html

    attachedObjects :[
        MediaPlayer{
           id: sound
           sourceUrl: "asset:///sounds/sound1.mp3"
        }
    ]
    

    Then I have a button. Here is what my code for it

    Button{
       id: play
       text: "Play Sequence"
    
       onClicked :{
    
          sound.sourceUrl = "asset:///sounds/sound1.mp3"
          sound.play();
          sound.sourceUrl = "asset:///sounds/sound2.mp3"
          sound.play();
          sound.sourceUrl = "asset:///sounds/sound3.mp3"
          sound.play();
    
       }
    }
    

    What goes wrong.

    The code runs after 1 second about, cut the next sound. I'm doing his next game, after the end of his previous.

    The sounds are not finished because play() is not a call blocking. Once you call the play() function it will start playing the sound and return immediately to the following line of code in the QML. If the next line is a call to the play() still it will have precedence over previous sound, i.e. If you think logically about what you need in an application, you would not have the sound of a doorbell 2 seconds later, play just because you play already a sound, you would stop, as it does.

    My suggestion to use a selection intended to use the MediaPlayer playlist function, that you implemented will obviously suffer from the same problem for the above reason. A playlist is a separate file that contains a list of media you want to play and can be in different formats.

    My other suggestion of using onPlaybackCompleted does not seem to have been followed by you, but is probably the easiest to implement.

    MediaPlayer {
        id: mediaPlayer
    
        onPlaybackCompleted: {        count = count + 1;
            var s = count;
            mediaPlayer.setSourceUrl("asset:///sounds/sound" + s + ".mp3");
            mediaPlayer.play();
        }
    
    }
    

    Where count is a comprehensive, defined property to 1 in your QML file and you have some relaxation (onCreationCompleted or clicking a button) to start the first play().

  • No sound after installing windows 7 ultimate.

    I bought a new HARD drive, installed windows 7 ultimate, there is no sound after installing windows7 ultimate.

    When I attach my old HARD drive, windows XP, I get the sound.

    Device Manager shows no error.

    Pls correct me or direct me to over come this problem

    email * address email is removed from the privacy *

    Thank you

    If your computer has problems play a sound, try using the Audio playback problems resolution to solve the problem. For measures and additional information, see o ink below.

    Open the troubleshooting of Audio playback

    http://Windows.Microsoft.com/en-us/Windows7/open-the-playing-audio-troubleshooterOpen

    http://www.Microsoft.com/Windows/compatibility/Windows-7/en-us/default.aspx?type=hardware

    http://Windows.Microsoft.com/en-us/Windows7/tips-for-fixing-common-sound-problems

  • Windows 7 is not play sounds on the Internet on Bluetooth speakers

    Windows 7 connects to Bluetooth speakers, play sounds from the computer and iTunes, but does play no sound internet radio, UTube, etc... Someone knows how to fix this? Thank you!

    Thanks for getting back to me so quickly.  The problem was not related to applications of inhibition, as my speakers would not play sound from ANY internet site whatsoever, even when the volume of the app contributed to the maximum, but he would play his wireless from iTunes and other internet applications no.  After that I restarted my computer this morning, the problem has been resolved.  I have restarted my computer several times yesterday, with no resolution.  I wonder if I got a Windows 7 update during the night which fixed the problem?

Maybe you are looking for

  • Support the rMBP 2015 13 "NVMe storage?

    Other users of greetings, I'm looking to upgrade the SSD drive in my rMBP 2015 13 "model that currently owns the storage of PCIe 128 GB:s. Now, I know that the connector used for the SSD in the new MacBook is not a normal m2 connector, but this probl

  • Problems with the MacBook Pro 15 GPU retina

    Hi, I had a lot of trouble with my computer lately. When I run intense jobs GPU, the computer just stops. I managed to work around this problem by changing the settings of my software. The problem got worse and now the computer doesn't turn on. He go

  • How to change the default function of the function keys f1 to f12

    I prefer to use as FUNCTION KEYS function keys. I don't want the default value to a fast forward or backward, stop or sound options. I want f2 f2 (edit excel cell) and so on. Currently, I press fn everytime. It's boring. Is it possible to change the

  • Network access error: not enough server storage is available to process this command

    HelloI can't access the other computers on my network neighborhood.If I try to use \\computer\d$ running, I get "not enough server storage is available to process this command." I look in the case of newspapers and I have an error: "{the browser serv

  • Update the IOS link on a 1000v

    Someone at - it good documentation on the process of upgrading my nexus 1000v 1000v - mz.4.2.1.SV1.4 to Nexus1000v.4.2.1.SV1.4a?  The first time on Nexus IOS and want to spend before it goes into production, but have a hard time finding detailed step