How to play mp3 in the simulator of Tablet

I want to integrate its App, the snippet of code as follows:

Sound/speakers in the Simulator do not currently work.  We hope that in the next version of the SDK.  If it works as an AIR application, you are safe to assume that it will work on the device end probbly.

Tags: BlackBerry Developers

Similar Questions

  • How to play audio through the headphones and computer speakers, at the same time.

    Hey I just need to know how to play sounds through the headphones and speakers. Help

    Depends on your audio device.

    If its edge, while normally when you plug the headset switch will cut off the speakers.

    If you have a USB or Firewire pro device you can listen to your headphones as the signal played through your speakers.

    See you soon,.
    Jerry

  • HTTP Live Streaming Audio MP3 in the Simulator 10.1

    Hello

    I'm working on an online radio application and I am very disappointed to see that the BB 10.1
    Simulator (10.1.0.1483) does not support the HTTP live streaming of multimedia files (MP3) M3U.

    I get the following message in the log of the device:

    MediaPlayer: prepare::Error attach the input source. URL: ""http://abc.xyzxyz.com:9156 / stream ', "
    error = UnsupportedMediaType

    and also when you try to navigate to the URL in the browser of the Simulator:

    The media file is from and not supported type or could not be loaded. It can not be played.

    I would like to know if the BB 10.2 Simulator supports HTTP live streaming of MP3 files, or do I have to buy a real device?

    Best regards

    burakk

    Hi @burakk,

    My apologies for the late reply. Unfortunately, for the OS versions on the market to date, support for media playback on the Simulator is very limited. This is mainly due to problems of codecs required license. There is a support very limited no playback video and audio (uncompressed audio files in the WAV only). In later versions of OS Simulator, we might have the software decoding - if that happens, your use case would be satisfied then.

    For a complete list of the formats supported on devices: https://developer.blackberry.com/devzone/develop/supported_media/bb10_media_support.html

    See you soon,.
    Rashid

    Applications development consultant | Relationships with developers

    BlackBerry @surashid

  • How to play MP3/MP4 player with external drive?

    Whenever I want to play an MP3 that is online, opens a new tab in Firefox and the MP3 plays inside Firefox. No matter what I do: I put in MP3 to play with Windows Media Player (or always ask) but Firefox ignore this parameter. Or with other mediaplayer, Firefox always keep to play it in the browser itself.
    I know it has something to with Quicktime cause when I uninstall that MP3 are open in the mediaplayer to my choice. But as soon when I installed Quicktime (or Quicktime Lite also), Firefox does not take account of my settings and only play it in the browser. I have Quicktime for my music and video editing software, otherwise I would not install it. With Quicktime Lite codec alone does the work, but also with the fact that Firefox doesn't play MP3 and MP4 files with my player of choice. It goes the same for MP4 files: no matter what I do, Firefox it plays in the browser itself, instead of the parameter in the Firefox Options to set my player of choice, I did.

    Hello meegja, enter about: config in the firefox address bar (confirm the message information where it appears) and search for the preference named media.windows - media - foundation.enabled. Double-click on it and change the false value - this will also disable the support of native html5 for mpeg formats incorporated into Web sites that...

  • How to play music through the bluetooth earpiece/headset

    Original title:
    I HAVE CONNECTED MY HEADPHONE BLUEDIO AV890 WITH MY PC... BUT HOW CAN I HEAR MUSIC FORM MY PC THROUGH IT...

    I CANNECT THE BT HEADSET USING PASSKEY... BUT I DON'T KNOW HOW TO PLAY SONGS VIA HEADPHONE BLUETOOTH, SOMEONE CAN HELP ME

    Hello

    T

    Hank you for the display of the query in the Microsoft community!
    We will guide you through this issue.

    You receive an error message?

    You can try the following steps and check if you are able to hear the music from your computer

    Method 1:

    You can configure Bluetooth headset as default Audio Device.
    a. click Start, click run, type mmsys.cpl and then click OK.
    b. click on the Audio tab.
    c. in the sound playback section, select the headset and set it as your default device.

    Method 2:
    You can update the latest drivers for the Bluetooth drivers on the manufacturer's Web site.
    How to manage devices in Windows XP
    http://support.Microsoft.com/kb/283658

    Just reply with the results. I'd be happy to help you further.

  • How to play MP3s... not like you think

    Okay, so I had an audio program of the Bible, and I transfer MP3s to the phone and all that. The problem is the MP3s is not divided into chapters, as you would expect, but in the verses! This means that there are thousands of MP3s!

    So, the question is, is there a way to cause all the MP3s in any folder so that I don't have to play each one individually? I mean, it would simply be impossible.

    Thank you

    Starkman


  • How to play mp3 speaker BB Storm?

    I'm playing an mp3 on the storm.  I read through known (see thread below), I have to come sound in the headphones, but I'm still not able to get sound from the speaker of the device.

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

    The thread that the above indicates that the solution is to change the AudioPathControl after the media are started.  I put tracing instructions in the code and AudioPathControl.getAudioPath () == before AudioPathControl.AUDIO_PATH_HANDSFREE and after I start the media.

    Here is the code that I use - help is appreciated

    public void tileFlip () {}
    try {}

    tileFlipPlayer.start ();
    AudioPathControl apc;

    Check [] c = tileFlipPlayer.getControls ();
    for (int i = c.length - 1; i > = 0; i--) {}
    If (this [i] instanceof AudioPathControl)
    APC = c (AudioPathControl) [i];

    break;

    } / / end for

    If (apc! = null) {}
    apc.setAudioPath (AudioPathControl.AUDIO_PATH_HANDSFREE);

    }
    catch (Exception e) {}
    System.out.println ("ERR:" + try ());
    }
    }

    I use 4.7.0.76 on BB 9530.

    I used the Fund Manager to do an update and 4.7.0.76 is the version that was on the phone when finished.  I know there are versions later, but if most of the phones do not have this version - then my sounds will not play.

    I did my prefetch when I booted the player - I don't understand this part of the code, because it was not relevant to the discussion.

    BTW - person knows if there are release dates to a later version of the operating system - one that will have the correct features for players?  If I can hold off the release soon.

    At the end of the day - he was not changing the audio track that does work, but the volume (as suggested in another thread).  It's REALLY STUPID to have to lose resources system on a thread just to play the sound.

    class SoundThread extends Thread {}
    a private player = null;
    private VolumeControl vc = null;
    Private boolean evenLoops = false;
    Private final int VOLUME_LEVEL = 30;
       
    public SoundThread() {}
           
    }
    {} public void setPlayer (player p)
    Player = p;
    VC = (VolumeControl) player.getControl ("VolumeControl");
    vc.setLevel (VOLUME_LEVEL);
    }
      
    private void toggleVolumeLevel() {}
    If (player! = null & vc! = null) {}
             
    If {(evenLoops)
    evenLoops = false;
    vc.setLevel (VOLUME_LEVEL);
    }
    else {}
    evenLoops = true;
    vc.setLevel (VOLUME_LEVEL - 1);
    }
    System.out.println ("Volume is"+ vc.getLevel () ");
    }
    }
       
    public void run() {}
    try {}
    While (true) {}
    toggleVolumeLevel();
    Thread.Sleep (50);
    }
    }
    catch (Exception e) {}
    }
    }
    }

  • How to import MP3s on the hard disk of the computer with windows xp

    Remember - this is a public forum so never post private information such as numbers of mail or telephone!

    Ideas: I have several CD ROMS that are MP3s of many music albums. I want to know how to import these on my hard drive of the computer so that I can then listen to music with windows media player or import into iTunes

    • You have problems with programs
    • Error messages
    • Recent changes to your computer
    • What you have already tried to solve the problem

    If they are MP3 files containing data CDs, you can simply use Windows Explorer to copy the MP3 files from your music collection CD personal. After that, they automatically appear in the WMP library. Tim Baets
    http://www.BM-productions.TK

  • E280 V1 using RockBox sees the chip of the 4 GB SDHC but don't play MP3 on the chip

    Greetings:

    I have read many postings in this community and have a problem with my V1 e280 that I saw an ad for, although there are a lot of comments, so I apologize if I'm rehashing old stuff:

    I have pair of Sansa e280 V1 units which work very well with the original Sansa (v.18a) and also the RockBox OS (v. 14975 - 071004).  I recently bought a pair of Sandisk 4 gig chips Micro SDHC, which I am aware only work with RockBox.  Since I can connect to my computer Windows XP SP2 only my e280 using RockBox and since any bigger piece that 2 gig will not be recognized by the operating system of origin of the Sansa, there is no way both connect to my computer and also to see the concert 4 chip at the same time , so I downloaded the MP3 files in the 4 GB chip by plugging it directly into my computer.

    By the advice of this community, I connected my e280 to my computer and then deleted the folder System / Data.  Then I plugged in my 4 GB chip on the e280 and started Rockbox.   Then I went settings/General Settings/database/Initialize now and initialized and restarted the e280.

    The e280 sees 4 GB (System/RockBox Info) including how chip it is occupied by the .mp3 files, but when the new database is formed, he sees not all in 4 GB chip .mp3 files, only the .mp3 files internal to the e280.

    If I try to update the database (settings/general settings/Database/Update Now), then I get the standard "update in the background", and if I then go on RockBox/database and look at recently "added," I get «from the search...» 0 found ()", and shortly after, ALL database entries disappear!   I can get them by Initializing and restarted again, but still without the content of the 4 GB chip.   What happens here?

    I bet that I'm missing a few simple steps - can help you?

    Thanks, Airpilot

    Howdy Bob and mark:

    First of all, thanks to you both for your help.  It turns out that the two of you helped in the solution.  Bob said to check the id3 tags.  Mark asked that records on the 4 GB chip have been seen, or the files were also well seen.  Those answers gave me a break and pushed me to do the following:

    1. all files (5 of them, each 450-500 MB, streaming audio) were loaded on the root of the chip 4 GB as .mp3 files and not in a folder under the root.  I pulled the chip and created a folder in which the five files were placed.  BTW, I use a chip capable of Kingston FCR-HS219/1 SDHC drive to access my 4 GB chips.  When I reloaded and reset my e280, I could see the folder and files.  In the FILES, they are listed in the folder.  In the DATABASE, they are listed as .  This led to the realization that:

    2. my flies streaming had no id3 tags!  I agree that this has not done a difference when searching for these files in the FILE list, the fact that they had to read labels meant that I missed them, since they were lost in the list of the other files not marked in the internal memory e280.  Assigning these files id3 tags, transferring to the e280 and then the initialization of the database show them correctly in the list database.

    BTW, my 4 GB chips are formatted using FAT32.

    THANKS to each of you for your suggestions.   This problem is solved.

    Dave (Airpilot)

  • How to test moduleDeletionsPending, in the Simulator, I don't have the option to remove my application

    How to test the following?

    I want to test the functionality by using the method public void moduleDeletionsPending (String [] moduleNames). I had written logic that removes files from an SD card and it works when I call a menu inside my application item.

    However, it should only be run when I uninstall the application.

    In 9700 Simulator, if I select Options > Applications > [highlight the application] > [open the menu by pressing the Insert key on my keyboard] - I don't see the option to remove the application.

    I don't see the delete option for other applications, such as the Klondike card game.

    Should I set a property or the permissions of my app should be deleted in a simulator, so I can test the moduleDeletionsPending method?

    Thank you.

    You will need to 'install' the app in the BlackBerry smartphone Simulator so that your application appear in the list of applications.  You won't see here when you perform an execution/debug as, when you use the file, the option of loading or copy it into the directory of Simulator.

    The following link explains the different ways to install an application.

    How to deploy and distribute Applications

    http://supportforums.BlackBerry.com/T5/testing-and-deployment/how-to-deploy-and-distribute-Applicati...

    Note that you can install using a simulated so USB connection.  Click on the menu of the smartphone Simulator simulation BlackBerry and check USB cable connected.  Note that you can not the debugger attached when installing via a simulated USB connection.

  • How to play involved when the headset is not connected?

    original title: problem of speaker and headphone

    my speaker in the lower-right corner icon said speakers and the headphones and I don't know how to isolate the speakers to play only when there is no helmet and isolate the speakers when I plugged headphones

    Hi JonathanStellino,

    Thanks for asking! If I understand correctly, you want to set the audio output device by default. I suggest you follow the troubleshooting steps to check if this may help.

    (a) click Start, in the search box, type "Change sound card settings" or "Manage audio devices" without the quotes.

    (b) click Manage Audio devices.

    (c) click the sound, click the play tab.

    (d) click the device you want to set as default.

    (e) click on set as default, click apply.

    f)       Click OK.

    You can also run this Troubleshooting Audio troubleshooting and check if it helps fix the problem.

    Just reply with the results. I'd be happy to help you further.

  • How to make part of the Simulator File Explorer?

    Hi all

    I followed this example http://supportforums.blackberry.com/rim/board/message?board.id=java_dev&message.id=5295&query.id=354... to add a file from my application Explorer menu item.

    My problem is that there is no file Explorer I can say on my Simulator so I can't really test to see whether or not my menu item was added successfully. I tried to compiled and download the FileExplorerDemo, but this application has no menu item that my program has added.

    Do you know if I do something wrong here?

    Thank you very much for your help.

    Hello

    File Explorer is already there. Some sort of hidden ;-)

    Just open the media icon in the home screen and then use the menu

    button and choose "explore". This is the bb device file Explorer.

    Kind regards

    Jochen

  • How to play 'beep' of the PC speaker

    I used the Beep function in CVI, but the sound card generates the soud BEEP. I want speaker PC generates the sound SIGNAL. Please help me. Thank you.

    The programming interface (toolslib\toolbox\toolbox.fp) Toolbox provides StartPCSound() and StopPCSound(). They should do.

  • How to take screenshot on the Toshiba Windows Tablet

    I have Toshiba tablet with 8-1 win and I don t know how to take screenshotvI obly volume buttons and the button / stop

    Fact a search google apparently you press Windows key + low-flying

    It work?

  • the simulator of tablet users, what af version Java VM is running?

    I'm having trouble installing my Simulator.

    During my installation of other software, I had to download and install a jdk and change the environment varables.

    they are defined as:

    user:

    JAVA_HOME C:\Program Files (x86)\Java\jdk1.6.0_29\bin

    ACCESS C:\Program Files path (x86)\Java\jdk1.6.0_29\bin

    system:

    C:\Program Files (x86)\Java\jdk1.6.0_29\bin path

    JAVA_HOME C:\Program Files (x86)\Java\jdk1.6.0_29\bin

    I tried track similar cases of problems with instalation.  The error message I get is: Windows error 2 occurred during the loading of the java virtual machine.  I googled the error message.  And have found that other people have had this problem when installing software using install anywhere.   Some of the possible solutions to this problem are to make shure the directory that is currently being installed in is empty.  I can't find what could be this directory.  This could be the problem since I tried to install several times.  Is there anyway to find out what this directory?

    And also, another possible solution is to run the instation of the comand using the LX_VM, to use a special installation of the java VM.

    ->

    Symptoms: The user is using Windows. An error during the installation of software voices, for example, audium.exe or another installer, which indicates a problem with the Java. One such error is the following:

    Windows 3 error occurred during the loading of the Java virtual machine
    Resolution: An installer of voice may be forced to use a particular installation of Java rather than the default. With this, you can be sure that it uses a supported Java version. Follow these steps:

    Open a console, for example, Start-> Run...--> cmd.

    Navigate to the location of the installation file.

    Run the installer with the option of LAX_VM followed by the full path to the desired java.exe, for example,

    Audium.exe LAX_VM "C:\Program Files\Java\j2re1.4.2_08\bin\java.exe".

    =======================================================================================================================
    All programs Windows Setup

    If you use the Windows Installer package, you may encounter the following error message when you run the Setup program:

    Windows error 2 occurred during the loading of the Java virtual machine.

    The workaround is to run Setup from the command line using a different syntax. In the following example, e:\Java\jdk1.5.0_11\bin\java.exe is the path to the JDK installed on the host computer:

    GCI.exe LAX_VM 'e:\Java\jdk1.5.0_11\bin\java.exe '.

    ==========================================================

    What is the problem? My java virtual machine version is the problem?

    That was indeed the problem.  I learned a lot.  But it has not been easy. Why nobody gave me a helping hand? I went into the command window.  Tried to run the Setup at the root of c:\ and received a message "unrecognized command".  This me puzzled for a while. But I remembered that the installer has been in office.  I tried again.  And he ran.  But I had the same machine vm does not no error.  I just barly noticed that I forgot to put \bin\ points to the jdk.

    And then when I ran, it went through.  Well, you have to understand there is not something wrong internally with the virtual machine.  Unless you have the wrong version.  So, its got to be the way that the whole package is installed.

    So if you can get by modifying the installation process, you stand a good chance to fix the problem.  Now it's just a matter of folling the usual VMware player loading instructions.

Maybe you are looking for