Android uses adb wireless for debugging, androidadb
Today, there is a problem with the usb interface on the computer, so I thought that I could connect to the mobile phone through wifi, and then DEBUG eclipse and check logcat.
I searched the internet and found this solution.
Now I want to share it with my android friends.
Prerequisites: You must have in
There are times when Android development is not always connected to the device, because the device's USB is frequently plugged in and will cause some damage. So when the device has been unable to use the data cable to connect development tools need to have a function, that is, wireless debugging, is it feel very feeling?Wireless debugging can be triggered by the
Android friends know that the real machine debugging needs to connect the phone to the PC, and then deploy the application to the real machine for installation and commissioning. The long USB cable is cumbersome and inconvenient if you need a USB interface to connect to other devices. Today introduces a way to do real-machine debugging without a USB cable.First let the phone and the computer under the same LAN, and then download a name of the app call
In the previous article, we introduced the introduction of the app with the ADSL driver.OpenwrtAnd simple configuration. This time, we will summarize the next interesting application, using Android mobile phone +MPDCreates a wireless music player.
Required equipment:
One route entry for db120, rg100a, or other bcm6358 chips
One USB sound card (two sound cards in my hand can work well, one is st
This article describes the Android implementation approach to acquiring wired and wireless IP addresses. Share to everyone for your reference. Specifically as follows:
To do the development of Android, encountered the problem of getting a wired IP address. Not much to say code!
for (enumeration
Analysis:
Let's look at this piece of code:
Copy
we usually use mobile phone debugging, often is the hand, can download a jar package can be mapped to the computer Desktop screen, but run comparison card, and then give up, and then, the phone is sometimes not easy to connect data cable, PC and mobile phone (even WiFi) in the same network segment, Can be debugged by wireless!Use the Wireless mode method:
One: cmd Open command window: (set ADBD listeni
Yesterday I wrote a command line tool in C + +, I compiled it with g++ under Linux. Enables wireless ADB to quickly connect to Android devices, but other platforms need to recompile the source code.Requires that the computer has added ADB to the system environment variable, the Android device gets root privileges and turns on
1. Phone rootRoot is the only super user in the system, get root permission, can start or stop a process at will, delete or add users, add and disable hardware. For Android phone, some mobile phone manufacturers will be embedded in the mobile phone fixed application software, to promote the role of propaganda, but this to the mobile phone users caused inconvenience, ordinary users can not delete them, This requires root. In short, to get root permissi
1. First the Millet small box on only one jack, and buy millet small box, it itself will have a direct connection to the TV data cable.How do you make it on your PC display?First you need to buy a data cable: HDMI to VGA conversion line.Provide a connection address: http://item.jd.com/740861.htmlReady together:How do I turn on ADB wireless debugging? (Xiaomi small box does not need root at all)1. Must open-account and security-install location source
(info.groupformed) {//The other device acts as the client. In the case, //You'll want to create a client thread this connects to the group //owner.} }The Now returns to the OnReceive () method of the broadcast receiver, modifying the portion of the listening wifi\_p2p\_connection\_changed\_action, and invoking the Requestconnectioninfo () method when the intent is received. This is an asynchronous method, so the result is returned by the parameter: Connection informatio
!}@Override Public void onfailure(intCode) {//Command failed. Check for p2p_unsupported, ERROR, or BUSY if(Code = = wifip2pmanager.p2p_unsupported) {LOG.D (TAG,"Peer to Do" T supported on this device. ");Else if(...) ... } });If all the above has been done, then you can shout Hallelujah and have completed all the steps. If you encounter a problem and look for the method that takes Wifip2pmanager.actionlistener as a parameter, this callback method tell
First you need to install a mock-up terminal (Android terminal emulator or Wireless ADB) on your phone, I use the former and enter it on the terminalSetProp Service.adb.tcp.port 5555Stop adbd//stops ADBStart adbd//open adb(Note: The above instructions must be run on root, su can get root privileges, of course your phone must be root)Then the phone is connected to the network (3G or WiFi)Find the IP of your
As an Ubuntu novice, want to create WiFi through the computer, so that the phone can connect to the Internet.No software configuration, the other computer is connected to display (insufficient) privilege and the phone is not connectedLooked for a long time, has been unable to find the right method, today http://blog.csdn.net/gsls200808/article/details/39403215 found a method here, you can useHowever, you need to enable Administrator account http://shewolfep.iteye.com/blog/413396Http://os.51cto.c
Wireless ordering in Android Project (1) -- ordering system database design
(1) Use the mysql database. The script language is as follows:
/* User TABLE */create table 'usertbl' ('id' int (11) not null AUTO_INCREMENT, 'username' varchar (20) default null, 'Password' varchar (20) default null, 'permission' int (11) default null, primary key ('id') default charset = gbk; /* TABLE */create table 'tabletbl' ('
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.