hermanto2 / httpmon

Automatically exported from code.google.com/p/httpmon
0 stars 0 forks source link

use getDataState() to check for network connectivity #6

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
some devices lose network connectivity when a phone call is received. provide a 
way for the user to select if they wish to check monitors when the phone is 
active.

httpmon should already be doing this. it checks if they network state is 
connected. i noticed there is another setting TelephonyManager.getDataState(). 
i am not sure the difference between these, but we can try checking both.

Original issue reported on code.google.com by jeffrey.blattman@gmail.com on 22 Nov 2010 at 5:54

GoogleCodeExporter commented 8 years ago
Not sure if relevant, but the latest version thinks it is not connected when 
the WiFi is enabled. Obviously a BUG.

Original comment by scorpi...@gmail.com on 25 Nov 2010 at 11:49

GoogleCodeExporter commented 8 years ago
Version 0.4.9 which is supposed to fix WiFi problems is not working here, logs 
state "Network type invalid, returning".

Original comment by scorpi...@gmail.com on 26 Nov 2010 at 5:39