Meaningless Drivel is fun!*
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
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: problem with playTone() method