Looking for sound solution for J2ME.

Hello everyone,
I am wondering how to play sound (for example, .wav, .mp3, etc.) on J2ME platform, especially Foundation profile. Can anyone provide any resources?
Thanks in advance,
George

Thanks fakhar,
Foundation profile is based on CDC and MIDP isbased
on CLDC, so they have different underlying
frameworks. This is why I am wondering whetherMMAPI
can be used on Foundation profile. I want to know
your ideas on it.That's right .. the following .ppt says "[...]
Targets the CLDC as its lowest common denominator so
it can also be used on CDC-based profiles as well."
- http://www-staff.it.uts.edu.au/~ventsov/lec13.ppt
It seems MMAPI can be used as an optional package
with CDC/FP based-devices.
But point is that even if it is possible, are there
devices available in the market?Your reply is very helpful. I am meeting with a further issue when running the following simple sample of MMAI,
public static void main(String[] args) {
     try {
          Player player = Manager.createPlayer"http://localhost/sample.wav");
          player.start();
     } catch (MediaException e) {
          e.printStackTrace();
     } catch (IOException e) {
          e.printStackTrace();
}java.lang.UnsatisfiedLinkError will be thrown,
Exception occurs in thread �main� java.lang.UnsatisfiedLinkError: com/sun/mmedia/WaveOut.nOpen(IIIII)I
     at com.sun.mmedia.WaveOut.open(Unknown Source)
     at com.sun.mmedia.WavPlayer.doPrefetch(Unknown Source)
     at com.sun.mmedia.BasicPlayer.prefetch(Unknown Source)
     at com.sun.mmedia.BasicPlayer.start(Unknown Source)I am wondering how to solve this issue?
Thanks in advance,
George

