I'd like to check if the Android device is connected with a cable, to a computer network.
It should most likely detect if a cable was connected, or periodically (with a timer?) check with a ping to the web server host computer.
Or the check could be done at the time of the user doing something, such as pressing a button.
Any advice would be appreciated.
Thanx,
Mark S.
It should most likely detect if a cable was connected, or periodically (with a timer?) check with a ping to the web server host computer.
Or the check could be done at the time of the user doing something, such as pressing a button.
Any advice would be appreciated.
Thanx,
Mark S.