Android: auto launch internet usb when you connect a usb, how?

Hello. Tell me how to implement the necessary functionality. In android devices with 3g module is a function - usb internet. Through connecting to the Internet through a network PC via a usb cable.
Tell me, how to implement it in automatic mode. If the cable is connected, to enable this mode.
Maybe even better with a delay (still included a PC).
September 26th 19 at 06:36
1 answer
September 26th 19 at 06:38
You apparently did not understand my question. - Bryce commented on September 26th 19 at 06:41

Find more questions by tags Android