
Linux/Android
文章平均质量分 62
ChenFr
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
下载Android平台源代码
<br /><br />1. 初始化要下载的文件列表:cd ~/android/src repo init -u git://android.git.kernel.org/platform/manifest.git <br />如果想检出除master外其他分支上的代码可以用-b选项:cd ~/android/src repo init -u git://android.git.kernel.org/platform/manifest.git -b cupcake <br />2. 配置git帐户g转载 2011-03-09 12:47:00 · 904 阅读 · 0 评论 -
gvimrc
" .gvimrc"" Longer Chan's .gvimrc" http://longerchan.blogcn.com" " 2007-04-19" always have syntax highlighting in with the gui:syntax on" window size:set lines=40" max window when open VIMau GUIEnter * simalt ~x" scroll bar at the left rather than the righ原创 2011-03-09 11:53:00 · 1315 阅读 · 0 评论 -
获取手机基本信息
<br /><br /> <br />获取手机基本信息<br />TelephonyManager tm = (TelephonyManager) context.getSystemService(Context.TELEPHONY_SERVICE);//注意在AndroidManifest中添加权限<br /> String mobile = (tm.getLine1Number() == null ? "" : tm.getLine1Number()); <br /> Str转载 2011-03-09 13:05:00 · 836 阅读 · 0 评论 -
GIT
1 git clone只会提取远程git仓库里已提交的信息,working tree和index file里的信息,git clone根本不会理会。如果你是经理,你让你的手下用git clone path/to/your/repo newrepo来将你的代码下载到他的本地就可以了,注意,他用此命令下载的是path/to/your/repo仓库中的当前分支的内容。当你的手下开发完他负责的那部分代码之后,通知你。你用git fetch path/to/his/newrepo hisbranch:yourbran原创 2011-03-09 16:40:00 · 1232 阅读 · 0 评论