随笔分类 -  android solve

上一页 1 2 3 4 5 6 ··· 17 下一页
解决方案
摘要:http://www.cnblogs.com/mayongsheng/p/4387109.htmlhttps://github.com/awslabs/aws-sdk-android-samples/issues/26最近使用google的Volley框架遇到一个下载图片的异常com.android... 阅读全文
posted @ 2015-10-09 18:08 wanqi 阅读(12695) 评论(0) 推荐(0) 编辑
摘要:http://stackoverflow.com/questions/10849552/update-viewpager-dynamicallyif you want to switch out the actual fragments that are being displayed, you n... 阅读全文
posted @ 2015-10-09 13:54 wanqi 阅读(793) 评论(0) 推荐(0) 编辑
摘要:http://blog.csdn.net/zrzlj/article/details/80506331)需要在AndroidManifest.xml文件中声明需要使用HardwareAccelerate, 可以细化到Activity级别,如果不需要的View可以声明不要用加速,但是需要在代码中做,具... 阅读全文
posted @ 2015-09-29 10:19 wanqi 阅读(1314) 评论(0) 推荐(0) 编辑
摘要:retrofit-1.7.1依赖以下包okhttp-2.0.0okio-1.0.0okhttp-urlconnection-2.0.0ExtCertPathValidatorException: Could not validate certificate: null 是因为没有okio jar 包 阅读全文
posted @ 2015-09-26 14:19 wanqi 阅读(724) 评论(0) 推荐(0) 编辑
摘要:http://www.eoeandroid.com/thread-275485-1-1.html很多同学都安装了Android Studio,但是发现中文是乱码,其实这个很好解决的。在IDE里点击File,选择Settings...快捷键是Ctrl+alt+s在打开的窗口中,找到IDE Settin... 阅读全文
posted @ 2015-09-20 21:08 wanqi 阅读(1477) 评论(0) 推荐(0) 编辑
摘要:http://blog.csdn.net/shimiso/article/details/298260731、dip与pxAndroid工程师在写页面时,margin值的单位是dip,而视觉设计师通常情况下是通过px来控制margin值的,不同单位之间的差别是什么呢?看下面的参数。在WVGA(800... 阅读全文
posted @ 2015-09-09 19:07 wanqi 阅读(1385) 评论(0) 推荐(0) 编辑
摘要:http://www.b3a4a.com/?id=71//https://login.xx.cn/mobile/login?access_token=A7E3D8CC98776F7C16F328B672221140&openid=40AB4CA325199EC7EF158590A3765CF2&si... 阅读全文
posted @ 2015-09-01 16:29 wanqi 阅读(3721) 评论(0) 推荐(0) 编辑
摘要:http://www.kwstu.com/ArticleView/android_201410252131196692错误描述:Error: duplicate files during packaging of APK D:\work\workspace\XXXX\build\apk\XXX-de... 阅读全文
posted @ 2015-09-01 13:44 wanqi 阅读(2552) 评论(0) 推荐(0) 编辑
摘要:http://blog.csdn.net/liang5630/article/details/46366901android studio常用插件,可极大简化开发,增强开发效率。不懂安装studio插件,看参考博文:android stuido插件安装:http://blog.csdn.net/li... 阅读全文
posted @ 2015-08-26 13:40 wanqi 阅读(574) 评论(0) 推荐(0) 编辑
摘要:http://keepcleargas.bitbucket.org/2013/10/12/android-App-Traffic.html安卓App流量统计12 OCT 2013android流量简介流量统计文件:路径/proc/net/dev如上图: lo 为本地流量, rmnet0 为3g/2g... 阅读全文
posted @ 2015-08-25 17:09 wanqi 阅读(1106) 评论(0) 推荐(0) 编辑
摘要:http://www.cnblogs.com/_ymw/p/4227862.html1.首先贴上项目结构图:2.先添加一个接口文件BackHandledInterface.java,定义一个setSelectedFragment方法用于设置当前加载的Fragment在栈顶,主界面MainActivi... 阅读全文
posted @ 2015-08-21 09:52 wanqi 阅读(387) 评论(0) 推荐(0) 编辑
摘要:because you have not set LinearLayoutManager to RecyclerView.for example: mRecyclerView = (RecyclerView) findViewById(R.id.recyclerView); Linear... 阅读全文
posted @ 2015-08-20 15:40 wanqi 阅读(866) 评论(0) 推荐(0) 编辑
摘要:http://www.jcodecraeer.com/a/anzhuokaifa/androidkaifa/2015/0204/2410.htmlhttp://www.cnblogs.com/blueofsky/archive/2012/01/07/2315664.htmlhttp://www.2c... 阅读全文
posted @ 2015-08-14 18:02 wanqi 阅读(2463) 评论(0) 推荐(0) 编辑
摘要:http://www.liaohuqiu.net/cn/posts/leak-canary-read-me/LeakCanary 中文使用说明分享到:新浪微博微信10 May 2015LeakCanaryAndroid 和 Java 内存泄露检测。“A small leak will sink a ... 阅读全文
posted @ 2015-08-14 15:56 wanqi 阅读(1055) 评论(0) 推荐(0) 编辑
摘要:转自:http://hi.baidu.com/xiboliya/blog/item/fee581d46cf5e41fa08bb7fb.html如果ubuntu要安装新软件,已有deb安装包(例如:iptux.deb),但是无法登录到桌面环境。那该怎么安装?答案是:使用dpkg命令。dpkg命令常用格... 阅读全文
posted @ 2015-08-07 16:15 wanqi 阅读(297) 评论(0) 推荐(0) 编辑
摘要:QueryBuilder queryBuilder = videoTagInfoIntegerDao.queryBuilder();try { queryBuilder.where().eq("value",roomId).and().eq("myFocus",true); VideoT... 阅读全文
posted @ 2015-08-06 15:26 wanqi 阅读(6369) 评论(0) 推荐(0) 编辑
摘要:http://blog.csdn.net/softkexin/article/details/5933589/android:layout_above="@id/xxx" --将控件置于给定ID控件之上android:layout_below="@id/xxx" --将控件置于给定ID控件之下and... 阅读全文
posted @ 2015-08-05 15:30 wanqi 阅读(263) 评论(0) 推荐(0) 编辑
摘要:scrollView问题 打开activity之后 屏幕初始位置不是顶部 而是在中间 也就是scroll滚动条不在上面 而是在中间楼主你好,我大概是和你遇见了同样的问题,你可以灵活处理一下,不要去管那个滚动条的位置了,我试过了,用scrollViewMsg.scrollTo(0,0);一点效果没有。... 阅读全文
posted @ 2015-07-30 10:01 wanqi 阅读(901) 评论(0) 推荐(0) 编辑
摘要:http://www.cnblogs.com/yejiurui/p/3413796.html一、通过html页面打开Android本地的app1、首先在编写一个简单的html页面 Insert title here 打开ap... 阅读全文
posted @ 2015-07-27 13:58 wanqi 阅读(1141) 评论(0) 推荐(0) 编辑
摘要:http://www.cnblogs.com/sunzn/archive/2013/04/03/2998113.htmlmWebView.setWebViewClient(new MyWebViewClient());mWebView.loadUrl(url);最近做项目在手机端加载一个 WebVi... 阅读全文
posted @ 2015-07-22 19:45 wanqi 阅读(338) 评论(0) 推荐(0) 编辑

上一页 1 2 3 4 5 6 ··· 17 下一页