Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa Java-Beginners how to stop audio (mp3)
Login         

View Questions and Answers by Category

Advertisements


 
Have Programming Question? Ask it here!
 
 
 


shruti gupta
how to stop audio (mp3)
2 Answer(s)      3 years and 3 months ago
Posted in : Java Beginners


if(e.getActionCommand(). equals("Stop")){ player.stop(); }

i am making an audio player in which i have to stop a song. on writing player.close() it pauses the song rather than stopping it. how should i stop the song keeping in mind i have to play another song later.


Advertisement
View Answers

August 4, 2011 at 10:25 AM


Please go through the following link:

http://www.roseindia.net/j2me/video-midlet.shtml



August 4, 2011 at 7:17 PM


but i am not playing mp3 on mobile..i want to make a normal audio player in java for computer



Related Tutorials/Questions & Answers:
how to stop audio (mp3)
how to stop audio (mp3)   if(e.getActionCommand(). equals("Stop")){ player.stop(); } i am making an audio player in which i... stopping it. how should i stop the song keeping in mind i have to play another song
Java how to stop audio
Java how to stop audio  hello i have this code in the main: try { AudioInputStream audio = AudioSystem.getAudioInputStream(new File...); } I want that when i press the stop button in the gui, the audio stops
Advertisements
How to stop the execution of midlet in j2me?
How to stop the execution of midlet in j2me?  Hi, How to stop the execution of midlet of j2me for a specific amount of time? Thanks & Regards, Sivakumar.J
converter code for audio file
converter code for audio file  how can i convert a audio file to a another file format like mp3
how to solve 'Stop Running This Script' Error ?
how to solve 'Stop Running This Script' Error ?  Hi.. When opened the page on IE browser(version : 8.0),it gives an java script error (i.e.Stop Running This Script). I have used jsp/servlet for this. Please help to resolved
how to play audio track in java applat
how to play audio track in java applat  Sir,i took help of coding in how to play audio track in java applet....nd i found perfect code ..but when i... file...as u see there is no main claas in this coding then how would i run dis
how to add audio clip in swings with event handling
how to add audio clip in swings with event handling  hello dear, i wanna to play audio clip in java program in JFrame in swings by event handling ,it should be like when i click on a button , audio clip should play , plz tell me
Playing mp3 file in Java...
Playing mp3 file in Java...  I created frame with play and stop buttons and added separate ActionListener to those buttons but i can't stop the music while playing
how to allow or stop using internet - Java Server Faces Questions
how to allow or stop using internet  hello this is my first qusetion I am developing a cybercafe management tool in java,the problem is how to allow or stop the users of cafe using internet by the administrator on other
How to raise an event on a flash mp3 player after 30 seconds from starting song..?
How to raise an event on a flash mp3 player after 30 seconds from starting song..?  Can you help me for writing a couple of codes in action script... to learn new things. I have one flash player (flabell mp3 player with playlist
how to run audio files in net beans using j2me
how to run audio files in net beans using j2me  i am running the audioMidlet in net beans. Now where should i place the .wav files inorder to play them
upload and download mp3
upload and download mp3   code of upload and download Mp3 file in mysql database using jsp and plz mention which data type used to store mp3 file in mysql database
stop repetition
stop repetition  i want to know use of Hashmap, and its contains key... record more than one time. so could u please guide me how to handle this problem... they have same id so i want to stop repetition
How to stop java scripting engine when the script being run is taking too much time?
How to stop java scripting engine when the script being run is taking too much time?   How to stop java scripting engine when the script being run is taking too much time? for e,g, in case of infinite loop the memory is getting
mp3 player in c# GUI - Framework
mp3 player in c# GUI  Q. I WANT TO CREATE A MP3 PLAYER IN C# WITH SOUND CONTROL AND PROGRESS BAR
download mp3 file on server in iphone
download mp3 file on server in iphone  I want to download mp3 file on the server in iphone......plz help me give me the demo code
stop the running hidden server
will need to stop the other process or change the port number(s). how to stop tis...stop the running hidden server  Port 8080 required by Tomcat v6.0 Server at localhost is already in use. The server may already be running in another
flex didn't know how to drag and drop video and audio in flip book - Framework
flex didn't know how to drag and drop video and audio in flip book  ... target to add the video audio and photo in this book i am able to add the photo in this book but i didn't able to add video and audio so pls help me for my project
Audio Processing
Audio Processing  Sir, I want implement an audio recognition system by using java.. Is it possible? and tell me the process... thank you
ffmpeg audio from video
ffmpeg audio from video  Hi, How to extract audio from a video file? Thanks
Play Audio in Java Applet
the sound file. This program will show you how to play a audio clip in your java applet... is used to play the sound while stop() method is used for stop the running audio... Play Audio in Java Applet      
iPhone play, pause and stop playing music
iPhone play, pause and stop playing music This is the small iPhone SDK example that will show you how to play, pause and stop the music on button... that just drag and paste the music or audio file into the resources folder, which
HTML5 audio reference
HTML5 audio reference  Hi, Tell me the best url to learn HTML5 audio tags with examples. Thanks   Hi, Learn how to use HTML5 audio tags to play the audio on web page. The HTML5 audio tag is used to play the video
Open Source MP3 Player
available for both MP3 and WAV audio formats. * Tag viewer improved to display ID3..., Licenses Xing GoodNoise Corp has waded into the battle over the MP3 audio... over and over.    Open-source audio wins MP3 player support
audio video conferencing
audio video conferencing  how to develop a chat application in peer to peer setup
Audio Level Meter
Audio Level Meter  Hello I'm new to programming and I'm trying... and display how loud is.I'm thinking of converting the sound recordings to numbers,so...,but it's returning -1 everytime.I guess I'm not using it properly. Any ideas how I must
Broadcasting audio.. - JSP-Servlet
Broadcasting audio..  i am doing a project on Internet radio. I embeded windows media player,but doesnt know how to broadcast...i need to stream the audio. can anyone give a solution for this. Its very urgent
mp3act web mp3 ajax jukebox
mp3act web mp3 ajax jukebox       mp3act Digital Music Server is a PHP and MySQL driven mp3 web-based jukebox for playing music locally or streaming music to anywhere in the world
playing an audio file
how to solve this problem and also tell me where i should pass my audio clip...playing an audio file  In playing an audio file we have to take one method getAudioClip(getCodeBase(), "TestSnd.wav") inside that getCodeBase
uploading audio file iphone
uploading audio file iphone  uploading audio file iphone
Audio MIDlet Example
Audio MIDlet Example       This example illustrates how to play audio songs in your... a player for an audio song by using of javax.microedition.media API. As you
Advertisements
 

 

 

DMCA.com