We can use ddms to capture pictures of Android devices connected to the computer through a USB data cable. Because Android devices are connected to the Internet, there is also an IP address, so we can use wifi to achieve computer and andorid
Connect devices.
Connect the Android device to the computer in a LAN
ADB server: ADB Server is a service process on a computer. The process name is ADB.
ADB daemon: the service process on the Android device. The process name is adbd.
ADB client: A terminal on a computer, such as Linux terminal and Windows dos windows. The process name is also ADB.
There are three ways to achieve this:
First:
Download wireless ADB and other software from androidmarket
: Https://market.android.com/search? Q = wireless + ADB & C = apps
Second (recommended)
This method requires the root of your Android device
① Download emulator terminal (terminal simulator) on your Android device (you can also connect to your computer through USB), enter Su to get the root permission (root required ), if it succeeds, $ becomes #
② Enter the following information:
# Setprop service. ADB. tcp. port 5555
# Stop adbd
# Start adbd
③ Obtain the IP address (3g or WiFi) of your Android device. For example, you can click the WiFi hotspot to display the IP address, as shown in the following figure.
④ Input in computer DoS
ADB connect 192.168.1.105: 5555
If successful, connected is displayed.
You can also use the ADB get-state command to check whether the operation is successful. If the display of devices or emulator-5555 (simulator) is successful
⑤ You can change the Android device back to its original status. The following is also done through the terminal simulator (you can also connect to the computer through USB)
# Setprop service. ADB. tcp. Port-1
# Stop adbd
# Start adbd
Images of devices on the other end of the ddms Network (USB is not required)
Third
USB connection required, low success rate
# Adb tcpip 5555 # restart adbd and listen to port 5555
# ADB connect 192.168.1.105: 5555
If the status is restored, enter adb usb. If you use higher permissions to perform the above operations, you can enter ADB root to test