onCreate()
initialize()
set listteners()
initialize()
initVideoView()
init surface
and touch()
onPause()
onPause()
getCurrentPosition() :int
return ,savecurrentPosition()
suspend()
release()
reset()
release()
onResume()
onResume()
resume()
openVideo()
new MediaPlayer()
set listeners()
setDataSource()
setDisplay()
setAudioStreamType()
prepareAsync()
attachMediaControl ler()
onSaveInstanceState()
onSaveInstanceState()
put position and resumeableTime to bundle ()
onDestory()
onDestroy()
stopPlayback()
stop()
release()
onKeyDown()
onKeyDown()
switch keycode for change the state()
playVideo()
start()
start()
change the state()
show the state to UI()
pauseVideo()
pause()
pause()
change the state()
show the state to UI()
评论2
最新资源