Read the audio data while background

Is it possible to have your app continue reading audio while in the background?

Yes, look in the QNXSystemPowerMode things as a possibility.

Tags: BlackBerry Developers

Similar Questions

  • read the audio data on the first visit to slide only

    I have a slide which branches off in three different branches that all guide the learner to the same slide again once the branch is completed. I would like to see as the audio to play only novice users slide, not when they revisit it.

    Jessica, I responded to your other thread. Please, can you have a look at the article on the Timeline?

    Each video and the film play with a certain frame rate: frames per second. To Captivate the default frame rate is 30 fps. This means that a slide with a default duration of 3secs has 90 images. What I explained, is that you can navigate to a certain range on a slide, using the system variable cpCmndGotoFrame or cpCmndGotoFrameAnd CV. I call this 'micro navigation' workflow and wrote an article on this subject (busy, it seems that this word was adapted by of many CP users):

    Micro-Navigation in Adobe Captivate - Captivate blog

    When the user clicks a button on the slide, it will be in the active part, before the point of interruption. By using this command:

    Affect of v_frame with cpInfoCurrentFrame

    This variable will store the number of the frame where the button was clicked.

    Upon his return to the slide the advanced conditional action checks the value of v_frame:

    IF v_frame is greater than 0

    Expression cpCmndGotoFrameAndResume = v_frame - 2

    ON THE OTHER

    Continue

    I use the command of Expression rather than affect because it is possible that the user has clicked just about to pause, and I want to be sure that he is returned to a location before the suspension point, in the active part of the button. That's why I subtract 2 (frames) of the value in v_frame.

  • The MTS files read the audio data in the preview window but don't shoot in sequence?

    Hey all - I use a Macbook pro - first Pro (fully updated) CC and when I drag a clip in a sequence and audio does not work

    appear on the timeline.  The audio is here and plays in the preview window. So this is a different problem than the other without audio

    problems of MTS files.

    If I 'make a new sequence of the clip' audio appears and I can even copy and paste in a sequence. But this workaround

    is madness. What is the problem?      Does anyone else have this problem?

    Adobe Premiere Pro help. Source patch and the targeting of the track

  • Newbies: Read the audio data with any symbol - EASY


    I spent a lot of time figure this out and want to share with other beginners. I used the text, but everything that can be transformed into a symbol works.

    1. turn on your screen that will be used as links in symbols text/photo/etc.
    2. right click on each audio file, you will use and select Properties. Adjust the compression to your liking. Under connection, select export for ActionScript. Ok.
    3. click on each symbol on the stage and him give an instance name.
    4. click on each symbol, select window > behaviors. Click on the '+' etselectionnez sound > Sound support library. Under link ID, type the name of the audio file. Under its Instance, type an instance name. Be sure to play this sound when loading is checked. Click OK.

    As I said, easy


    I spent a lot of time figure this out and want to share with other beginners. I used the text, but everything that can be transformed into a symbol works.

    1. turn on your screen that will be used as links in symbols text/photo/etc.
    2. right click on each audio file, you will use and select Properties. Adjust the compression to your liking. Under connection, select export for ActionScript. Ok.
    3. click on each symbol on the stage and him give an instance name.
    4. click on each symbol, select window > behaviors. Click on the '+' etselectionnez sound > Sound support library. Under link ID, type the name of the audio file. Under its Instance, type an instance name. Be sure to play this sound when loading is checked. Click OK.

    As I said, easy

  • Read the audio data from resource on the storm

    Hello

    I'm reading a mp3 file on the storm.

    //first we need to find the supported content types
    String types[] = javax.microedition.media.Manager.getSupportedContentTypes(null);
    for (int cnt = types.length - 1; cnt >= 0; --cnt) {
           if (types[cnt].equals("audio/mpeg")) {
           //this sample demonstrates playing an MP3 file that has been
           //added as a resource to the project
           try {
                  //retrieve the MP3 file
                  Class clazz = Class.forName("myclass");
    
                  InputStream is = clazz.getResourceAsStream("/r.mp3");
                  //create an instance of the player from the InputStream
                  Player player = javax.microedition.media.Manager.createPlayer
                  (is, "audio/mpeg");
                  player.realize();
                  player.prefetch();
                  //start the player
                  player.start();
            } catch (Exception ex) { }
            } else if (types[cnt].equals("audio/x-wav ")) {
            //this is where you would play wav files
            } else if (types[cnt].equals("audio/midi ")) {
            //this is where you would play midi files
            }
    
    }
    

    I got this code from the how-to - read KB Article audio. And I added the r.mp3 as a file file to the project. I do that right? He does not play sound.

    Can someone help me on this?

    Thank you.

    javec

    First, see this thread for an example of 'work '.

    http://supportforums.BlackBerry.com/Rim/Board/message?board.ID=java_dev&message.ID=11616&query.ID=29...

    Second, if you run 4.7.0.75, there is a known issue where the sound will not play through the speakers (only the helmet).

    http://supportforums.BlackBerry.com/Rim/Board/message?board.ID=java_dev&thread.ID=11963

  • HTTP 413 - exception too large entity when you try to read the audio data from URL http

    Hello!

    I sent an audio file of size 718 KB on tamcat and I try to play via a URL but http 413 exception, please help here is my code:

    Try
    {
    Player p = javax.microedition.media.Manager.createPlayer ("http://192.168.0.172:8090 / new.wma");
    p.Realize ();
    VolumeControl volume = (VolumeControl) p.getControl ("VolumeControl");
    volume.setLevel (30);
    p.prefetch ();
    p.Start ();
         
    }
    catch (System.Exception e)
    {
    System.out.println (try ());
    }

    YOUR help is needed thanks.

    Hey thanks for much for your help... I managed to solve the problem using this example BufferedPlaybackDemo accept I made a few changes to it... This added to the URL and change the connection on Read_Write

    if (WLANInfo.getWLANState() == WLANInfo.WLAN_STATE_CONNECTED)
                url.append(";interface=wifi");
            else
                url.append(";deviceside=true");
    

    Thanks anyway

  • read the audio data during the click on

    Hello

    Thanks for the support.

    We can play audio or sounds on click of a button. I have my audio file in the my project folder, so I use this file I have to use the getResourceasStream() function. I tried with blackberry strom but his does not work.

    can someone help me please?

    Hi Garima,

    Yes you can, implement fieldChanged method of the button like this

    Initialize the front player as ButtonField as:

    A player = Player.getResourceasStream (...);

                            InputStream is getClass().getResourceAsStream("yourFile.wav");            Player player = Manager.createPlayer(is,"audio/x-wav");           player.prefetch();
    
    ButtonField testButton = new ButtonField("Click Me");    testButton.setChangeListener(new FieldChangeListener()     {        public void fieldChanged(Field field, int context)         {             player.start();        }    });
    
    
    
  • Error "could not get the audio data in the file.

    Hello

    I get a lot of mistakes "Could not get the audio data in the file" when you open a project. Sometimes they will plant Premiere Pro CC 7.01 (Mac). But if no first works as usual, with the audio.

    I tried to convert the audio files (from the hearing) from 32 to 16 bit. It worked while opening a project once, but not the next time.

    Where can it be?

    Edit: I also get this error when importing audio: "error: Premiere Pro version 7.0 is not compatible with the first version of plugin Pro 5.7.4. Maybe it's related.

    I have it! This is the plugin Smartsound hurt. Got rid of him and no more errors.

  • Question about reading the hex data

    Hello! I'm a Novice of Labview and have a problem with reading the hex data.

    Basically, I bytes from the serial port like this: "80100E0E0AB4F646F24A00911267087E032080057FFF."

    It is not encoded in ASCII. What I want to do is to convert a hexadecimal string ASCII of the hexagon.

    so that the chain would become of ASCII hexadecimal numbers.

    I think that the following might be a solution, but I have no idea what the Subvi is in the solution.

    http://forums.NI.com/T5/LabVIEW/hex-string-to-ASCII-hex-string/m-p/886078/highlight/true#M400462 Thanks in advance and I thank you for your kind help!

    coolmatthew wrote:

    What I want to do is actually this.

    You use too much a lot of code for all this. All you need is a concatenate strings, replace your entire and other loop. Same result.

    (See also)

  • Unable to read the audio stream: no audio hardware is available, or the hardware is not responding.

    my kids are always downloading music and other things on the internet and some without reason, I lost my sound that I get an error that there is no audio device found... or being used?  This was the last message according to test of microspft race driver and then tried to play something of my documents... Unable to read the audio stream: no audio hardware is available, or the hardware is not responding.  Can you help?  Bill

    (1) try reinstalling the audio drivers from the drivers disk that should
    came with your PC.
    (2) try to do a restore to the point where the problem wasn't there:
    Start > programs > Accessories > system tools > system restore
    (3) download and install the latest driver from the manufacturer's website.
     

    Best regards
    Singapore Web hosting

  • to access the audio data

    Hello!

    I want to detect the events in the audio and take some action defined for example one keyframe to another article.

    Specifically, I'm trying to count the number of vertices (as you would see at a glance Slate) in a period of time and get this as a numerical value that I can use in other calculations.

    There may be more such an event by video image however if ideally I need real audio sample data access.

    Is it possible to get the audio data as an array of values?

    It is not so difficult to find a leading edge on a certain amplitude and count that as an 'event', if you have the data.

    I can't find anything on audio in the script guide, unless an AVItem has audio or isEnabled.

    Alternatively, if this option is available in the Premier or hearing I'm happy to work there but they do not seem to support scripting at all!

    Anyone?

    Thank you!

    + Leo

    If you need to get down to the detail of sample auto, I think that you will need to go on the road to plugin. None of the plugins I've written have involved audio samples, but that the data may not be accessible after the SDK. Maybe this should be your next step.

    Dan

  • How to solve "here has been a problem to read the data in the layer. read the composite data instead? »

    Hello

    I'm working on the UI for a 2 month Word Press theme, and it has a ton of layers with file size of 900 MB.

    When designing, I get a message that says:

    "here was a problem to read the data in the layer. read the composite data instead? »

    Please solve this problem because I am so tired of working on this that I don't want this effort in vain.

    and sorry if my English is bad.

    dffd.jpg

    Hi AymanAlrifai,

    Would you be able to share the file problem with me zipped upward? petgreen [at] adobe [dot] com

    I'll see if I have the same problem and check with the team to investigate the issue here and see if we can resolve it for you.

    Kind regards

    Pete

  • Issue, while reading the file data from a JMS queue

    Hello

    I'm trying a simple case to receive the XML of the JMS queue and inside BPEL use Assign activity to read data in a temporary variable to check the file from the JMS queue. I do the archive file name, CHRAPcXMLInvoices_DUNS_XXXXXXX_datestamp.dat, XXXXXX as the mapping of the identity of the XML from the JMS queue. Some reasons is not mapping... Can someone help me on this please? I stuck here because my final requirement was to insert the data from the XML file in a custom table, but because of this, it fails saying "can not insert a null" which means that some how he does not read the data...

    I enclose the screen... Please help...

    Hello

    I would try to replicate the same at my end, but you can do the following to me.

    You could manually put the message ("but add xmlns ="http://www.example.org" in cXML item payloadID") in the JMS and test it.

    For Ex:

    " xmlns ="http://www.example.org">"

    The XML message is clearly the namespace XSD lacks. The BPEL is looking in the correct namespace (xmlns:ns3 ="http://www.example.org" ") of the XML message, but as space of names are not added to the incoming message sound throw an exception.

    So, try to add the namespace to the XML message and publish manually in the JMS queue to start the process.

  • My BDDVDRW drive will recognize is no longer read the audio CD, but both DVD and BD

    I have a HP pavilion dv6 under Windows Home Premium with a HP BDDVDRW CT40N. I have never had any problems with the optical drive. About 2 weeks ago, I started ripping of audio CD on my hard drive using Windows Media Player. I pulled about 15 CD over the 2 weeks. Then all of a sudden the drive read audio CD - I put a CD in and nothing, even after hours. If I click on the player it ejects and answers please drive inset.

    So I thought it was the CD and inserted other CD, even the ones I had just ripped - nothing. But it reads the DVD fine; I just saved a DVD with it.

    The machine is about 5 years old, but it works well, so I thought maybe it was the reader. I have another computer; It only a little more than a year, with a HL-DT-ST BDDVDRW CT40N and running Windows 10. I started to rip from CD with this computer also with Windows Media Player. Guess what - same thing.  I was able to extract only 3 CD before he showed the same symptoms: can't see CD; no problem with DVD.

    Finally, I went to my wife's computer, a different HP running Windows 7 with a DVD - RW disc. This time, think of some sort of virus or malware may be responsible, I made sure that there was no Internet (not ethernet WiFi or Bluetooth). I ripped a CD and then the same thing.

    All three computers has failed using different CD - it wasn't the same CD that was torn apart last before failure.

    I doubt very much that three different computers with different symptoms of operation and different readers might undergo the same material unusual problem in few days after execution of the software even on different CDs. There must be something about the use of this extraction software (Windows media player) or disk characteristics of driver that blocks the CD (apparently after extraction).

    I'm only moderately tech savvy, but successfully, sometimes after a considerable effort, more than anything I tried. I have had no success with this (towards even a problems prior restore point) and am at a total loss.

    Help, please.

    While they inspected, CD is not detected by the computer. You can do the following steps the solved the problem.

    1. Scan of the SFC
    • Follow these steps to remove corruption and missing/damaged file system repair or replacement.

    Start - type in the search box - find command top - RIGHT CLICK – RUN AS ADMIN
    sfc/scannow

    2. run the disk check in Windows 7

    • Open the Start Menu and click on the button of the computer on the dark right side.
    • Right-click the hard disk you want to check, and then click Properties.

    3. click on the Tools tab and click the check now under error checking.

    4. you will now see this window. Follow the steps below for what you want to do.

    5. to only scan the disk for errors

    Note: This will give you just a report if there are drive errors or not and will not attempt to correct.

    • Let off both boxes, and then click the Start button. (see screenshot below step 4)

    6. only scan and try bad sectors recovery

    Note: this analysis tries to find and repair errors on the hard drive itself, physical and it may take much longer to complete.

    • Uncheck the automatically fix file system errors . (see screenshot below step 4)
    • Select the search for and attempt recovery of bad sectors .

    7. only scan and trying to automatically fix errors

    Note: This will automatically attempt to repair problems with the files and folders that the scan detects.

    • Check the automatically fix file system errors . (see screenshot below step 4)
    • Uncheck the search for and attempt recovery of bad sectors .

    8. to analyze automatically try to fix the errors and bad sectors recovery

    Note: This will scan for file errors and physical errors (steps 6 and 7). It will attempt to repair problems with the files and folders and retrieve physical errors.

    • Check the automatically fix file system errors . (see screenshot below step 4)
    • Select the search for and attempt recovery of bad sectors .

    9. Click on the Start button and is not 10 or 11 below depending on the whether the drive is currently in use or not. (see screenshot below step 4)

    10 if the selected hard drive is not in use, you will then see to check the startup disc check the disc now.

    • When the analysis is complete, you will then see

    results. Click close.
  • Click OK. (see screenshot below step 3)
  • Stop, you're done.
  • 11. If the selected hard drive is in use, then click on the schedule the disk check button. (see screenshot below)

    Note: If the hard disk that you selected in step 2 is in use (for example, the C: drive or the partition that contains Windows 7), you will be prompted to reschedule the disk check for the next time you restart your computer.

    • Restart the computer.
    • At startup, you have only 10 seconds to press any key to cancel the check disk of measures 7 or 8. (see screenshot below)

    • Once the scan is complete you will see a report similar to this below briefly until the computer restarts automatically.

    If the problem persists, you can run repair for Windows 7.

    Brand of kindly as answer if that answers your query. Let us know how it goes.

    Thank you.

  • Fluke Hydra 2625 with NI LabVIEW drivers: can not read the output data

    I work with a Fluke Hydra data logger 2625 have downloaded the drivers from NI LabVIEW, crossed the config., initialize and modes files and now trying to read data from a thermocouple.

    Initially, I was getting an error message ("17" I think) but now, after correcting the port numbers, the recorder data and LabVIEW seem to communicate without error. I would like to know where I should look (in the panels before different drivers) for temperature data output.

    Any advice would be appreciated at this point. Thank you.

    There is a driver not supported here. I have the instrument and you have not used one in quite a few years, but if using the example, the function can be set to temperature temperature with the 751 RTD or thermocouple. The results indicators min/max/last.

    The pilot could really benefit from a full rewrite, but it seems that most of the basic functions are there.

Maybe you are looking for