• 大小: 41.16MB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2023-08-04
  • 语言: 其他
  • 标签:

资源简介

仿哔哩哔哩bilibili代码就是gocommonmaster仿哔哩哔哩的代码

资源截图

代码片段和文件信息

package com.vanco.abplayer;

import com.vanco.abplayer.view.FileUtils;

import android.app.Application;
import android.content.Context;
import android.os.Environment;


public class ABPlayerApplication extends Application{
private static ABPlayerApplication mApplication;

/** OPlayer SD卡缓存路径 */
public static final String OPlayer_CACHE_base = Environment.getExternalStorageDirectory() + “/oplayer“;
/** 视频截图缓冲路径 */
public static final String OPlayer_VIDEO_THUMB = OPlayer_CACHE_base + “/thumb/“;
/** 首次扫描 */
public static final String PREF_KEY_FIRST = “application_first“;

@Override
public void onCreate() {
super.onCreate();
mApplication = this;

init();
}

private void init() {
//创建缓存目录
FileUtils.createIfNoExists(OPlayer_CACHE_base);
FileUtils.createIfNoExists(OPlayer_VIDEO_THUMB);
}

public static ABPlayerApplication getApplication() {
return mApplication;
}

public static Context getContext() {
return mApplication;
}

/** 销毁 */
public void destory() {
mApplication = null;
}

}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2019-04-22 19:53  gocommon-master\
     文件        1276  2019-04-22 10:59  gocommon-master\.bazelrc
     文件         894  2019-04-22 10:59  gocommon-master\.generated_files
     文件         398  2019-04-22 10:59  gocommon-master\.gitignore
     文件         284  2019-04-22 10:59  gocommon-master\.gometalinter.json
     文件          25  2019-04-22 10:59  gocommon-master\.kazelcfg.json
     目录           0  2019-04-22 19:49  gocommon-master\ABPlayer\
     文件         559  2015-06-04 14:36  gocommon-master\ABPlayer\.classpath
     文件         811  2015-05-31 17:29  gocommon-master\ABPlayer\.project
     目录           0  2019-04-22 19:49  gocommon-master\ABPlayer\.settings\
     文件          55  2015-05-31 17:29  gocommon-master\ABPlayer\.settings\org.eclipse.core.resources.prefs
     文件         173  2015-05-31 17:29  gocommon-master\ABPlayer\.settings\org.eclipse.jdt.core.prefs
     文件        6142  2015-06-08 09:46  gocommon-master\ABPlayer\AndroidManifest.xml
     文件         129  2015-05-31 17:29  gocommon-master\ABPlayer\README.md
     目录           0  2019-04-22 19:49  gocommon-master\ABPlayer\assets\
     文件       68227  2015-05-31 17:29  gocommon-master\ABPlayer\assets\online.xml
     文件       53627  2015-05-31 17:29  gocommon-master\ABPlayer\ic_launcher-web.png
     目录           0  2019-04-22 19:49  gocommon-master\ABPlayer\libs\
     文件      627582  2014-01-17 13:31  gocommon-master\ABPlayer\libs\android-support-v4.jar
     文件      130344  2015-05-07 16:12  gocommon-master\ABPlayer\libs\core.jar
     文件      293672  2015-05-31 17:29  gocommon-master\ABPlayer\libs\jsoup-1.7.2.jar
     文件       21706  2015-06-08 09:46  gocommon-master\ABPlayer\libs\library.jar
     文件      232241  2015-05-31 17:29  gocommon-master\ABPlayer\libs\universal-image-loader-1.8.6-with-sources.jar
     文件         781  2015-05-31 17:29  gocommon-master\ABPlayer\proguard-project.txt
     文件         930  2015-06-04 14:29  gocommon-master\ABPlayer\project.properties
     目录           0  2019-04-22 19:49  gocommon-master\ABPlayer\res\
     目录           0  2019-04-22 19:49  gocommon-master\ABPlayer\res\anim\
     文件         654  2015-05-31 17:29  gocommon-master\ABPlayer\res\anim\bili_anim.xml
     文件         917  2015-05-31 17:29  gocommon-master\ABPlayer\res\anim\push_left_in.xml
     文件         192  2015-05-31 17:29  gocommon-master\ABPlayer\res\anim\push_no.xml
     文件        1027  2015-05-31 17:29  gocommon-master\ABPlayer\res\anim\slide_in_bottom.xml
............此处省略2942个文件信息

评论

共有 条评论