Android框架:Src:主要完成Java代码的编写Gen:系统自动生成的源代码目录
R.java:默认有attr(属性)、drawable、layout、string
4个静态内部类Assets:资源目录Bin:输出文件夹Res:图片、布局文件、字符串、菜单等文件 Drawable:存放工程图片...
分类:
移动开发 时间:
2014-06-12 17:56:51
阅读次数:
402
解决办法方法:所以应该使用StringBuilder缓存,在startElement的时候调用sb.setLength(0);每次characters时调用sb.append(ch,
start, length);在endElement的时候才调用String str = sb.toString()
分类:
其他好文 时间:
2014-06-12 17:44:19
阅读次数:
232
原题地址:https://oj.leetcode.com/problems/jump-game-ii/题意:Given
an array of non-negative integers, you are initially positioned at the first
index of the ...
分类:
编程语言 时间:
2014-06-12 17:38:49
阅读次数:
323
ie 与 Chrome 时间格式化通用: new
Date(res[i].Time.replaceAll("-", "/")).format("yyyy-MM-dd") replaceAll,
format是扩展方法 /* 所以可以用以下几种方式.: string.replace(new RegEx...
分类:
其他好文 时间:
2014-06-12 17:22:28
阅读次数:
293
原题地址:https://oj.leetcode.com/problems/maximum-subarray/题意:Find
the contiguous subarray within an array (containing at least one number) which
has the ...
分类:
编程语言 时间:
2014-06-12 17:06:04
阅读次数:
339
原题地址:https://oj.leetcode.com/problems/insert-interval/题意:Given
a set ofnon-overlappingintervals, insert a new interval into the intervals
(merge if ne...
分类:
编程语言 时间:
2014-06-12 16:13:09
阅读次数:
350