Media processor busy on 8520

In my last project, we use a javax.microedition.media.Player to read a small wav file (it lasts a few seconds). I use setLoopCount(-1) to play indefinitely. the file is included in the resources of the app.

The player is initialized and when the application first starts a prior extraction. When a certain event occurs, we call start(). We call stop() again at the request of the user.

For some reason, it works very well on almost all BB models, but it fails on a 8520. The sound starts and stops correctly a couple of times, but at one point, the appeal of departure throws this exception:

net.rim.device.internal.media.MediaNativesException: play: Media processor busy

I tried modifying the code and putting calls Thread.sleep after start and stop, to prevent a sequence high frequency of calls (start-stop-start-stop-...) break the player, but it does not work.

I am in a bind here and it is a very important project. Any help would be appreciated.

I'm currently catch the exception and close the player. Before calling createPlayer again, realize and prefetch. This breaks the stalemate no sound and the .wav file is played once again.

Tags: BlackBerry Developers

Similar Questions

  • BlackBerry Smartphones media processor busy

    I use bold9900. No matter when play me music on my phone after awhile as it will restore and when I try to play, it will show media processor busy, this will not stop until I have hard reset on the phone, and also all the alert on my phone for pings and other appliction will be tight, until I do the hard reset. Please what could be the problem?

    Hi josh2tyte

    Welcome to the Forums of the BlackBerry Support

    Most often a battery pull reboot is enough to solve this problem, but... you close application correctly! If we hold the Menu for a few seconds, it will open a screen that will display all the programs running in the background, usually five will always be there (host, BBM, Message, phone, browser) you can always check if any other applications. run in the background.

  • BlackBerry Smartphone device Media Processor is busy?

    Hi all

    New on the message boards here - I just downloaded my first mp3 to my BB Pearl 8130.

    I bought on amazon, then downloaded as a .wav file to try to get thim in my roxio Media Manager.  Just change the type of file to all files and then put a. WAV extension in the file name.  I do not think that they have downloaded in the roxio properly because shen that I try to play the songs on my BB, I get a message "Error reading" and it says that device Media Processor is busy?

    Is it possible to add in roxio as .amz file type?  Or is just the compressed file .amz file type? Help!

    Never mind - I think that I thought about it!  'Unzipped' just the amazon file and then put in the Roxio.  Thanks anyway!

  • Map of media on BlackBerry Curve 8520 blackBerry Smartphones

    How can I make my press for storage card by default when you install an application on my device?

    Hello

    You can not. The developer of the app can use the media card to store some of their application data, but the application itself can reside in AppMemory.

    See you soon!

  • How to outsource reference data to the business rule processor?

    Details of the environment

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

    Disqualification Version: 12.1.3.0.0

    By default, the reference (rules, controls and conditions) data used by the business rule processor comes to an excel file or stored in the repository database of the Disqualification.

    Is it possible to use a reference to the data that is stored in a different database (out of the repository database Disqualification) in the processor rule business?

    I tried the externalize option in the processor business rule, but on the identity tab, it is not allow me map the rule to the input attribute.

    brule_check_option.png

    brule_check_identify.png

    Hello

    You can manage the rules from the outside, but you need to instantly and use research on stereotypes, because the rules of Business Check needs access to the rules at design time.

    -Mike

  • Media Player blackBerry Smartphones does not!

    Yesterday I was walkin the beach listening to my fav trax, today on the sound, no ringtones, message alert tones when I try use reader, me gives error message and something on... wait... Let me check... ok said: ERROR reading and in the popup says DEVICE MEDIA PROCESSOR IS BUSY... Pls help!

    Not to worry! Must be a bug in the matrix, my bberry must have swallowed the blue pill because it is quite a job suddenly as it should! So pls respond to my other post! Thanx

  • HELP WITH MEDIA PLAYER blackBerry Smartphones!

    for some reason any will not play my media. Photos open, but the sounds and video usually play. I get a message "Device Media Processor is busy" I tried almost everything, but can not solve the problem. Help, please!

    Hello and welcome to the Forums of Support BlackBerry.com.

    With the BlackBerry device powered time, remove battery for a few seconds and then reinsert the battery to restart.

    What else have you tried?

  • Unable to get the total number of records processed by the processor of trade rules

    Details of the environment

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

    Disqualification Version: 12.1.3.0.0


    I use a business rules processor to implement multiple business rules on one record and I am looking for a summary of the number of records increased and does not have a specific rule.


    To illustrate:
    Suppose there are 2 rules, invalid number in Column1 and valid number on Column2.
    10 records to process and 3 folders don't rule 1 (valid on column1) and 9 entered failure of rule 2 (valid number on Column2).

    In the browser of result of the processor Business, the number of past records and failed is displayed but is not part of the output of the processor itself. In the example above, there will be 1 pass and 9 fail records and given the values of said the total number of records can be derived which is 10.

    This is why the expected output will be:
    Success of failure
    Rule 1:7 (10-3) 3
    Rule 2: 1 (10-1) 9
    Note: The number of records that failed can be derived from the table of the rule ID but I don't know how to get the total number of records in order to calculate the number of records that a given rule.

    I tried to publish the County of acceptance and rejection in the browser of result of the processor Business in an intermediate table and ask the same intermediate table to get the pass and fail values but Disqualification does not allow to write and read the same intermediary object in a single process. What is the best way to get the number of records total handled by the processor business rules? This kind of attributes (that do not exist only in the browser of result) can be included in the output of the processor in the next version of the Disqualification?

    In addition, the intermediate table contains only 1 sheet with pass and failure values while the exceptions which have individual failure on each rule contains 12 Archives. What would be the best approach to merge a single record into multiple records according to the example below?

    Staging table
    Success of failure
    1 9

    Exception table
    Single ID ID rule
    Rule 1 Record1
    Rule 1 Record2
    Rule 1 record Record3
    Rule 2 Record1

    Exception table with: staging Table data merge
    Rule ID ID Unique Pass Fail Total
    Rule 1 1 9 10 Record1
    Rule 1 1 9 10 Record2
    Recording rule 1 Record3 1 9 10
    Record1 rule 2 1 9 10

    Please notify.

    Hi Jason,

    The best way to explain how to do this is with an example project (DXI). I'll send you one in offline mode.

    -Mike

  • Type check in Business Checks check list doesn't work not as expected

    Details of the environment

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

    Disqualification Version: 12.1.3.0.0


    I defined in trade controls reference data the following configuration:

    Define by test of name checking:

    Type checking: check list

    Option 1: MOVE


    After that, I created a rule in the rules of reference data in accordance with the following:

    Rule ID: tstrule

    Apply to attribute: attribut1

    Check 1: define by test

    In the business rule processor, I traced attribute1 with the STATUS column. The STATUS column contains only the value either a SUCCESS or FAILURE .

    I expect all records with a value of pass to be in the list of records passing because PASS equals the value defined in the list, check however all records are appearing in the list of failure in the processor business.

    My understanding is that if you create a check and then use it directly in the rule as long as the check is satisfied (PASS = PASS), it must go through the processor business rule.

    Please indicate why the records are in a failed State.

    Note: I tried surrounding the value of Option 1 with single quote and double quote, but I got the same result.

    Hi Jason,

    Tested this case and it worked fine.

    You have all white spaces in the data or something?

    Or do you have other rules in the cheque which fail to record? You can see which rules are incorrect in the output.

    Kind regards

    Mike

  • How a VMGuest can see a number of physical ESX host processor

    Hello

    Not sure if this is expected behavior or not, but I have some application that runs from a linux machine to vmguest in my cluster Vsphere 4.0 U1 that is able to see the number of sockets processor busy on the ESX host that it is currently at. I never saw that happen up to now on another system in our environment. On Linux operating plan, when you run the "cpuinfo", the show only reviews the number of virtual processors assigned to it. I don't know how this program is able to see all the way down beyond the virtualization layer to the actual physical hardware layer on the esx host.

    My first thought was that this was triggered after the installation of the VM Tools on the guest operating system, but even after turning off the service tools you can still see the real taken account on the host computer.

    Can someone explain to me how this is possible?

    Thanks for any info you can provide

    Regardless of the tool that allows you to watch the CPU I have a strong suspicion about what is happening here.
    The exact CPU type in/proc/cpuinfo is listed: "AMD Opteron Processor 6164 HE.
    I guess that the tool you are using has some knowledge (using an internal list of program or by retrieving this information somewhere on the internet) that this CPU has really 12 hearts and he only relies on it and reported that the machine has 12 cores, instead of looking at what is really reported by the operating system.
    So, he just does not have the right to work and is not aware of virtualization.
    In any case, it is not really able to look directly into the hypervisor.
    Andreas
  • timeout when calling Player.start

    Hello.

    In my last project, I have so many headaches just play a sound for running OS 5.0 for the 8520. The app works fine on other operating systems, from 4.5 to 7.0. The audio file is a small wav file included with the app resources.

    After coding a workaround for the stupid exception "Media processor is busy", now I'm having fun with this one:

    net.rim.device.internal.media.RimMediaException: Timed out waiting for UD|LD
    

    It is thrown away after a BIG delay (I'm talking about 5 to 10 minutes) after the call to Player.start.

    As always, no info anywhere. Any help will be much appreciated.

    Solved.

    I had the player always previously retrieved, ready for a quick game after that call to start, then leaving previously read again after the call to stop. I have developed games in JavaME and this is the way to go, since expensive initialization is supposed to be done after you call create.

    However, the BlackBerry of the JSR-135 is terribly bad and buggy on some devices (especially the berries of cheapo running OS 5.0), and not only you receive no performance advantage when this, but you do sometimes get strange like this (and other) exceptions. Also in CDMA devices you can get in trouble, because only a player is allowed to exist, so when a phone call or other event try to play a sound, a player can be cut and remain in a State unconsistent.

    So in the BB, I would absolutely recommend instantiating the player from scratch whenever you need to read the sound and its closure (close call) when finished. This workaround solution solved my problem.

  • BlackBerry Smartphones my "BOLD" will not play You Tube videos

    Hello, I am new on this forum.

    All of a sudden today my BB wil not play Youtube videos.

    Try it, it says buffering and then I get a message saying "device media processor is busy". Nobody knows what is happening. Thank you.

    Hello

    Welcome to the blackberry family

    Friend to be able to play the video in your device, we recommend you to be connected to a wifi network

    Always recommended to use the WiFi for you to play the video you want to see a video and you use just your data plan...

    I recommend also to restart your blackberry, if you do not receive the busy message for a video

    Bravo * don't forget to give to you and these people who help advise on your questions, as well the answer type *.

    @ gutijose14

  • BlackBerry Smartphones need help with youtube

    Hiya

    using m.youtube.com

    When I try to play a video, I get the message - device media processor is busy

    Anyone have any ideas?

    I downloaded xenozu app thinking that might work, but I get an error with this too. -usually that it is impossible to connect with the server

    Hello

    cvs11 wrote:

    Hiya

    using m.youtube.com

    When I try to play a video, I get the message - device media processor is busy

    Anyone have any ideas?

    I downloaded xenozu app thinking that might work, but I get an error with this too. -usually that it is impossible to connect with the server

    HhHmm

    Start with a reset - remove the battery then under tension and leave for a few minutes.

    What OS are you using the Menu > Options > topic (all 4 parts please).

    How long have you used m.youtube.com?

    Have you downloaded anything just before the disorder from?

    Make sure that you don't have too many applications running at the same time. Options > close rather than just escape or by pressing the red button.

  • BlackBerry smartphones now, I have a new problem with this phone...

    I said in my last post that it's my first smartphone, and I'm having some problems with it.

    I played one of the videos stored in my phone, now it won't let me play all videos, he invites me this "device media processor is busy"...

    Also, I noticed this evening that I have no sounds for calls incoming, texts, etc... I went to try and ' change ringtones and it keeps telling me "invalid ringtone selected, please make another selection '.» But the thing is, is that these are the ringtones to the phone is equipped with? Has anyone seen this before or have any solution?

    Hello

    The file type is not listed as a media format supported for the 9670.

    Thank you

    Bifocals

    Support for the formats of media on the BlackBerry Style 9670 smartphone

  • My system restore loads, accepts established and created but never treated successfully restore points why?

    Possible causes: I changed some of my settings from automatic to manual system services not the restoration of the system but, it is not disabled.

    I tried: allocate more or less disk space, used and created restore points the previous month and sleep but everytime I get "cannot restore your computer to...» »

    Could I have deleted a file or program or what all could turn off System Restore?

    Windows XP Professional Service Pack 3 Media, processor pentium 4, 189 remains of 250 Gig memeory, 1 Gig ram

    I installed a X 10 program of wireless security that closes "Run DLL that the application must close" warning if this helps?

    What is the issue that you are experiencing that you think that the system restore will be remedied (or you are just convenient)? System Restore is not a time machine.

    Describe your current antivirus and software anti malware situation: McAfee, Norton, Spybot, AVG, Avira!, Defender, ZoneAlarm, PC Tools, MSE, Comodo, etc..

    Some tools Anti Virus 'protect' your system so that they will not allow a restore of the system work properly.
    For example, if you use Norton/Symantec products, you will see a message like this:
    Restoration incomplete. Your computer cannot be restored...
    It is also a popular Symantec problem (well, I'll be polite and call an "undocumented feature"...), they wrote an article about it:
    According to what you use for malware protection, you may need to disable the product temporarily, do the system restore and then turn the products light up again when the system restore is complete.
    Sometimes you need start your system in Mode safe and so that your protection programs are not running, and then do the system restore.  Tips from Microsoft in some of their articles that if the system restore does not restore your computer, start in Safe Mode, and then run the system restore.  It works for some configurations.
    System Restore is sometimes so afflicted or Restore Points are suspicious, the best solution is to reinstall your system restore.  This will remove the old Restore Points, but sometimes it's the only way to fix a broken system restore.  You don't have to reinstall XP, only the part of system restore.
    That can leave you with your problem of unspecified origin that you hope the system restore will fix (using a system restore is usually not equivalent to fixing the problem though).
    Give these ideas some consideration if they apply to you.

Maybe you are looking for

  • Slow download

    Hello I want to download Mac OS. I have removed the drive and installing a clean install. It is the download speed. Installation runs 2 hours and left 40 hours to download components. Where is the problem? Region: Czech Republic Model: Mac mini (end

  • No search engine

    I had to make a Firefox that sis correct another problem of reset. Now, there is no search engine in the search (top-right) bar. When I click on the arrow down without search engine options are displayed. When I click on MANAGE... There is no options

  • The message that it is has no network adapter and not configured. What's wrong???

    I have a Gateway LX6810 - 01 desktop runnning windows Vista Edition Albums Home Premium, 64 bit, 8 GB of RAM, all the latest updates and Service Pack 2. I connect to the internet through the network connection AT & T Uverse high-speed broadband (12gb

  • Slow start, stop, ~ does not etc. Help!

    I'll try and be as organized as possible.  If you think you know something that could help please let me know.  I really need my computer is working again! Problem: For probably 9/26 my computer worked do everything very slowly.  It's strange to me b

  • BlackBerry JDE fails to start after the installation of Simulator Tour 9630

    I use JDE 4.7.0 on Win XP + a bunch of simulators. After the Tour 9630 Simulator (v 4.7.1.40), I installed the JDE does not start. I tried to run ide.bat via command line - it does not give error messages. I tried to reinstall my JDE (with deletion o