potentially–adv.capable of becoming real, a possibilitytackle–v.to deal with a difficult problem; in sports, to bring someone down to the groundgap– n...
分类:
其他好文 时间:
2015-04-19 12:58:35
阅读次数:
130
网上看到很多朋友为搭建Android开发环境苦恼,下面的文章希望能帮助到这些朋友:
你可以用Android Studio ,它提供了集成的 Android 开发工具用于开发和调试,是个很不错的开发环境。下面介绍的是在eclipse里搭建:
首先安装jdk和eclipse:
官方网址分别是:
http://www.oracle.com/technetwork/java/javase/down...
分类:
移动开发 时间:
2015-04-18 13:08:20
阅读次数:
201
Android触摸事件,网上也有很多文章来讲了,今天在这里想使用例子和源码相结合的方式,可能会看的更清晰一些。
对于dispatchTouchEvent和onInterceptTouchEvent可以这样理解,dispatchTouchEvent方法是一个快递员,onInterceptTouchEvent方法是公司的门卫,快递员要给公司送的每批快递就是一个完整的触摸事件,每一批快递有一个为首的物品:Down事件;送货有一个规定:如果这批快递的为首的这个物品(Down)被门卫(onInterc...
分类:
移动开发 时间:
2015-04-18 13:08:17
阅读次数:
251
Kafka允许topic的分区拥有若干副本,这个数量是可以配置的,你可以为每个topci配置副本的数量。Kafka会自动在每个个副本上备份数据,所以当一个节点down掉时数据依然是可用的。Kafka的副本功能不是必须的,你可以配置只有一个副本,这样其实就相当于只有一份数据。创建副本的单位是topic...
分类:
其他好文 时间:
2015-04-18 11:29:58
阅读次数:
113
1.导出有很多种,他有自带包的导出,但是如果你要导出7,8千的数据的话就有点困难,我最近发现一个导出可以到出1万的数据,好像只能导出csv格式的。public function down_load($lists){ set_time_limit(0); ini_set('memory_l...
分类:
Web程序 时间:
2015-04-18 10:02:54
阅读次数:
115
题目:A robot is located at the top-left corner of amxngrid (marked 'Start' in the diagram below).The robot can only move either down or right at any poi...
分类:
其他好文 时间:
2015-04-18 01:10:30
阅读次数:
126
遇到问题描述:运行android程序控制台输出[2013-06-25 11:10:32 - MyWellnessTracker] The connection to adb is down, and a severe error has occured.[2013-06-25 11:10:32 - ...
分类:
数据库 时间:
2015-04-17 22:14:06
阅读次数:
181
1.遇到什么的问题(What)在新的virtualbox虚拟机上挂上曾使用过的虚拟硬盘,在启动的时候,发现找不到网卡eth0,在输入ifconfig –a的时候,也没有任何Ethnet的信息,而输入eth0 down 的时候,提示我no device found(设备没法找到),我检查了VMware...
分类:
移动开发 时间:
2015-04-17 15:14:10
阅读次数:
231
var random=function(up,down){
return Math.random()*(up-down+1)+down;
}
//如果需要100-200的随机数
random(200,100);...
分类:
Web程序 时间:
2015-04-17 11:29:22
阅读次数:
135
题目链接:Maximum Depth of Binary Tree
Given a binary tree, find its maximum depth.
The maximum depth is the number of nodes along the longest path from the root node down to the farthest leaf node.
这道题...
分类:
其他好文 时间:
2015-04-16 10:25:57
阅读次数:
123