【案例1】通过一个对象获得完整的包名和类名123456789101112131415packageReflect;/*** 通过一个对象获得完整的包名和类名* */classDemo{//other codes...}classhello{publicstaticvoidmain(String[] ...
分类:
编程语言 时间:
2015-01-08 09:28:37
阅读次数:
175
1. 实现代码 private int mWidth; private int mHeight; @TargetApi(Build.VERSION_CODES.JELLY_BEAN_MR1) public void getDisplayMetrics() { ...
分类:
移动开发 时间:
2015-01-07 16:32:48
阅读次数:
209
DATAS SEGMENT STRING DB ? DATAS ENDS CODES SEGMENT ASSUME CS:CODES,DS:DATAS START: MOV AX,DAT...
分类:
其他好文 时间:
2015-01-05 14:28:04
阅读次数:
117
POJ 1146 ID Codes给定字符串有26个小写字母组成,求出给定字符串的下一个。算法简述:对于字符数组chararray,从字符串末尾向前找到第一个chararray[index]0) { if(chararray[count]>chararray[count-1]) { ...
分类:
其他好文 时间:
2014-12-30 20:34:43
阅读次数:
172
错误详情:
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder fo...
分类:
编程语言 时间:
2014-12-29 09:07:55
阅读次数:
332
发现一个USB class网站,对设备管理的小伙伴非常有用
http://www.usb.org/developers/defined_class
USB Class Codes
August 11, 2014
USB defines class code information that is used to ident...
分类:
其他好文 时间:
2014-12-27 17:43:29
阅读次数:
212
decompile the application fileapktool d -o dianping/ dianping.apkmodify the resources / smali assembly codes as you wish.diff -bur 51buy/smali/ 51buy_...
分类:
移动开发 时间:
2014-12-26 20:06:46
阅读次数:
151
Original:http://sysmagazine.com/posts/216591/Many plowing on open space Github, I found assemblage of interesting designs, source the codes, and libra...
分类:
移动开发 时间:
2014-12-26 16:17:11
阅读次数:
172
现在对android 5.0 api内部处理机制比较困惑。如果我的android app 使用 android 5.0版本进行编译,那么编译后的app是可以再android 5.0 和以后版本运行的.如果开发中配置(Build.VERSION.SDK_INT>= Build.VERSION_CODES.LOLLIPOP)
依然能有效,如果运行在其他比较老的设备(android系统版本比较老),...
分类:
移动开发 时间:
2014-12-25 18:23:45
阅读次数:
171
http://www.sharejs.com/codes/python/8032import datetime # Get a date objecttoday = datetime.date.today() # General functions print "Year: %d" % today....
分类:
编程语言 时间:
2014-12-22 10:53:08
阅读次数:
187