- Run lint under '/SDK/tools/lint', save the output to file.
- lint . |grep 'to be unused' > /tmp/unused.txt
- Remove all unused resouces.
- rm `cat /tmp/unused.txt | gawk -F: '{print $1}' |sed -e 's/ *$//'|grep png`
- Rebuild the project with 'ant release'.
Saturday, June 23, 2012
Remove unused resource from Android project
Wednesday, June 6, 2012
SVN merge branch to trunk
- Commit all changes for branch and switch to trunk repos.
- Checkout branch repos to /tmp/<branch>
- cd <branch>
- svn log --stop-on-copy, you should have all the commit recoded revision.
- cd /path/to/trunk
- svn merge /tmp/<branch> -r <from ver>:<until ver>
- svn commit "msg"
Friday, June 1, 2012
Openwrt Tp-link 1043nd WDS bridge with WR542G
After googled, I din't get any right guide to bridge the router (1043nd & wr542g), below is the steps to get both of them work together.
router a = wr542g = A
router b = 1043nd = B
router a = wr542g = A
router b = 1043nd = B
- Configure IP A = 192.168.1.1, B = 192.168.1.2. (settings may various )
- Login to A, under wireless, check "Enable Bridges"
- Enter the Mac adds of B in "MAC of AP1" filed.
- Login to B, under network -> wifi tab, edit your wireless controller and change the mode to "Access point (WDS)", save & apply.
- Go back to Wifi tab, click on "Scan", you should see route A appear on the list, join and fill up the authentication infos.
- Make both router using the same channel, change the mode to "Client (WDS)", BSSID is mac adds of A, network select "lan". save & apply.
- You should get both router connected after reboot A, B.
- Verified your work by ping the 2 routers.
Subscribe to:
Posts (Atom)