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
- Data Science
- Android
- AJAX
- ASP.net
- C
- C++
- C#
- Cocoa
- Cloud Computing
- HTML5
- Java
- Javascript
- JSF
- JSP
- J2ME
- Java Beans
- EJB
- JDBC
- Linux
- Mac OS X
- iPhone
- MySQL
- Office 365
- Perl
- PHP
- Python
- Ruby
- VB.net
- Hibernate
- Struts
- SAP
- Trends
- Tech Reviews
- WebServices
- XML
- Certification
- Interview
categories
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
Count number of vowels, consonants and digits in a String in Java
Student marks calculation program 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
Archived Comments
1. It doesnt works in Mozilla Firefox.
View Tutorial By: K Vijay Anand at 2010-06-20 09:11:26
2. Who can send me the program and source to call thi
View Tutorial By: Michael Chon at 2008-10-04 21:03:30
3. Okay, this article cleared my two doubts i.e. Use
View Tutorial By: Shrikrishna Meena at 2010-09-26 12:38:04
4. realy i enjoy it for visit your site. and i unders
View Tutorial By: vinod balot at 2015-02-09 17:43:30
5. thanks alot!
View Tutorial By: gumuruh at 2010-11-06 11:27:18
6. wonderful
simplified description
ke
View Tutorial By: ephrem at 2010-01-14 06:12:05
7. Tnx. Very fast learning i think.
Just make
View Tutorial By: mahdi at 2011-07-09 20:20:39
8. Hi
I am newly in java. I have one dought.
View Tutorial By: Dinakar at 2008-07-26 01:13:08
9. The basic structure of simple program is used to l
View Tutorial By: Muthusasi at 2009-12-17 21:10:01
10. Hei Kaify What is this????
if we get knowle
View Tutorial By: Sooraj A.S at 2011-08-26 14:12:36