分享一些 Android开发中的实用小工具,你有发现好工具吗? 来这里分享一下呗一、find
bugs 静态检查工具http://findbugs.sourceforge.net/FindBugs 是一个静态分析工具,它检查类或者 JAR
文件,将字节码与一组缺陷模式进行对比以发现可能的问题。有了静...
分类:
移动开发 时间:
2014-05-17 13:10:32
阅读次数:
393
题目:Givennpoints on a 2D plane, find the maximum
number of points that lie on the same straight
line.算法分析:定义最大直线为符合相同条件的直线中通过点最多的那条直线。对每个点p,计算其它的点与p形成的...
分类:
其他好文 时间:
2014-05-16 23:26:31
阅读次数:
389
题目
Given a string containing just the characters '(' and ')', find the length of the longest valid (well-formed) parentheses substring.
For "(()", the longest valid parentheses substring is "()", ...
分类:
其他好文 时间:
2014-05-14 01:10:30
阅读次数:
318
Bob enjoys playing computer games, especially
strategic games, but sometimes he cannot find the solution fast enough and then
he is very sad. Now he h...
分类:
其他好文 时间:
2014-05-14 00:29:42
阅读次数:
251
TriangleGiven a triangle, find the minimum path
sum from top to bottom. Each step you may move to adjacent numbers on the row
below.For example, given...
分类:
其他好文 时间:
2014-05-13 18:51:44
阅读次数:
297
Given s1, s2, s3, find whether s3 is formed by
the interleaving of s1 and s2.For example,Given:s1 = "aabcc",s2 = "dbbca",When
s3 = "aadbbcbcac", retur...
分类:
其他好文 时间:
2014-05-13 18:11:42
阅读次数:
249
If you runfsck, the filesystem check and repair
command, it might find data fragments that are not referenced anywhere in the
filesystem. In particula...
分类:
其他好文 时间:
2014-05-13 16:59:54
阅读次数:
276
定时清理clientmqueue目录垃圾文件防止占满磁盘空间:/var/spool/clientmqueue --这个目录会自动创建很多的文件,可以用下面的命令来清理find/var/spool/clientmqueue/–type f|xargsrm–frmkdir/server/scripts–pvimdel.sh:find/var/spool/clientmqueue/–type..
分类:
其他好文 时间:
2014-05-13 12:14:48
阅读次数:
412
判断shutcut是否安装
"com.android.launcher.permission.READ_SETTINGS"/>
这段代码在模拟器上运行没有问题,但是在htc s510e运行报异常Failed to find provider info for com.android.launcher2.settings
通过但因htc所有包发现htc中的launcher被定制了改名为co...
分类:
移动开发 时间:
2014-05-12 23:58:28
阅读次数:
625
Multiple annotations found at this line: - schema_reference.4: Failed to read schema document 'http://www.directwebremoting.org/schema/spring-dwr-2.0.xsd', because 1) could not find the document; 2)...
分类:
编程语言 时间:
2014-05-12 22:55:47
阅读次数:
409