都是贴的,以后等真正搞明白再整理build:构建目录,相当于Eclipse中默认Java工程的bin目录。libs:依赖包src:mainjavaJava代码res资源文件layoutApp布局及界面元素配置menuApp菜单配置valuesdimens.xml定义css的配置文件strings.x...
分类:
移动开发 时间:
2015-04-27 23:30:48
阅读次数:
454
具体原理不清楚,在网上找了找,记录下。 第一步:将ida.cfg中cpp866 version的AsciiStringChars注释掉,把full version的AsciiStringChars取消注释,如下图。 第二步,Options-->Ascii String Style。选择Cha...
分类:
其他好文 时间:
2015-04-27 14:43:46
阅读次数:
281
Redis是一个开源的使用ANSI C语言编写、支持网络、可基于内存亦可持久化的日志型、Key-Value数据库,并提供多种语言的API。和普通的Key-Value结构不同,Redis的Key支持灵活的数据结构,除了strings,还有hashes、lists、 sets 和sorted set.....
分类:
其他好文 时间:
2015-04-27 12:56:33
阅读次数:
183
字符串strings.xml 192.168.0.100getResources().getString(R.string.server_ip)整型intergers.xml 6000getResources().getInteger(R.integer.server_port)
分类:
移动开发 时间:
2015-04-26 15:00:33
阅读次数:
148
json-c
JSON-C implements a reference counting object model that allows you to easily construct JSON objects in C, output them as JSON formatted strings and parse JSON formatted strings back into th...
分类:
Web程序 时间:
2015-04-26 00:03:11
阅读次数:
257
Write a function to find the longest common prefix string amongst an array of strings.这题是寻找一组字符串的最长公共前缀,举个例子:“abc” "a"显然lPrefixString = "a",注意检查空串的情况!...
分类:
其他好文 时间:
2015-04-25 19:48:20
阅读次数:
114
要求:Please use javascript (or your favorite programming language) to write afunction that do the following.Given an array of strings, return an array o...
分类:
其他好文 时间:
2015-04-25 18:05:14
阅读次数:
175
第一步:1. Create the variant dependent strings in your build scriptEdit yourbuild.gradlefile accordingly: //This line allows parameterization via the ter...
分类:
移动开发 时间:
2015-04-25 16:22:42
阅读次数:
229
//打开文件->逐行读取->根据空格分割打印package mainimport ( "bufio" //缓存io "fmt" "io" //基础io ioutil工具包 "os" "strings")func main() { f, err := os.Open("D:\\go\\src\\W3S...
分类:
其他好文 时间:
2015-04-25 14:53:29
阅读次数:
134
Android 多语言
在res文件上右击创建新的values文件 在strings文件中设置多语言 在layout文件中使用 @strings/key 引用相应资源
分类:
移动开发 时间:
2015-04-25 13:37:21
阅读次数:
129