02 2016 档案
摘要:normalimage="file='btn_open_mini.png' source='0,0,24,18'" source : 1. 一张图片包含四种状态 2. normal image 截取'btn_open_mini.png'图片当中left, top ,right, bottom,[0,0,24,18]的区域,也就是第一种状态 hotimage="file='btn_open_min...
阅读全文
摘要:c++ 编码 http://club.topsage.com/thread-2227977-1-1.html 本地化策略集(locale) 宽字符: unicode, 每一个字符使用固定的字节。 多字节: utf-8, gbk,字体集当中每一个字符所占用的字节数不同。 unicode, utf-8,gbk之间转换关系: unicode –> utf-8, unicode –> gbk, utf...
阅读全文
摘要:signapk.jar 路径: pizza/out/host/linux-x86/framework/signapk.jar 2. 加系统签名 http://blog.csdn.net/jinzhuojun/article/details/33748031?utm_source=tuicool&utm_medium=referral java -jar signapk.jar platform...
阅读全文
摘要:grep xxx . -srn 查找文件 find -name xxxname http://www.cnblogs.com/wanqieddy/archive/2011/06/09/2076785.html
阅读全文
摘要:查看命令 find –name filename 注意filename不要添加双引号 1. 怎么样制作 2. 将文件换到哪里 1. 编译时候的路径 2. 运行时候的路径 : (1)、开机动画文件为:android 真机当中 /system/media/bootanimation.zip是一个标准的zip文件,不过设置压缩率时选择存储。 ...
阅读全文
摘要:$ git commit -m " merge master readme.txt"U bootAnimation.rarerror: commit is not possible because you have unmerged files.hint: Fix them up in the work tree, and then use 'git add/rm 'hint: as...
阅读全文
摘要:git status # deleted: xxx.class # modified: xxx.xml 查看某个文件的历史,如什么时候被提交上去。 git log file git log –- xxx.class 直接 git log file 有时会出现下错误 fatal:ambiguous argument unknown revision or path not in the work...
阅读全文
摘要:your branch is ahead of ‘origin/xx” by 1 commit 说明本地commit还没有提交到中心服务当中。 查看远程分支的情况 git branch –a 将本地commit提交到远程服务器当中 git push 注意: 默认 其是将当前分支的log提交到远程中心
阅读全文
摘要:修改系统版本型号 pizza/build/tools/buildinfo.sh ro.build.bootdisplay.id= device/rockchip/rk30sdk/rk30sdk.mk PRODUCT_MODEL := 查看指定文件的修改 git log --pretty=onelin
阅读全文
摘要:1. clear 清屏 2. cp –r src des 复制文件夹 3. du –sh xxx_folder 查看文件夹的大小 如 du –sh pizza 结果显示 11G git 查看文件的git状态 http://phplaber.iteye.com/blog/1699926 [untracked files] ---> git add . ---> [changes to be ...
阅读全文
摘要:http://tool.chinaz.com/regex/ [\u4e00-\u9fa5]+\s*[,!?:]*[\u4e00-\u9fa5]+[,!?:]* tool.chinaz>切额地方地,方!<.com|ddd//大声夺地d在在地 方!:88 [\u4e00-\u9fa5] : 表示一下汉字 + 重复限定词: [1, 无限] \s : 空格 *: 重复限定词:[0,无限](表达可能有...
阅读全文
摘要:http://stackoverflow.com/questions/15051121/the-name-does-not-exist-in-the-namespace-clr-namespace
阅读全文
浙公网安备 33010602011771号