![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
android开发
touch_ping
欢迎访问我的github:https://github.com/qq179157977
展开
-
8.12笔记 retrofit超时设置,studio 修改 Lint Error Checking
retrofit请求库设置超时http://stackoverflow.com/questions/29380844/how-to-set-a-timeout-in-retrofit-librarypublic RestAdapter providesRestAdapter(Gson gson) { final OkHttpClient okHttpClient = new OkHttpCl原创 2015-08-12 13:06:12 · 2939 阅读 · 0 评论 -
android 获取视频缩略图终极解决方案(ffmpeg)
前些天有个师弟(在做一个仿LinkInEyes行车记录仪的app)问我怎么获取视频缩略图,起初以为很简单,就找了个常用的解决方案(用户获取正常的视频文件的缩略图):方案1:private void initView() { imgPic = (ImageView) findViewById(R.id.img_pic); seekbar = (SeekBar) findViewBy原创 2015-12-17 10:50:52 · 15996 阅读 · 3 评论 -
安卓实用开发小知识 1704
安卓实用开发小知识 1704Edittext设置android:focusable=“false”禁止输入之后,再次用setFocusable(true)无法输入,可通过以下方法令edittext重新获得焦点可输入文字:edittext.setFocusable(true);//--设置edittext是否可以获得焦点 edittext.setFocusableInTouchMode(true转载 2017-04-12 11:39:16 · 671 阅读 · 0 评论