In addition to what you are doing right now,you can use BroadcastReceiver for your application to get notified whenever the connectivity changes by registering intent.
Have a look at docs: BroadcastReceiver
and Connectivity Monitoring for detailed description.