Code example for VideoView

Methods: isPlayingpause, canPause

0
        mOnClickListener = null;
    } 
 
    public final void pausePlayback() 
    { 
        if(mVideoView != null && mVideoView.isPlaying())
            if(mVideoView.canPause())
                mVideoView.pause();
            else 
                mVideoView.stopPlayback();
        if(mThemeImageView != null && mVideoView != null)
            mThemeImageView.setAlpha(1.0F);
    } 
	 
    public void setEventTheme(Theme theme)
    { 
    	if(mVideoView == null || theme == null || theme.getImageList() == null) {
    		; 
    	} else { 
    		ThemeImage themeimage;
    		for(Iterator iterator = theme.getImageList().iterator(); iterator.hasNext();) {