-
Notifications
You must be signed in to change notification settings - Fork 1
Android connectivity
Connection Between an android Device and a Pc
Through WiFi Through Bluetooth Through USB
Both WiFi and BLuetooth are the easiest ways and there are many protocols
Considering the WiFi Android has an application the wifi hotspot This application gives access to the internet to devices connected to our android device . In fact it setups a wireless local network so it is easy for devices to establish connection with each other
Through usb connection is possible by port forwarding using the adb tool on the platform tools directory of the android sdk for example ./adb forward tcp:38300 tcp:38300 In fact this is to forward all communication targeting localhost on the specified port to the smartphone at the specified port This is a way to have a tcp connection between the smartphone and the host pc via usb