If the data cable is lost and you don't want to spend any money to buy it, you can check it online. Android phones can actually use wifi.ProgramDebugging, too good. I did it myself. Although I wrote a lot of details on the Internet, there are still some problems. I will record them and refer to them next time.
1. First, let the Android phone listen to the specified port:This step requires the use of shell,
WiFi-based Android LAN Instant Messaging Software, wifiandroid
The WiFi-based Android LAN Instant Messaging Software communicates with other mobile devices through self-built Wi-Fi hotspots, enabling text chat, voice messaging, file transfer, and other functions, meets basic daily needs.
:Http://www.dwz.cn/BzUh0
Run:
Android wifi connection can receive data, gprs cannot, androidwifi
Android can obtain files on the network in WiFi, but not GPRS.
Cause:Static IP addresses must be used for access.
Example:When downloading files stored in Alibaba Cloud direct-line cloud acceleration, ip addresses are dynamically allocated, and data
Hello, everyone, recently in the Android program due to mobile phone interface problems, debugging programs are always poor and can not be normal debugging, so feel quite distressed, so on the internet to find wireless debugging methods of Android. After studying and experimenting with the wireless debug program that is now successful, the method is shared as follows:1. Whether the mobile phone has the cond
Pro-test is feasible, test system: Deepin2014,ubuntu is the same. The steps are very simple.1. Uninstall Hostapd,sudo apt-get Remove HOSTAPD (uninstall if previously loaded, because some versions are not supported)2. Install the specified version of HOSTAPD,HTTP://PAN.BAIDU.COM/S/1KT0XWMN and install it after download3. Installation Information Notice sudo apt-get install Libnotify-bin4. Installing Ap-hotspot$sudo add-apt-repository Ppa:nilarimogard/webupd8$ sudo apt-get update$ sudo apt-get ins
Wifi is ready to work, and most of the features required in Android wifisetting are also implemented. However, there are two other problems to record here:
1. softap unavailable
2. There is a probability that WPS will fail.
For softap, when WiFi tethering is selected in setting, softapcontroller sends a private command to the driver. However, before sending a pri
Requirement: count the number of Wi-Fi/2G/3G/4G traffic
Issue:
1. How to Determine 2G/3G/4G
The system source code TelephonyManager class provides methods, but only hidden, so you can refer to the source code
Ii. How to make statistics
The TrafficStats class is provided after Android 2.2 for traffic statistics. For more information, see the manual.
Here I used
Static long getTotalRxBytes () // obtain the total number of accepted bytes, including Mob
First put the Activity_main.xml file code out. TextView Full Screen?
12345678910111213141516171819202122232425
LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent"android:layout_height="match_parent"android:paddingBottom="@dimen/activity_vertical_margin"android:paddingLeft="@dimen/activity_horizontal_margin"android:paddingRight="@dimen
The Android underlying layer provides excellent control capabilities for both software and hardware systems, and the interface definition is very clear. We can easily implement the desired control, as a result, a quick setup function is available in the project recently, which requires one-click wifi shutdown, mobile network shutdown, battery setting, and flight mode, one-click Application Opening (the appl
How to install the Debug app on Android phone via WiFi 1. The first thing to do is to turn on your phone's USB debugging options and connect your phone via a USB cable.2. Then execute "adb tcpip 5555" to switch adb from USB mode to TCPIP mode. The correct echo message is: "Restarting in TCP mode port:5555". 5555 can be any port number that is not occupied.3. Re-execute "ADB connect 4. Disconnect the USB con
Use wifi to connect to eclipse for android program debugging, wifiandroid
First, the mobile phone must have been root. You can use the Baidu one-click root tool.
Then, open the terminal application on your mobile phone and enter the following command:SuSetprop service. adb. tcp. port 5555Stop adbdStart adbd
Next, you can view the IP address of your mobile phone and click on the connected Wi-Fi network to
How to obtain the Internet ip address of wifi for android
// Get the Internet IPpublic static String GetNetIp () {URL infoUrl = null; InputStream inStream = null; try {// http://iframe.ip138.com/ic.asp// infoUrl = new URL (http://city.ip138.com/city0.asp ); infoUrl = new URL (http://ip38.com); URLConnection connection = infoUrl. openConnection (); HttpURLConnection httpConnection = (HttpURLConnection) conne
Turn on your phone USB debugging and connect your phone to the device terminal via USBBecause the phone default adb is the USB connection mode, through the above operation has been able to operate the phone through the ADB. For security purposes, enter the ADB devices command at the device terminal to confirm that the phone is discoverableEnter ADB tcpip 5555 on the device terminal to modify the ADB connection mode on the phoneEnter the ADB connect PHONE_IP on the device terminal to connect, and
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.