![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Android
文章平均质量分 59
Sid的小小屋
心里住着一个小朋友叫Linux
展开
-
Ubuntu 12.10 Android Build System[aapt can't be executed]
最近迁移编译环境到Ubuntu Linux下,发现aapt无法执行。最后发现该静态链接程序是基于32bit lib的。apt-get --no-install-recommends install ia32-libs-multiarch后,该问题解决,原创 2013-04-10 21:03:40 · 761 阅读 · 0 评论 -
Vim终极配置
致广大的程序猿:下载https://github.com/spf13/spf13-vim之后,运行库根目录下的:bootstrap.sh该配置相当之强大和全面。原创 2013-04-12 23:51:55 · 842 阅读 · 0 评论 -
Some jar(v4 support, ActionBarSherlock and etc.) import error in Android Studio
How to configure ActionBarSherlock with Intellij IDEA[Original URL:http://android-wtf.com/2012/09/how-to-configure-actionbarsherlock-with-intellij-idea/]11 RepliesIntroductionThis tu转载 2013-05-19 15:29:59 · 1967 阅读 · 0 评论 -
详解Android SurfaceFinger服务
概述SurfaceFlinger是android平台的显示服务,为移动互联网时代的内容呈现和交互提供了平台级的基础。本文以Android4.2的源代码和架构为例,详细介绍SurfaceFlinger服务。相关类图启动SurfaceFlinger服务的二进制程序位于frameworks/native/cmds/surfaceflinger下:“原创 2013-10-16 21:06:53 · 10667 阅读 · 9 评论 -
关于Android WIFI扫猫周期
Wifi scan period:1) if not active connection present, the "wifi.supplicant_scan_interval" property from build.prop is used.2) if the phone establishes a WI-FI connection already, then the scanni原创 2014-04-23 11:10:16 · 7791 阅读 · 0 评论 -
Android开发debug时防止后台进程因超时被杀掉
本人之前一直在做Android/Linux OS的底层开发工作。近来转行至互联网行业,写Android Servi原创 2014-04-23 11:35:40 · 7001 阅读 · 3 评论 -
分析java.lang.NullPointerException thrown in RelativeLayout measure()
不难看出,在RelativeLayout被add/attach到父View之前mLayoutParams成员为空,调用measure方法将导致上图标注处代码抛出空指针异常。解决方案有两种a) 在measure之前显式设置LayoutParams(代表着对父View的Layout请求,必须是父View的内部LayoutParams类型)b) 自动设置LayoutParams的inflate方式原创 2014-05-16 18:16:51 · 11907 阅读 · 4 评论 -
Android命令行获取WiFi列表以及参数
Android如何通过命令行获取WiFi列表以及参数:一个工具加一个参数:wpa_cli => The command line interface of wpa_supplicantwifi interface socket目录一般Android习题WiFi所对应着的interface名为wlan0,若不一样请参看init.{xxx}.rc中启动wpa_supplic原创 2014-05-05 11:39:58 · 20269 阅读 · 0 评论