在JavaScript 中,this的指向是动态变化的,很可能在写程序的过程中,无意中破坏掉this的指向,所以我们需要一种可以把this的含义固定的技术,于是就有了call,apply 和bind这三个方法,来改变函数体内部 this 的指向,因为函数存在「定义时上下文」和「运行时上下文」以及「上 ...
分类:
移动开发 时间:
2016-05-30 08:51:21
阅读次数:
284
软件测试的分类* 黑盒测试 * 测试逻辑业务* 白盒测试 * 测试逻辑方法 根据测试粒度 * 方法测试:function test * 单元测试:unit test * 集成测试:integration test * 系统测试:system test 根据测试暴力程度 * 冒烟测试:smoke te ...
分类:
移动开发 时间:
2016-05-30 07:36:59
阅读次数:
387
Android Studio的一大特色就是自动构建工具gradle的使用。
配置Gradle的环境变量
Gradle命令的使用等...
分类:
移动开发 时间:
2016-05-30 06:34:22
阅读次数:
511
http://stuffandtech.blogspot.jp/2012/03/android-quick-tip-adb-over-wifi.html MAR 26 Android Quick Tip - ADB over WiFi Someone I had the pleasure of wo ...
分类:
移动开发 时间:
2016-05-30 06:32:07
阅读次数:
178
Given an Android 3x3 key lock screen and two integers m and n, where 1 ≤ m ≤ n ≤ 9, count the total number of unlock patterns of the Android lock scre ...
分类:
移动开发 时间:
2016-05-30 06:30:24
阅读次数:
322
http://www.th7.cn/Program/Android/201507/514602.shtml appium通过WiFi连接真机进行测试 2015-07-24 19:43:07CSDN-sunwangdian-点击数:430 appium通过WiFi连接真机进行测试 appium通过Wi ...
分类:
移动开发 时间:
2016-05-30 06:32:10
阅读次数:
281
Visual Studio 2015 setup issue with Android SDK – hack it! ...
分类:
移动开发 时间:
2016-05-30 06:28:07
阅读次数:
151
https://github.com/omerjerk/RemoteDroid https://github.com/DesignativeDave/androrat https://github.com/justin-taylor https://github.com/fatsoon/FloatW ...
分类:
移动开发 时间:
2016-05-30 06:26:55
阅读次数:
197
目录:为什么要使用Lambda表达式
让Android Stutio支持Lambda
函数式接口Functional interfaces
Lambda表达式的目标类型以及匹配
Lambda表达式语法
1 基础语法和语法简化
2 Lambda表达式的词法作用域
3 变量捕获
??Java 8的一个大亮点是引入Lambda表达式,使用它设计的代码会更加简洁 ,他是一种函数式推导语言,能够大量减少匿名内...
分类:
移动开发 时间:
2016-05-30 01:09:07
阅读次数:
416
书里面讲的比较常见,单个人也是有不同的观点; 因为android绝大部分使用java开发的,因此java相关规范适用于android: Google Style: 英文地址:http://google-styleguide.googlecode.com/svn/trunk/javaguide.htm ...
分类:
移动开发 时间:
2016-05-30 01:05:38
阅读次数:
178
LED将为我闪烁:控制发光二极管 一.编写LED驱动 创建LED驱动的设备文件 1.使用cdev_init函数初始化cdev cdev结构体 struct cdev{ struct kobject kobj; struct module *owner; const struct file_opera ...
分类:
移动开发 时间:
2016-05-30 00:52:14
阅读次数:
249
新建工程后删除viewController.h和viewController.m main.storyboard - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary ...
分类:
移动开发 时间:
2016-05-30 00:49:21
阅读次数:
1409
本文出自xiaanming的博客(http://blog.csdn.net/xiaanming/article/details/17483273),请尊重他人的辛勤劳动成果,谢谢 以 前不理解什么叫回调,天天听人家说加一个回调方法啥的,心里想我草,什么叫回调方法啊?然后自己就在网上找啊找啊找,找了很 ...
分类:
移动开发 时间:
2016-05-30 00:50:56
阅读次数:
366
1. 缓存 DiskLruCache Java实现基于LRU的磁盘缓存 2.图片加载 Android Universal Image Loader 一个强大的加载,缓存,展示图片的库 Picasso 一个强大的图片下载与缓存的库 Fresco 一个用于管理图像和他们使用的内存的库 Glide 一个图 ...
分类:
移动开发 时间:
2016-05-30 00:45:59
阅读次数:
163
由于智能机的普及,越来越多网页支持移动端了,那么如何解决适配移动端呢 在这总结一下自己的学习笔记 viewport:虚拟的容器,仅在移动设备有效 viewport:虚拟的容器,仅在移动设备有效 <meta name="viewport" content="width=device-width, us ...
分类:
移动开发 时间:
2016-05-30 00:46:13
阅读次数:
203