單項選擇題在Android中,關(guān)于MediaPlayer說法錯誤的是()
A.MediaPlayer包含了Audio和video的播放功能。
B.獲得MediaPlayer實例的有new MediaPlayer()和MediaPlayer.create()的方式。
C.當(dāng)我們播放一首歌曲由于異常中斷,由于數(shù)據(jù)丟失,只能從開始的位置開始播放。
D.在指定MediaPlayer數(shù)據(jù)的來源時,必須指定播放的文件的路徑、資源id或網(wǎng)絡(luò)路徑。
您可能感興趣的試卷
你可能感興趣的試題
1.單項選擇題關(guān)于startService()和bindService(),以下說法錯誤的是()
A.通過startService()啟動服務(wù):會調(diào)用如下生命周期方法:onCreate()---->onStart()---->onDestory()
B.當(dāng)采用startService()方法啟動服務(wù),訪問者與服務(wù)之間是沒有綁定在一起的,訪問者退出,服務(wù)還在運行
C.如果是調(diào)用bindService()啟動服務(wù):會調(diào)用如下生命周期方法:onCreate()---->onBind---->onDestory()---->onUnBind()
D.采用bindService()方法啟動服務(wù)時,訪問者與服務(wù)是綁定在一起的,即訪問者退出,服務(wù)也就終止,解除綁定。
2.單項選擇題Activty和Task的啟動模式有哪些?()
A.standard、singleTop
B.singleTop、singleTask
C.singleTask、singleInstance
D.standard、singleTop、singleTask、singleInstance