Code example for MediaPlayer

Methods: isPlaying

0
		return -1; 
	} 
	 
	public boolean isPlaying() { 
		if (mp != null)
			return mp.isPlaying();
		return false; 
	} 
	 
	public void pause() { 
		if (mp != null)
			mp.pause();
	} 
	 
	public void start() { 
		if (mp != null)
			mp.start();
	} 
 
	public void stop() { 
		if (mp != null)