[APP] ADB WiFi

bartito

Inactive Recognized Developer
Dec 1, 2005
3,891
1,773
253
Hi,

I have developed another small application.

In this case, is an small utility to allow to establish connections with the device using the WiFi network.

You can try and post bugs, if any :)

INSTRUCTIONS

(I assume you have ADB installed in the PC):

- Execute this application in your android device
- Click the bug image until it becomes green (you probably need to provide superuser permissions)
- Open a terminal or command session in your PC
- execute "adb connect XX.XX.XX.XX" in the PC (the connect address is provided by my application
- execute "adb shell" in the PC (or any ADB command)

CHANGELOG

1.0.1

First release

1.0.2

Spanish translation

1.0.3

Added error if no active WiFi connections

1.0.4

Small layout update

1.0.5

Compatibility with small screen resolutions
Corrected bug

1.0.6

Internal improvements

1.0.7

Automatically disconnect WiFi mode when connected to PC (and automatically restore WiFi mode on disconnect from PC)

1.0.8

Added preferences window
Added ability to enable ADB WiFi mode on boot

1.0.9

Bug corrected

2.0.0

Full rewriten code

2.0.1

Translation to dutch added (Thank's to doekoe87 @ xda)
Small improvements

2.0.2

Automatically stops service when disconnected

2.3.4

Bugs corrected
Added ads in free version
Added greek translation (thank's to [email protected])
Added slovak and czech translations (thank's to [email protected])

3.0.0

Full rewritten

PERMISSIONS

Via Manifest.xml

ACCESS_WIFI_STATE
CHANGE_WIFI_STATE

To trigger WiFi state and enable WiFi

BATTERY_STATS

To known the connected cable wype when cable attached to device

BOOT_COMPLETED

In order to receive a broadcast when device bootups ended
(for auto-enable ADB WiFi service, if allowed)

Via Superuser and su interface

ROOT_PERMISSION

To restart ADB server




please, if you have a few free minutes, translate the attached strings file to your language.
 

Attachments

Last edited:

bartito

Inactive Recognized Developer
Dec 1, 2005
3,891
1,773
253
im trying to use it via my galaxy 5. but seems not connected. my pc should connect into the same wifi or not ?
the pc and the phone does connect to the same network, but not to the same wireless network.
in my case, in my house, i have the same wireless network and works fine, and
in the office, i have the device connected to the network via wifi and the pc connected via a net cable and are working flameless.
if you're not connected to the same router and the router uses NAT, this don't works, due to the NAT generation IP's don't works in the two directions.
 

bartito

Inactive Recognized Developer
Dec 1, 2005
3,891
1,773
253
this is the result
hi,
are you using a firewall in your pc?
if yes, update settings to allow outgoing connections to port 5555

are you using a iptables in the android (like droidwall)?
if yes, update settings to allow applications running as root to establish wifi connections

:)
 

bartito

Inactive Recognized Developer
Dec 1, 2005
3,891
1,773
253
What is Adb...?...where i can find software Adb for pc...when i try a apk tool..its said Adb not found..anyone know why?

Sent from my GT-I9100 using xda premium
adb is included in Android sdk
and allows to connect to the device using terminal commands
 

bartito

Inactive Recognized Developer
Dec 1, 2005
3,891
1,773
253
Ok. It's only a little thou. After I've close it, is it supposed to stay in the running apps list, for how long?

Sent from my LG-P970 using XDA App
service execution don't consumes device resources, but it seems a good idea to stop when disconnected.
i don't have the sources at this moment. please, wait for a new version (with auto-stops service on disconnect) monday :)

... and remember to rate in market if the application works for you ...