Android development via wireless

One of the known ways to develop an Android application directly on the device is to use a USB port and install the driver using eclipse. As such, is there a known way to make this wireless?

EDIT: Ideally, this does not require an embedded device.

+14
android eclipse adb
Dec 04 '10 at 4:30
source share
3 answers

UPDATE: this is now supported based on the latest SDKs. Look here in the section "Using a Wireless Network".

In short:

  • USB device connection
  • Enter "adb tcpip 5555"
  • Unplug the device
  • Search for device IP address in system settings
  • Enter "adb connect [ip address]: 5555"
  • What is it!



For the record, here is the old version of the answer:

Install the wireless ADB application. Details here: http://www.androidcentral.com/android-quick-app-adb-wireless

EDIT: Okay, this requires a root. If you do not have a root, this will be a little more cumbersome. Above my head, here is what you can do:

  • Use any means of wireless transmission (Bluetooth or FTP, there are many applications for any market) to transfer the APK file from your computer to your phone.
  • Use the file manager (for example, the OI file manager) to browse to the file and open it.

Step 1 can be automated via the command line if you use FTP (and, at least on Unix-based systems, most likely via Bluetooth).

Step 2, well, cannot be easily simplified. But you can write an installer application that simply does ACTION_VIEW in the APK file on your phone.

Obviously, this will go through the package installer, so you will need to confirm the installation process and all that. But hey, it's wireless :)

(Lateral note: there are several telnetd and sshd solutions on Android, but none of them that I could find are for non-root phones. If you can get a telnet / ssh connection, you can make this process more comfortable.)

+11
Dec 04 '10 at 4:33
source share

Are you sure some form of adb is already running? Look in the settings for something about enabling debugging. Get a terminal emulator application like connectbot, run it and make a β€œps” to see what works.

If you post the tablet name (and google it!), There may already be some well-known solutions

0
Dec 04 '10 at 5:08
source share

For those who have a built-in phone, you can use the application from Google Play, which simplifies the connection to a wireless network. Try this https://play.google.com/store/apps/details?id=com.ttxapps.wifiadb&hl=en . It worked for me.

0
Apr 15 '15 at 12:51
source share



All Articles