2015年9月29日 星期二

How to enable USB debugger at Android 5.0 (Lollipop)

This version hides the USB debugger function in setting. Need to call this function back by the steps below.

Go to setting --> about phone --> Tap build number seven times.
Then the system will show developer enable.
Go back setting and will find the developer setting. Enable USB debugger.

http://www.kingoapp.com/root-tutorials/how-to-enable-usb-debugging-mode-on-android-5-lollipop.htm

You have to enable USB debugging before plugging your device in to the computer. Unplug device then try to enable USB debugging. This should work. If so, you can then plug it back into the computer and it should work.

For Android 7, my phone is V20.
1. Check the driver install well.
2. Install SDK platform-tools - adb.
3. enable USB debugger first.
4. Setup PTP mode on the phone when plugging in USB.
5. Windows should automatically install the driver.
6. Then adb should be able to find your device. The command is such "adb devices".


2015年9月21日 星期一

JSON for binary data - interesting article


http://stackoverflow.com/questions/1443158/binary-data-in-json-string-something-better-than-base64