资源简介

这个Demo包括:播放网络视频卡顿监听、缓冲加载动画、实时下载速度、以及大小屏切换,略微实现了功能,还不够完善

资源截图

代码片段和文件信息

package activity.cqdsj.cn.study_videoplay;

import android.content.Context;
import android.support.test.InstrumentationRegistry;
import android.support.test.runner.AndroidJUnit4;

import org.junit.Test;
import org.junit.runner.RunWith;

import static org.junit.Assert.*;

/**
 * Instrumentation test which will execute on an Android device.
 *
 * @see Testing documentation
 */
@RunWith(AndroidJUnit4.class)
public class ExampleInstrumentedTest {
    @Test
    public void useAppContext() throws Exception {
        // Context of the app under test.
        Context appContext = InstrumentationRegistry.getTargetContext();

        assertEquals(“activity.cqdsj.cn.study_videoplay“ appContext.getPackageName());
    }
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2017-08-11 09:39  Study-VideoPlay\
     文件           8  2017-08-02 16:47  Study-VideoPlay\.gitignore
     文件         986  2017-08-02 16:47  Study-VideoPlay\build.gradle
     目录           0  2017-08-02 16:47  Study-VideoPlay\libs\
     文件         965  2017-08-02 16:47  Study-VideoPlay\proguard-rules.pro
     目录           0  2017-08-11 09:39  Study-VideoPlay\src\
     目录           0  2017-08-11 09:39  Study-VideoPlay\src\androidTest\
     目录           0  2017-08-11 09:39  Study-VideoPlay\src\androidTest\java\
     目录           0  2017-08-11 09:39  Study-VideoPlay\src\androidTest\java\activity\
     目录           0  2017-08-11 09:39  Study-VideoPlay\src\androidTest\java\activity\cqdsj\
     目录           0  2017-08-11 09:39  Study-VideoPlay\src\androidTest\java\activity\cqdsj\cn\
     目录           0  2017-08-11 09:39  Study-VideoPlay\src\androidTest\java\activity\cqdsj\cn\study_videoplay\
     文件         796  2017-08-02 16:47  Study-VideoPlay\src\androidTest\java\activity\cqdsj\cn\study_videoplay\ExampleInstrumentedTest.java
     目录           0  2017-08-11 09:39  Study-VideoPlay\src\main\
     文件         833  2017-08-10 17:04  Study-VideoPlay\src\main\AndroidManifest.xml
     目录           0  2017-08-11 09:39  Study-VideoPlay\src\main\java\
     目录           0  2017-08-11 09:39  Study-VideoPlay\src\main\java\activity\
     目录           0  2017-08-11 09:39  Study-VideoPlay\src\main\java\activity\cqdsj\
     目录           0  2017-08-11 09:39  Study-VideoPlay\src\main\java\activity\cqdsj\cn\
     目录           0  2017-08-11 09:39  Study-VideoPlay\src\main\java\activity\cqdsj\cn\study_videoplay\
     文件        2914  2017-08-10 14:53  Study-VideoPlay\src\main\java\activity\cqdsj\cn\study_videoplay\LoadingSpeed.java
     文件       14007  2017-08-11 09:33  Study-VideoPlay\src\main\java\activity\cqdsj\cn\study_videoplay\MainActivity.java
     目录           0  2017-08-11 09:39  Study-VideoPlay\src\main\java\activity\cqdsj\cn\study_videoplay\view\
     文件         147  2017-08-10 14:05  Study-VideoPlay\src\main\java\activity\cqdsj\cn\study_videoplay\view\AttentionDIntereface.java
     文件       19147  2017-08-10 14:05  Study-VideoPlay\src\main\java\activity\cqdsj\cn\study_videoplay\view\MediaController.java
     文件       26692  2017-08-10 14:05  Study-VideoPlay\src\main\java\activity\cqdsj\cn\study_videoplay\view\MyVideoView.java
     文件        5857  2017-08-10 14:05  Study-VideoPlay\src\main\java\activity\cqdsj\cn\study_videoplay\view\OutlineTextView.java
     文件        2953  2017-08-10 14:05  Study-VideoPlay\src\main\java\activity\cqdsj\cn\study_videoplay\view\ScreenResolution.java
     文件         155  2017-08-10 14:05  Study-VideoPlay\src\main\java\activity\cqdsj\cn\study_videoplay\view\VideoInterface.java
     目录           0  2017-08-11 09:39  Study-VideoPlay\src\main\res\
     目录           0  2017-08-11 09:39  Study-VideoPlay\src\main\res\drawable\
............此处省略59个文件信息

评论

共有 条评论