Android : Android studio - widget became frozen if internet connection is absent

on Friday, March 20, 2015


I have an a widged created in android studio. Widget periodically sends HTTP-GET request using HttpURLConnection to my server and reserves some data. So, if Internet connection is disabled on my phone, widget become frozen. HttpURLConnection is "try-catch"ed.


How I can to check is widget is frozen and reset it?


Sorry about my English, if mistakes are present (I'm sure, they are present).


0 comments:

Post a Comment