Hello friends,
I have a widget on the main screen that calls a web service and displays some content. Now the problem is whenever the device loses Connection I need to update the widget with the message โNo connectionโ and when the device restores I have to update the widget again, calling the web service. Any Ideas, please share.
Thanks in advance
The following link also provides a good solution:
How to control network connection status in Android?
Vinayak bevinakatti
source share