Player player = Manager.createPlayer("http://localhost/sample.wav");
player.start();
}catch(MediaException e){
e.printStackTrace();
}catch(IOException e){
e.printStackTrace();
}
}
Your reply is very helpful. I think you are very careful. It is a copy&paste mistake of myself. My actual source codes are the same as you have correctly written. But it still has the exceptions which I quoted. I am wondering what is the cause of this issue and how to solve it.
Re: Question about java.lang.UnsatisfiedLinkError in MMAPI
Is this for a mobile device? The library you downloaded is: Micro Edition Mobile Media API Reference Implementation Version 1.0 (MMAPI)
You may be experiancing problems because you are trying to run the app as a PC app, and the library is not designed for the PC environment. Hence the Link error.
Re: Question about java.lang.UnsatisfiedLinkError in MMAPI
Thanks jerbo,
Quote originally posted by jerbo ...
Is this for a mobile device? The library you downloaded is: Micro Edition Mobile Media API Reference Implementation Version 1.0 (MMAPI)
You may be experiancing problems because you are trying to run the app as a PC app, and the library is not designed for the PC environment. Hence the Link error.
I am writing an application for Foundation profile of J2ME. It is not running on PC (J2SE). Do you know how to solve this issue?
I don't know if this will help or not. I haven't had any experience working with j2me either.
I have read this discussion and it is very helpful. But I think this discussion is not similar to my issue. My issue is that the sound can not be played, and the discussion is dealing with how to solve delay issue (the sound can be played in this discussion). I am wondering your comments.
No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.