Similar Messages

  • Looking for J2ME audio or video player

    Hello all,
    I am looking for an audio or video Java player which can be used on Foundation of J2ME platform. It is better an open source Java player (but not a must requirement). I am wondering where can I find related sources?
    regards,
    George

    I think there's at least a couple of small application examples in the java tutorials; why don't you start looking at:
    http://java.sun.com/docs/books/tutorial/sound/
    Just a clue.

  • Looking for J2ME MP3 Player Code

    Hello,
    I just started writing a J2ME MP3 player application. The MP3 files are stored in the device's flash memory, not streamed through the air. The user interface would be simple and device-independent. I am searching for source code that I can learn from or modify. Is there a J2ME MP3 player open-source code?
    T.I.

    i've got one but i will never give you the code !!!!
    i can help you with your code (errors, debugging,...) and give you some tips to start:
    1- search on google
    2- start coding
    3- test your app and come here when you will have a problem with the Manager.createPlayer.....
    good luck !

  • Looking for J2ME Game Tutorial

    Hi,
    I really want to start writing J2ME Game, however, at least, I need some source codes before doing anything. Is there any moving Hello World Game? Joking.
    Would u please suggest me where can I find more about J2ME Game, especially source code. I need them in urgent. THx.

    When you download the WTK 2.0 (from this site), you get example applications. Included are 3 (I think) nifty games. I also know that the Nokia SDK also comes with an example of a J2ME game.
    I think that if you are familiar with Java you don't need much than that to start writing your own games.
    shmoove

  • Looking for a headphone solution editing surround

    Looking for a headphone solution when editing suround environment in Soundtrack Pro 2. I have a Mac Pro. Is there any phones that would connect (direct or indirect) to the optical audio output, or do I need to buy a 5:1 speaker sound system with headphone jack?

    Hey sorry for the late reply, I was busy to figure out alternatives as harman kardon was a difficult affair to find and acquire, but the good news is I managed to get hold of alternative.
    Sony I assume recently launched a Bluetooth headphone DR-BTN200 which is compatible to my MacBook Air , iPad mini and android phone galaxy s2 with ease, the sound quality is pretty good as compared to other brands of Bluetooth headphones I checked compatible or incompatible to apple devices alike, this is definitely what I was looking for, costed me 7990 INR, this is highly recommended for ppl who are confused, I carried my devices to the store and checked before I bought a pair and pretty much happy,
    The best part of this is its battery backup, I have used this hours for 3-5 days but this has not drain even then, but I do keep this charging once in 2-3 days just to keep this ready otherwise it does not even ask for it neither the quality of sound drops after 2-3 days of use.
    This is over the ear headphone which is very soft but it's get sweaty around the ear I guess that's bound to happen.
    Do get back to me for any other details, would be glad to share with all :)

  • Looking for a sound

    Hi Guys,
    I'm looking for a sound like the one that is in the end of I'm Outta Time by Oasis,
    like a clock, there any similar in mainstage?
    Thanks,
    Bye

    Emerald Sounds has been around for a long time:
    http://www.freewarepalm.com/music/emeraldsounds.sh​tml
    WyreNut
    Post relates to: Centro (AT&T)
    I am a Volunteer here, not employed by HP.
    You too can become an HP Expert! Details HERE!
    If my post has helped you, click the Kudos Thumbs up!
    If it solved your issue, Click the "Accept as Solution" button so others can benefit from the question you asked!

  • Looking for WS solution

    Hi,
    I need to implement couple of web services on a FreeBSD box. After a lot of effort, I managed to run (linux port of) JDK1.5 on my BSD box (actually, in a jail). I am having a problem with Axis; generated WSDL file has "in0 in1.." like parameter names. I have found a solution here, which talks about what I guessed, that is compiling sources with debug flag. If that's the only way, that sounds too stupid, now I am looking for a better way of exposing "the right" parameter names. If Axis cannot read names from somewhere else, or cannot display man-made WSDL file, I would like to migrate another "free" engine to run my web services, on the same BSD box.
    Do you have any suggestion/resolution to my concerns?
    Ismail

    Give JAX-WS a look. http://jax-ws.dev.java.net. The use of annotations will allow you to customize most Java->WSDL mappings.

  • DV4-1125nr black screen on boot up looking for bios flash file taken off hp site or solution

    have black screen looking for sp41969.exe for dv4-1125nr to do blind flash.  on board diagnosis is 4 flashes (graphics controller malfunctioning) with amber sound and wireless lighting up by keypad not very good with computers so any help in dummy terms would be appreciated if you have the file i need please email to {Personal Information Removed} thanks

    HI,
    bmbrsoccer4 wrote:
    have black screen looking for sp41969.exe for dv4-1125nr to do blind flash.  on board diagnosis is 4 flashes (graphics controller malfunctioning) with amber sound and wireless lighting up by keypad not very good with computers so any help in dummy terms would be appreciated if you have the file i need please email to {Personal Information Removed} thanks
    Try the troubleshooting procedures on this HP web page.
    Best regards,
    erico
    ****Please click on Accept As Solution if a suggestion solves your problem. It helps others facing the same problem to find a solution easily****
    2015 Microsoft MVP - Windows Experience Consumer

  • Adobe creative cloud has stopped working, all my individual programmes from adobe open and work fine, but when I try to open adobe cloud it starts to open then says adobe cloud has stopped working, looking for a solution then shuts down, I can not open it

    Adobe creative cloud has stopped working, all my individual programmes from adobe open and work fine, but when I try to open adobe cloud it starts to open then says adobe cloud has stopped working, looking for a solution then shuts down, I can not open it at all.

    Without proper system information and the application logs nobody can tell you much.
    Troubleshoot Creative Cloud download and install issues
    Mylenium

  • Need urgent help to "error 5". Found a solution, but looking for a savior.

    Hey guys.
    I'm really a fish out of water here. But I'm in great need of some help. But I really don't know if this is he place to get it (maybe you can point me in the right direction?).
    Case:
    I have a very important InDesign-file (CS5) that's been toasted. I'm getting the notorious (and rare) "error 5"-message. The file can't open no matter what I do. I've figured out that this error could be because I've been copy pasting big images into the ID-document instead of using Place (silly me). I didn't make a backup (stupid me).
    I've heard that Markzware have made an extension program for Quark Express 8 (which i have just downloaded in trial) called ID2Q that makes Quark open ID-files. Even files that have the error 5. My problem is now this: There's no trial version availible of ID2Q and since I'm a student with empty pockets I can't afford to by the software for the aprox. 200$.
    Therefor I'm looking for someone that might have the software lying around and would be willing to get my file (I've put it up on a ftp-server) change it into a quark-file and return to me. I should then be able to open it in ID and save it again as .indd - at least that's what i read around the web is my ONLY solution.
    Looong post, I know. Sorry. Do ANY of you where to get this kind of help?
    Thanx.
    Roald from Barcelona

    Anyone offering that would be in violation of the EULA.
    Your best bet is contact Markzware to see what they can arrange for you.
    Bob

  • HI i have tried so many times to import images, both pictures and video from my hard drive to elements 131, and it keeps coming up with the error message " .....has stopped working we are looking for a solution to this problem etc " please help!

    After taking days to upload elements 13 I am now having trouble even trying to import my images and videos into the program for editing. Each time I IMPORT files an error message comes up that says " ....has stopped working, we are looking for a solution to the problem and will notify you if a solution is found"  I have not been able to edit ANYTHING or even drag files/images to the time line.... is it me? is my computer too slow? surely if it was, then Adobe elements 13 would not have installed in the first place? please someone help me sort this out as I have a deadline to make for a docco! thanks in advance Lyddy

    From the Premiere Elements Information FAQ http://forums.adobe.com/thread/1042180
    •You MUST use an account with Administrator Privileges to run Premiere Elements
    •(Doing Run as Administrator http://forums.adobe.com/thread/969395 [says Encore and also for "All" versions of Premiere] will sometimes fix "odd" errors)
    •What version of Premiere Elements? Include the minor version number (e.g., Premiere Elements 12 with the 12.1 update)
    •What operating system? This should include specific minor version numbers, like "Mac OSX v10.9.4"---not just "Mac"
    •Has this ever worked before?  If so, do you recall any changes you made to Premiere Elements, such as adding Plug-ins, brushes, etc.?  Did you make any changes to your system, such as updating hardware, printers or drivers; or installing/uninstalling any programs?
    •Have you installed any recent program or OS updates? (If not, you should. They fix a lot of problems.)
    •What kind(s) of image file(s)? When talking about camera raw files, include the model of camera.
    •If you are getting error message(s), what is the full text of the error message(s)?
    •What were you doing when the problem occurred?
    •What other software are you running?
    •Tell us about your computer hardware. How much RAM is installed?  How much free space is on your system (C:) drive?
    •How many and what speed are your hard drive(s)... ie 5400rpm or 7200rpm or?
    And some other questions...
    •What are you editing, and does your video have an orange line over it BEFORE you do any work?
    •Which version of Quicktime do you have installed?
    •What is your exact brand/model graphics adapter (ATI or nVidia or ???)
    •What is your exact graphics adapter driver version?
    •Have you gone to the vendor web site to check for a newer driver?
    •For Windows, do NOT rely on Windows Update to have current driver information
    •-you need to go direct to the vendor web site and check updates for yourself
    •nVidia Driver Downloads http://www.nvidia.com/Download/index.aspx?lang=en-us
    •ATI Driver Autodetect http://support.amd.com/en-us/download/auto-detect-tool

  • I'm getting popup notices that Firefox has a problem, and Windows is looking for a solution; then it closes Firefox and says Windows will let me know if it finds a solution. No crash report window comes up.

    Firefox is my default browser on my new laptop, with OS Windows 7. I've now had several instances where a Windows popup comes up saying Firefox has developed a problem and may have to close. It also indicates Windows "is looking for a solution to the problem." No solution is found, however, and Firefox is forced to close, with the happy notice that Windows will let me know if it finds a solution to the problem. If there is any tech data on the crash, I'm not sure where to find it, and no Firefox crash report window comes up. I thought it was an anomaly the first time, but this has now occurred at least 4 times in the past several days.

    See:
    * https://support.mozilla.com/en-US/kb/Firefox%20crashes%20when%20you%20open%20it

  • Looking for a solution to simply drop outliers

    I have created an application to measure a Helium concentration, using an Alcatel ASM-102 Leak Detector.  The problem is that occasionally, the device sends out a bogus value, perhaps 0.00x10^0 or perhaps 2 x 10^-2, reather than 2 x 10^-7.  I am looking for the cleanest approach to look at the array when I'm done, and just discard any values that do not fall between 1 x 10^-6 and 1x10^-3.  Any ideas? 

    altenbach, as usual, your programming is really easy to follow.  OK, so here is the last piece of the puzzle.  I actually have two arrays:  one is a helium concentration, and the other is a helium flow. My flow values are always good, but as I said before, there are sometimes bad values in the concentrration array.  SO, what I want to do is to eliminate the flow element that corresponds to any bad concentration element.  Hmmm, sounded like a good idea when I did it   Anyway, you can see that the result that I currently have is that the filtered flow array is simply the last n elements of the raw flow array, n being equal to the delta between the array size of the raw concentration and the filtered concentration arrays.  I hope I haven't managed to confuse you with that nonsense. 
    Basically, if I drop 5 elements from the raw concentration array, due to their not having passed through the filter, then I show the last 5 flow values in the filtered flow array, rather than passing all but 5 of the values.
    If 15 of 20 helium concentration values are good, then I pass the last 5 helium flow values, rather than the 15 values that correspond to the 15 good concentration values.
    HELP!  If I can't figure this out, I may just take the average of the good concentration values, and the average of all the flow values, and do the rest of my calculations based on averages, rather than calculating each value based on a known good concentration and a known good flow. 
    Attachments:
    Remove Outliers dual sub.vi ‏50 KB

  • Delivery analysis / Looking for a BEx solution

    Hello everybody,
    I'm looking for an easy solution within the BEx. I would like (if possible) to avoid touching the data model.
    Here what I would like to achieve:
    Description of my desired report: delivery analysis ( number (quantity) ofdeliveries with X positions ).
    Output should look like this:
                                number (quantity) ofdeliveries with X positions        
    Country              X=1        X=2      X=3    X=4    X=5   X=6   X=7   X=8   X=9    X= more than 10 
    FR                        1451   407   377 and so on
    ES                        177     40    24   and so on
    IT                          173     66    44   and so on
    For me its quite tricky. In my Cube (Multiprovider) there should be all information included.
    I have country, delivery (itself) , number of deliveries, number of delivery positions )
    How can I do that. Maybe with new calculated figure and a condition. Any ideas?
    Hope to hear from you.
    Best regards Harry

    steffi.kono wrote:
    In this example I have four arrays, which I would like to save alltogether in one file. First column should consists of time stamps, second column of value type 1, third column of value type 2, ... How can I solve this?
    Built the 4 1D arrays into a 2D array, the use write to spreadsheet file.
    steffi.kono wrote:
    And, after that, how can I display only the second coulmn (e.g.) and time stamps in a waveform chart from this file? Or how can I say in LabVIEW: "display the last 30 values of column three over the time in a waveform chart"?
    There is "array subset", which allows you to get any desired subset from an array. If yoyu want entire rows or colums, use "index array".
    To display the last 30 values in a chart, just feed the data to a chart with the history size set to 30 elements. The rest will fall into place.
    LabVIEW Champion . Do more with less code and in less time .

  • Looking for SQL Solution to Very Unique Problem

    Hello,
    New here, thanks. I have what I think is an interesting problem. I really don't want to post it because the background and explanation is rather lengthy. It has to do with one table that holds some general info; there is a unique numeric primary key. Associated with this table are three different tables identical in structure, having only two fields: the primary key, and a code. The three tables correspond to test results performed by a different individual. For each entry in the main table, where there is one and only one entry for the primary key, the same test could have been performed one, two, or three times. So there could be one, two, or three different sets of codes describing the test results. Only one set of the test result codes is the correct one. And there is a hierarchy that determines which is the correct set of codes. Say the main table is called LR. LR is linked to three different tables, each of which has the exact same structure. The relationship between LR and each of these three tables is one to many. Call the three tables that hold test results SCR, QC, and PT. Some assumptions can be made. In the table LR there are two flag fields: Q_STATUS and P_STATUS whose values each are either Y or N. If P_STATUS=Y, then we are guaranteed a set of test result codes in the table PT, and this set of codes is always the final word; always the correct results. If P_STATUS=N but Q_STATUS=Y, then we are guaranteed to have a set of test result codes in the table QC, and if this is the case, then this set of codes is the final word. Now if P_STATUS=N and Q_STATUS=N, then we know there is a set of test result codes in the SCR table, we know there is one and only one set of test result codes, hence this set is the correct one. Another assumption that can be made, for any row in the LR table, there will ALWAYS be at least one set of test result codes in the SCR table. There may or may not be a set of test result codes in the QC and PT tables, and the flags in the LR table indicate if either is the case. Hope this makes sense so far. For many years I have been trying to figure out one SQL statement that will return the correct set of test result codes. Often I have to analyze data that relies on the results of a test (e.g. how many tests had the code 850 in the year 2011?). That's a simple example, but you get the idea. Since I have to determine which set of test result codes is the correct one to use, I've always had to rely on writing a PL/SQL procedure anytime I have to work with test result codes. I tend to use a conditional: IF (P_STATUS=Y) THEN /*the right answer is in the table PT*/ ELSIF (Q_STATUS=Y) THEN /*the right answer is in the table QC*/ ELSE /*the right answer is in the table SCR*/. I have a document with a little more detail, and an example. Or maybe this makes absolute sense to someone out there and they know exactly what to tell me! And let me say this is not a critical issue for me. I've been searching for this SQL statement for about 10 years now. I consider myself pretty proficient with SQL, but definitely not a guru. I'm thinking the solution I'm looking for might rely one some kind of full outer join on all three of the tables SCR, QC, and PT and then if those results could be linked to the LR table, and then maybe in the SQL statement use of DECODE might do it. I want one SQL statement that will return me the correct set of testing result codes. Hope this all makes sense. To anyone who has read it I thank you very much. I would be very happy to provide my document with further explanation and an example. Any response is greatly appreciated. Guess I have to keep coming back here now to see if anyone responded. Oh, I might add that we use a very old version of Oracle (8.0.3) but, if all goes according to plan, we should migrate to the most current version within the next year.
    Thanks,
    John Cardella
    Edited by: BluShadow on 21-Feb-2012 13:52
    Email address removed for your own benefit, unless of course you'd like spam bots to pick it up and send you lots of rubbish?

    Why do I keep three tables. Each sample that is evaluated is always screened by what I will call a "tech." Every so many cases the test must be repeated for quality control. If the findings of the initial testing or of a quality control test are found to contain abnormal results, then the test must also be repeated, this time looked at by a doctor. So I have what I refer to as the "main" table; the one that holds final data, which in my example I explained the two "flag" fields that indicate if the test was repeated. Every time a test is evaluated it is done by the same person, and the findings of an individual testing, or screening, are a set of test result codes. There is the "main" control table which I have called LR in my example. The reason I have the other three tables: one is used to store the test results of the initial screening (always done); one is used to hold the test results of a quality control case (may or may not be done); and one is used to hold the test results of an abnormal case that was screened by a doctor (may or may not be done). There is a separate table for each individual who may have done a screening.
    Let us consider the results of just one case. In the table LR we have something like this:
    | KEY | P_STATUS | Q_STATUS |
    | 100 | Y | Y |
    By default, for any entry in the LR table there is always a set of codes in the SCR table. We know a quality control was performed because QC_STATUS=Y, and we know it was screened by a doctor because P_STATUS=Y. So we would have three different sets of findings, each in one of the three tables:
    SCR TABLE: QC TABLE:
    | KEY | CODE | | KEY | CODE | | KEY | CODE |
    | 100 | 014 | | 100 | 13R | | 100 | 13R |
    | 100 | 13R | | 100 | 150 | | 100 | 170 |
    | 100 | 150 | | 100 | 170 | | 100 | 180 |
    | 100 | 160 | | 100 | 190 |
    The values in the three tables represent the findings of three different people who screened the test sample. Now suppose I combined all the data, I would suppose it would look something like this:
    | KEY | P_STATUS | Q_STATUS | KEY | CODE | KEY | CODE | KEY | CODE |
    | 100 | Y | Y | 100 | 014 | null | null | null | null |
    | 100 | Y | Y | 100 | 13R | 100 | 13R | 100 | 13R |
    | 100 | Y | Y | 100 | 150 | 100 | 150 | null | null |
    | 100 | Y | Y | 100 | 160 | null | null | null | null |
    | 100 | Y | Y | null | null | 100 | 170 | 100 | 170 |
    | 100 | Y | Y | null | null | null | null | 100 | 180 |
    | 100 | Y | Y | null | null | null | null | 100 | 190 |
    Since P_STATUS=Y I would want the result set returned to be {13R, 170, 180, 190}.
    But suppose P_STATUS=N and Q_STATUS=Y then I would want the result set to be {13R, 150, 170}
    And if P_STATUS=N and Q_STATUS=N then I would want {014, 13R, 150, 160}
    Of all of the sets of test results codes, only ONE is ever the final word (i.e. the right answer).
    So what I was trying to do is find a query that would give me what I want. And my apologies if there is a major design flaw. I always thought it was not that bad. But then I am no SQL guru either.
    To anyone who has read on further my most humble thanks. I really did not mean to waste anyone's time or be a pain in the ass.
    Thanks Again,
    -JC

  • Looking for a simple solution: setting up a reply posting board

    Hi.. I use dreamweaver and am looking for a fairly simple
    solution...
    How can I set up so viewers can post a comment after an
    article and the only validation needed is registering by email?
    ANy suggetsions would help ...
    my user rating of dreamweaver is 5 out of 10.. 10 being
    professional.
    SImilar to this link
    http://www.cbsnews.com/stories/2007/01/17/entertainment/main2365259.shtml
    Thanks
    -Luis

    Hi OrganicBooks, and a warm welcome to the forums!
    NAS seems to be all the rage these days, but having tried most backup methods available, I use Tri-Backup...
    http://www.tri-edre.com/english/tribackup.html
    To backup any/all of my computers to Firewire drives on any other Networked Computer.
    This method requires the Computers to be running, though it has an option to start the backups when they show up on the network.

Maybe you are looking for

  • Deleting Keyfield from DSO

    Hi Friends, I have created a DSO with some key field selections now i want to delete one of the key field from the list.  But when i drag it back i don't get any opetion to remove it from the list.  I need to remove that field to load the data into t

  • EM12c User Reported Event from PL/SQL

    Hi, Is there a way to create a user reported event from PL/SQL (similar to emcli publish_event) ? Thanks

  • Mobile custom itemRenderer adivce: grouping of elements

    Hello, I am building a custom itemRenderer for a Flex Mobile app. It will be like 3 columns, first 2 with 2 StyleableTextField stacked vertically and the 3rd with just one StyleableTextField. I've uploaded a symbolic image of what I mean. (symbolic =

  • AD Migration Question

    we are in process of migrating / consolidating 14 forests into one forest. these 14 forests are resultant of acquisitions and below are the high level plan I am articulating before using ADMT to do actual migration <assumption> : I am aware of the si

  • ALV Display - Subscript/Caption in a field title row

    Hello, I would just like to ask if there's a way for me to create a sort of subscript or caption font within a field title row? It should look like this: <b>TOTAL NUMBER OF EMPLOYEES W/O REQUIRED SKILLS *Some profiles are missing for positions*</b> T