Wednesday, February 20, 2019

Lesson 0 - Connect android phone with Eclipse or Android Studio

Download your phone driver. You can visit manufactor website and search, should buy phone from big brand, it easy to find driver.
On your phone, go to  Settings >About phone >Version Infos > Build number
Click 6 times until it show toast “You are developer now”
If your phone is Samsung, go to Settings >More > About device  > Build number
After that, back to Developer option, swipe to turn it on. Check to Stay awake to make phone screen always on when connect it to computer, don’t lock screen.
Check to USB debugging.
If you forget these steps, Eclipse or Android Studio can’t recognize phone even when you installed driver.
Plug phone to computer, brow to driver folder and install.
Open Eclipse, on top right, choose DDMS, screen show phone name. Click to the word Java to back to code screen.


If not find DDMS, on Eclipse bar, choose Window > Open Perspective >  DDMS

No comments:

Post a Comment