02 2013 档案

摘要:Most of the time you need to create a Service to perform something in the background, and your visible Activity simply controls this Service. (I'm sure the Music player works in the same way, so the example in the docs seems a bit misleading.) If that's the case, then your Activity can finis 阅读全文
posted @ 2013-02-28 15:17 qiangzhu 阅读(183) 评论(0) 推荐(0)
摘要:public static Bitmap decodeSampledBitmapFromResource(Resources res, int resId, int reqWidth, int reqHeight) { // First decode with inJustDecodeBounds=true to check dimensions final BitmapFactory.Options options = new BitmapFactory.Options(); options.inJustDecodeBounds = true; Bitm... 阅读全文
posted @ 2013-02-22 14:36 qiangzhu 阅读(2318) 评论(1) 推荐(0)
摘要:http://guibin.iteye.com/blog/1014369 阅读全文
posted @ 2013-02-18 13:17 qiangzhu 阅读(185) 评论(0) 推荐(0)
摘要:首次获取代码1.sign-in gerrit (only for the very first time) Command of adding new generated ssh key: ssh-add ~/.ssh/id_rsa2.Modify the user.name of git. Command: git config --global user.name <your_ldap_account>3.repo init -u ssh://<your_ldap_account>@216.224.176.142:29418/gmpoc/manifest -m gm 阅读全文
posted @ 2013-02-02 15:55 qiangzhu 阅读(269) 评论(0) 推荐(0)
摘要:重新生成的key加入:ssh-add ~/.ssh/id_rsa 阅读全文
posted @ 2013-02-02 13:58 qiangzhu 阅读(273) 评论(0) 推荐(0)