仿哔哩哔哩代码


仿哔哩哔哩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-masterABPlayer
     文件         559  2015-06-04 14:36  gocommon-masterABPlayer.classpath
     文件         811  2015-05-31 17:29  gocommon-masterABPlayer.project
     目录           0  2019-04-22 19:49  gocommon-masterABPlayer.settings
     文件          55  2015-05-31 17:29  gocommon-masterABPlayer.settingsorg.eclipse.core.resources.prefs
     文件         173  2015-05-31 17:29  gocommon-masterABPlayer.settingsorg.eclipse.jdt.core.prefs
     文件        6142  2015-06-08 09:46  gocommon-masterABPlayerAndroidManifest.xml
     文件         129  2015-05-31 17:29  gocommon-masterABPlayerREADME.md
     目录           0  2019-04-22 19:49  gocommon-masterABPlayerassets
     文件       68227  2015-05-31 17:29  gocommon-masterABPlayerassetsonline.xml
     文件       53627  2015-05-31 17:29  gocommon-masterABPlayeric_launcher-web.png
     目录           0  2019-04-22 19:49  gocommon-masterABPlayerlibs
     文件      627582  2014-01-17 13:31  gocommon-masterABPlayerlibsandroid-support-v4.jar
     文件      130344  2015-05-07 16:12  gocommon-masterABPlayerlibscore.jar
     文件      293672  2015-05-31 17:29  gocommon-masterABPlayerlibsjsoup-1.7.2.jar
     文件       21706  2015-06-08 09:46  gocommon-masterABPlayerlibslibrary.jar
     文件      232241  2015-05-31 17:29  gocommon-masterABPlayerlibsuniversal-image-loader-1.8.6-with-sources.jar
     文件         781  2015-05-31 17:29  gocommon-masterABPlayerproguard-project.txt
     文件         930  2015-06-04 14:29  gocommon-masterABPlayerproject.properties
     目录           0  2019-04-22 19:49  gocommon-masterABPlayer
es
     目录           0  2019-04-22 19:49  gocommon-masterABPlayer
esanim
     文件         654  2015-05-31 17:29  gocommon-masterABPlayer
esanimili_anim.xml
     文件         917  2015-05-31 17:29  gocommon-masterABPlayer
esanimpush_left_in.xml
     文件         192  2015-05-31 17:29  gocommon-masterABPlayer
esanimpush_no.xml
     文件        1027  2015-05-31 17:29  gocommon-masterABPlayer
esanimslide_in_bottom.xml
............此处省略2942个文件信息

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。

发表评论

评论列表(条)