Code example for MediaPlayer: Playing audio and video

Methods: start

-1
	@Override 
	public void show() { 
		super.show(); 
		 
		if(isSound){
			mPlayer.start();
		} 
	} 
	 
	/** 
	 * 设置是否播放声音 
	 */ 
	public void setIsSound(boolean isSound) {
		this.isSound = isSound;
	} 
	 
	/** 
	 * 获取控件实例 
	 * @param context 
	 * @param text 提示消息 
	 * @param isSound 是否播放声音