Code example for MediaPlayer

Methods: isLooping

0
	 *  
	 * @return boolean 
	 */ 
	public boolean isLooping() { 
 
		return mediaPlayer.isLooping();
	} 
 
	/** 
	 * Get rid of the music 
	 */ 
	public void dispose() { 
		 
		if (mediaPlayer.isPlaying()) {
			 
			mediaPlayer.stop();
		} 
		 
		mediaPlayer.release();
	}