加载中
Java并发编程实战之线程池的使用

在任务与执行策略之间的隐形耦合 依赖任务 使用线程封闭机制的任务 对相应时间敏感的任务 使用ThreadLocal的任务 在线程池中,如果任务依赖于其他任务,那么可能产生死锁。 程序清单8-1 在单...

ijkplayer

public class IJKPlayer implements IPlayback, IMediaPlayer.OnCompletionListener, IMediaPlayer.OnErrorListener{ private static final String TAG = "IJKPlayer"; private static volat...

Android 原生 MediaPlayer 和 MediaCodec 的区别和联系

目录:   (3)Android 官方网站 对 MediaPlayer的介绍 正文:    Android 官方网站 对 MediaPlayer的介绍 MediaPlayer   public class MediaPlayer   extends Object implements V...

at com.moreunion.zhenghao.ui.homepage.FragmentVideoInterrogationHome.lambda$initAllProjectFilter$3(

12-02 11:48:12.058 23767-23767/com.moreunion.zhenghao E/AndroidRuntime: FATAL EXCEPTION: main Process: com.moreunion.zhenghao, PID: 23767 java.lang.NullPointerException: Attempt...

无题

// compile file(dir:'libs',include:['umeng-analytics-v6.1.2.jar']) // compile file(dir:'libs',include:['utdid4all-1.0.4.jar']) // compile files('libs/open_sdk_r5788_lit...

2017/12/01 10:49
85
java.lang.IndexOutOfBoundsException

11-27 17:57:14.639 10164-10164/? E/AndroidRuntime: FATAL EXCEPTION: main Process: com.moreunion.zhenghao, PID: 10164 java.lang.IndexOutOfBoundsException: Invalid index 0, size i...

java.lang.IllegalStateException

11-27 17:29:08.760 17294-17294/com.moreunion.zhenghao E/AndroidRuntime: FATAL EXCEPTION: main Process: com.moreunion.zhenghao, PID: 17294 java.lang.IllegalStateException: Fragme...

空指针异常

11-27 16:06:23.594 16057-16057/com.moreunion.zhenghao E/AndroidRuntime: FATAL EXCEPTION: main Process: com.moreunion.zhenghao, PID: 16057 java.lang.NullPointerException: Attempt...

Error:Execution failed for task ':app:lint'.

Error:Execution failed for task ':app:lint'. > Lint found errors in the project; aborting build. Fix the issues identified by lint, or add the following to your build script to ...

java.lang.IllegalArgumentException: You cannot start a load for a destroyed activity

11-09 17:15:05.229 15430-15430/? E/AndroidRuntime: FATAL EXCEPTION: main Process: com.project.xxm.fixbeaty, PID: 15430 java.lang.IllegalArgumentException: You cannot start a loa...

java.net.UnknownHostException: Unable to resolve host "api1.51zhenghao.cn": No address associated wi

11-01 20:14:28.951 11019-11019/com.moreunion.zhenghao W/System.err: java.net.UnknownHostException: Unable to resolve host "api1.51zhenghao.cn": No address associated with hostna...

xUtils

/** * 取消退款网络请求 * * @param map * @return */ @Headers("User-Agent: Mozilla/5.0 (Linux; Android 4.1.1; Nexus 7 Build/JRO03D) AppleWebKit/535.19 (KHTML, like Gecko) Ch...

2017/09/18 17:23
118
ConstraintLayout 不能作为activity的根节点,否则fragment显示不出来

ConstraintLayout 不能作为activity的根节点,否则fragment显示不出来

android下拉刷新

<?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/head_view" android:layout_width="match...

2017/08/30 19:46
134
android上拉加载更多

<?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/loadmore_view" android:layout_width="m...

2017/08/30 19:45
116
Android Studio

随手记录

2017/08/30 17:11
163
android 图片质量压缩代码

/** * 质量压缩方法 * * @param imagePath 原图片路劲 * @param size 压缩图片到多少KB以内(单位KB) * @return 返回压缩后图片的绝对路径 */ public...

2017/08/29 16:42
208
Unable to instantiate application

08-17 09:20:10.931 21429-21429/com.moreunion.zhenghao E/AndroidRuntime: FATAL EXCEPTION: main Process: com.moreunion.zhenghao, PID: 21429 java.lang.RuntimeException: Unable to i...

图片选择框架galleryfinal

针对7.0crash问题

2017/08/16 20:31
204

没有更多内容

加载失败,请刷新页面

返回顶部
顶部