Alibabacloud.com offers a wide variety of articles about connect android phone to linux, easily find your connect android phone to linux information here online.
ObjectiveWhen developing an Android app, it's usually connected to the device and computer via a USB cable, but for some applications that need to use a USB device, this approach is troublesome, and the USB port of the phone is connected to the external USB device and no longer connected to the data cable. This can be done through the network TCP/IP method. That is, ADB connects devices over the network wit
Implementation principleHierarchy Viewer: Get the current mobile phone real-time UI information, convenient for mobile phone automation testing;The subprocess in Python. Popen (): Call system command;Uiautomator tool: Get interface control information;ADB command: To operate the mobile phone;Test environment1. Hierarchyviewer will map the next
1. Open terminal, enter: System_profiler spusbdatatype, check all USB device information of Mac system, find the corresponding manufacturer Vender ID.-----------------Spreadtrum Phone: Product id:0x5d04 Vendor id:0x1782 ... Serial number:t619 ...----------------- 2, Vim ~/.android/adb_usb.ini, in the terminal plus Vender ID, as shown below.Last login:wed Nov 5 14:48:
1 in the computer we first download a Baidu Mobile Guardian, then we install and look for Baidu Mobile Guardian, you will see the following interface has a "USB connection" and "WiFi connection" If we click the use of "WiFi connection" at this time will generate two-dimensional code, haha now micro-letter or a bit like AH.
2 Now we are in the "Baidu Mobile Guardian" interface Click "Toolbox" and then we find "Application Center"-"mobile assistant" as shown in the following figure.
3 into the
Developing Android apps on Eclipse can sometimes be a problem with Eclipse's inability to identify the phone, and even if the data cable is unplugged, plugged in and out of the way, even restarting eclipse or restarting the computer, the problem remains unresolved. At this time is very distressed, because this problem really no solution, we do not know what is the reason, the reason is too much!First of all
The following conditions occurADB server didn ' t ACK* Failed to start daemon *Workaround:Method One:(1) View Task Manager, close all Adb.exe, or run->cmd, enter ADB kill-server in the command window(2) Restart EclipseMethod Two,:If the method is not, you can check whether your computer has started such as: 91 mobile phone assistant, 360 mobile phone pea pod, etc. first shut him down, reconnect try, and the
1. Turn on USB debugging
Now the Android smartphone can connect to the computer if it has to be switched on by USB debugging.
1. Click "Application" in the mobile phone to enter, as shown in the following figure.
2. Mobile phone and computer connection
1. As shown in the following picture, after we
1. Under the Standby page, click "Application".
2. Click "Set".
3. Slide the phone screen up with your finger and select "Developer Options".
4. Slide the slider to the right of the developer options to the right, when the ScreenTip "These are for development purposes only." When it can cause errors in your device and its application, click OK.
need for the ashes of the programmer, the C language bottom-level research and development, as well as the bottom of the Android system, must have in-depth research.Why are there 127 of them? Because the computer hardware was designed to consider the maximum number of USB interface 2 is 8, that is, 128, and itself to occupy one, so a computer hardware limit in theory only support 127 USB interface.is the initial research and development environment o
"WiFi Helper" tab in the main interface of the program, switch to the "Upgrade network card Driver" tab in the Open window, then you can upgrade the NIC driver to the latest version according to the prompts;
3, if the use of WinXP system to achieve the sharing of wireless hotspot AP, when the Android phone and other intelligent terminals can not search the normal WiFi hotspot, you
Specific steps
1. We enter the Android theme download network to find a "360 mobile phone Assistant" To download to the computer.
2. Then we put the phone "USB debugging" switch ("menu", from the pop-up menu, choose "Settings"-"Application"-"development" option, and in the open window check "USB debugging").
3. Now we have just downloaded the 360 assista
To clarify the advantages of MTK in the business model, as well as Android for the future of the MTK mobile phone development will have any impact, first of all to understand the mobile phone from the design, development to production of the entire process. Let's take a look at the cell phone production process first.
If we have to connect to the computer, then we have to turn on the USB mode, because the Android phone must be USB mode to connect the computer, otherwise it is unable to connect the computer Oh, okay, let's take a look at the Open USB mode tutorial
1. In Samsung Galaxy S5
Recently doing some projects, you need to block your phone's inherent functionality. Record here.The main feature of Android screen phone is to uninstall phone.apk. Shielding installation software function is mainly unloading packageinstall.apkThe following are examples of Samsung Note3 and M3. ( remember to back up before deleting )Note31. Connect the
.
Do the following:
Copy Code code as follows:
ubuntu@ubuntu:~$ ls-a//You can find a hidden file with "." Beginning:. Android
ubuntu@ubuntu:~$ CD. Android/
ubuntu@ubuntu:~/.android$ gedit Adb_usb.ini
The contents are generally as follows:
Copy Code code as follows:
# ANDROID
connection with the mobile phoneActivity. getsystemservice (context. telephony_service );
// Obtain the mobile phone number
String phoneid = TM. getline1number ();
// Remember to add in manifest FileAndroid: Name = "android. Permission. read_phone_state"/>
**************************************** **************************************** **************************************** ****************************
re-enter the Gmail account and password (new password after modification)
4. Enter your Gmail account and new password.
Follow Step 2 to change the password of your Gmail account, receive the prompt in step 3, and re-enter the following page to unlock your mobile phone (you need to connect the network to sync with your Google account, in steps 2 and 3, the network can be enabled)
When you
If the development of the mobile terminal as a drama, then the Android and iOS two operating system ecosystem between the competition must be the most wonderful 10 percent.In terms of market share, Android phones in 2017 accounted for 85.9% of the world's mobile phones, including Google Pixel, Huawei and the hardware and Apple level, or even beyond the Apple brand. Between the two sides, the biggest controv
Android phone system overview
First, let alone all the concepts of Android to study the most basic descriptions of the telephone system. Our mobile phone was first used for phone calls, followed by a phone book, followed by PIM, f
, and if the server sends a message or the time is out, the client disconnects the request and establishes a long request)Push has a distinct advantage in terms of the amount of power, traffic, and latency of the data being consumed. However, the disadvantage of using push is:For clients: Relatively high cost of implementation and maintenance, the maintenance of long connections under the mobile wireless network, relative to some technical development difficulty.For the server: How to achieve mu
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.