Comment on Tutorial - Play a multimedia file in J2ME Program (Audio/Video) using MMAPI By Vikram Goyal



Comment Added by : Nithya

Comment Added at : 2011-08-31 02:27:48

Comment on Tutorial : Play a multimedia file in J2ME Program (Audio/Video) using MMAPI By Vikram Goyal
@All

You need to first keep your .wav file in src directory of your J2ME app.

Later, in that CreatePlayer, you can directly give as
Player player = Manager.createPlayer(getClass().getResourceAsStream("/flexible.wav"),"audio/x-wav");

It fetches flexible.wav under your src folder and plays the audio file. You can try this way. You wont get the Illegal Argument Exception.


View Tutorial



Subscribe to Tutorials

Related Tutorials

Program using concept of byte long short and int in java

Update contents of a file within a jar file

Tomcat and httpd configured in port 8080 and 80

Java File

Java String

Count number of vowels, consonants and digits in a String in Java

Reverse a number in Java

Student marks calculation program in Java

Handling Fractions in Java

Calculate gross salary in Java

Calculate average sale of the week in Java

Vector in Java - Sample Program

MultiLevel Inheritance sample in Java

Multiple Inheritance sample in Java

Java program using Method Overriding

Archived Comments

1. that was WMC modem i think not Beetel ADSL 2+ mode
View Tutorial          By: chandu at 2008-12-12 22:05:16

2. hello
i am developing a budget application

View Tutorial          By: anu at 2010-04-16 04:26:36

3. hi all,

i successfully executed the

View Tutorial          By: praveen at 2010-07-14 04:47:41

4. Is it possible to create a Reader class without lo
View Tutorial          By: bs at 2010-10-11 05:42:34

5. Thanks!
Please point me to a site which di

View Tutorial          By: TERRY DEGLOW at 2012-01-29 16:04:41

6. Thanks dear
View Tutorial          By: Muthin at 2009-04-29 00:32:24

7. It's very helpful to me... Thanks...
View Tutorial          By: Nicks Patel at 2010-03-24 23:37:04

8. Unable to understand all the points, quiet confusi
View Tutorial          By: KB at 2015-04-15 10:11:14

9. thank you soo much .. itss realy helpful.... :)
View Tutorial          By: prakriti at 2011-12-03 16:47:11

10. help me for this nested for loops
2 3 4 5
View Tutorial          By: nadzirah at 2012-10-12 15:33:20