資源簡介
不錯的安卓播放器,使用方便。。。。。。。。。。。。。。

代碼片段和文件信息
/*
?*?Copyright?(C)?2017?The?Android?Open?Source?Project
?*
?*?Licensed?under?the?Apache?License?Version?2.0?(the?“License“);
?*?you?may?not?use?this?file?except?in?compliance?with?the?License.
?*?You?may?obtain?a?copy?of?the?License?at
?*
?*??????http://www.apache.org/licenses/LICENSE-2.0
?*
?*?Unless?required?by?applicable?law?or?agreed?to?in?writing?software
?*?distributed?under?the?License?is?distributed?on?an?“AS?IS“?BASIS
?*?WITHOUT?WARRANTIES?OR?CONDITIONS?OF?ANY?KIND?either?express?or?implied.
?*?See?the?License?for?the?specific?language?governing?permissions?and
?*?limitations?under?the?License.
?*/
package?com.google.android.exoplayer2.imademo;
import?android.app.Activity;
import?android.os.Bundle;
import?com.google.android.exoplayer2.ExoPlayer;
import?com.google.android.exoplayer2.ui.SimpleExoPlayerView;
/**
?*?Main?Activity?for?the?IMA?plugin?demo.?{@link?ExoPlayer}?objects?are?created?by
?*?{@link?PlayerManager}?which?this?class?instantiates.
?*/
public?final?class?MainActivity?extends?Activity?{
??private?SimpleExoPlayerView?playerView;
??private?PlayerManager?player;
??@Override
??protected?void?onCreate(Bundle?savedInstanceState)?{
????super.onCreate(savedInstanceState);
????setContentView(R.layout.main_activity);
????playerView?=?findViewById(R.id.player_view);
????player?=?new?PlayerManager(this);
??}
??@Override
??public?void?onResume()?{
????super.onResume();
????player.init(this?playerView);
??}
??@Override
??public?void?onPause()?{
????super.onPause();
????player.reset();
??}
??@Override
??public?void?onDestroy()?{
????player.release();
????super.onDestroy();
??}
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2017-11-27?13:58??ExoPla
?????文件?????????827??2017-11-27?13:58??ExoPla
?????文件????????1081??2017-11-27?13:58??ExoPla
?????文件????????1856??2017-11-27?13:58??ExoPla
?????文件????????2054??2017-11-27?13:58??ExoPla
?????文件???????11358??2017-11-27?13:58??ExoPla
?????文件????????4573??2017-11-27?13:58??ExoPla
?????文件???????37894??2017-11-27?13:58??ExoPla
?????文件????????1589??2017-11-27?13:58??ExoPla
?????文件????????1449??2017-11-27?13:58??ExoPla
?????文件????????3259??2017-11-27?13:58??ExoPla
?????目錄???????????0??2017-11-27?13:58??ExoPla
?????文件?????????158??2017-11-27?13:58??ExoPla
?????目錄???????????0??2017-11-27?13:58??ExoPla
?????文件?????????121??2017-11-27?13:58??ExoPla
?????文件????????1445??2017-11-27?13:58??ExoPla
?????目錄???????????0??2017-11-27?13:58??ExoPla
?????目錄???????????0??2017-11-27?13:58??ExoPla
?????文件????????1655??2017-11-27?13:58??ExoPla
?????目錄???????????0??2017-11-27?13:58??ExoPla
?????目錄???????????0??2017-11-27?13:58??ExoPla
?????目錄???????????0??2017-11-27?13:58??ExoPla
?????目錄???????????0??2017-11-27?13:58??ExoPla
?????目錄???????????0??2017-11-27?13:58??ExoPla
?????目錄???????????0??2017-11-27?13:58??ExoPla
?????文件????????1628??2017-11-27?13:58??ExoPla
?????文件????????4294??2017-11-27?13:58??ExoPla
?????目錄???????????0??2017-11-27?13:58??ExoPla
?????目錄???????????0??2017-11-27?13:58??ExoPla
?????文件?????????936??2017-11-27?13:58??ExoPla
?????目錄???????????0??2017-11-27?13:58??ExoPla
............此處省略1724個文件信息
評論
共有 條評論