Is there a broadcast receiver or some kind of setting that we can listen/monitor to get notified if the internet/network has been connected.
Listen for CONNECTIVITY_ACTION
This looks like good sample code. Here is a snippet:
IntentFilter filter = new IntentFilter(); filter.addAction(ConnectivityManager.CONNECTIVITY_ACTION); context.registerReceiver(mReceiver, filter);
2.1m questions
2.1m answers
60 comments
57.0k users