在 首选项 中,Android--> Build 下,有一个复选框: skip packaging and dexing until export or launch.(Speed up automatic builds on file save )取消该选项,再重新cleanup一下,即可在bin...
分类:
系统相关 时间:
2014-09-04 10:28:59
阅读次数:
238
1.tp driver的tpd_down()和tpd_up()函数中不需要上报id号,上层会自动进行匹配;
2.tpd_up()函数中只需要上报BTN_TOUCH和mt_sync信息,其他信息不用上报,如下:
static void tpd_up(int x, int y,int *count)
{
input_report_key(tpd->dev, BTN_TOUCH, ...
分类:
移动开发 时间:
2014-09-04 09:47:07
阅读次数:
283
Two SumGiven an array of integers, find two numbers such that they add up to a specific target number.The function twoSum should return indices of the...
分类:
其他好文 时间:
2014-09-03 22:31:37
阅读次数:
386
Given a binary tree, return the bottom-up level order traversal of its nodes' values. (ie, from left to right, level by level from leaf to root).For e...
分类:
其他好文 时间:
2014-09-03 21:13:57
阅读次数:
142
You are given annxn2D matrix representing an image.Rotate the image by 90 degrees (clockwise).Follow up:Could you do this in-place?思路:首先左右翻转,然后按照左下,右上...
分类:
其他好文 时间:
2014-09-03 19:50:47
阅读次数:
241
/usr/share/info/coreutils.info.gzFile: coreutils.info, Node: touch invocation, Prev: chmod invocation, Up: Changing file attributes13.4 `touch': Chang...
分类:
系统相关 时间:
2014-09-03 19:45:07
阅读次数:
492
http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=1742
Problem ?
Lift Hopping
Time Limit: 1 second
Ted the bellhop: "I'm coming up and if t...
分类:
其他好文 时间:
2014-09-03 18:09:37
阅读次数:
282
Go to File > Settings > Gradle you will end up with this screen for setting up your gradle :Also make sure you have Google Repository in your Android ...
分类:
其他好文 时间:
2014-09-03 16:22:26
阅读次数:
238
So, to all exposed surface of the tile and painted. Therefore, we have compiled a list of mistakes that people make when choosing a company for their ...
分类:
其他好文 时间:
2014-09-03 13:01:56
阅读次数:
237
给定二叉查找树的一个结点, 写一个算法查找它的“下一个”结点(即中序遍历后它的后继结点),
其中每个结点都有指向其父亲的链接。
这个题本质就是线索化二叉树时找后继结点的题。找后继结点存在两种情况:
1 如果当前结点有右孩子,则后继结点为右孩子的最左结点
2 如果没有右孩子,
A 当前结点为父结点的左孩子,则父结点就是后继结点
B 当前结点为父结点的右孩子,则向父结点找,直到...
分类:
其他好文 时间:
2014-09-03 01:32:05
阅读次数:
224