2016年3月10日 星期四

[Android] 反組譯 APK resource 檔案


http://ibotpeaches.github.io/Apktool/




1.) Put apktool.jar and test.apk in same folder 
2.) Go to the jar and .apk path by command line
3.) And fire the command java -jar apktool.jar d test.apk
4.) It will generate a folder with the name "test" in the same folder




2016年2月24日 星期三

[Android] 從log 查 EXCLUDE_FROM_RECENTS 的小技巧




01-01 00:47:09.000  1432  6076 I ActivityManager: START u0 {flg=0x10000000 cmp=com.oneplus.market/.activity.SearchActivity} from uid 10011 on display 0



FLAG_EXCLUDE_FROM_RECENTS  
excludeFromRecents
Constant Value: 32 (0x00000020)

2016年1月15日 星期五

[Android] download commit message for repo

這是為了把上 code 的 format 弄下來
以方便單獨的 repo project 使用

scp -p -P 29418 <your username>@<your Gerrit review server>:hooks/commit-msg <local path to your git>/.git/hooks/


出處:
https://git.eclipse.org/r/Documentation/cmd-hook-commit-msg.html