Android miscellaneous-network connection and screenshots between computers and Android devices (such as mobile phones and tablets) through ddms

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.