This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Java Micro Edition and the fly likes problem with playTone() method Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "problem with playTone() method" Watch "problem with playTone() method" New topic
Author

problem with playTone() method

honey sachdeva
Greenhorn

Joined: Feb 05, 2011
Posts: 6
hi

i am use following code

try {
Manager.playTone(ToneControl.C4, 5000, 100);
} catch (MediaException ex) {
ex.printStackTrace();
}

but it play tone for always 1 second. it ignore the duration..

i am using netbeans 6.7

can anyone help in this
 
Don't get me started about those stupid light bulbs.
 
subject: problem with playTone() method
 
Similar Threads
Word Games
are you guys all aquiver?
Who am I?
design question
Completed SCEA(II/III) . i.e. Now all 4 Sun Java Certifications are complete.