On Android, we would like to use a VPN when a user is connected to a cellular network.
But the problem is that the VPN connection does not open automatically when switching between WiFi and the cellular network.
It also does not automatically connect when the device restarts.
Is there any potential way to automatically open a VPN connection when switching between WiFi and cellular network, as well as when rebooting the device.
We need this for Android Gingerbread and Ice Cream Sandwich.
A VPN opens when users switch between WiFi and a cellular network.
source share