Mark Read Well-Known Member Licensed User Longtime User Jan 6, 2014 #1 With the phone library I can get the data state. This will tell me if the data connection is there or not. How do I check if the data connection exists or if the gsm network has been lost (If I pass through a hole in the gsm network for example). Hope this is clear. I am thinking GetDataState can be true or connected although I have no connection due to lost gsm network: correct or not? Thanks Mark
With the phone library I can get the data state. This will tell me if the data connection is there or not. How do I check if the data connection exists or if the gsm network has been lost (If I pass through a hole in the gsm network for example). Hope this is clear. I am thinking GetDataState can be true or connected although I have no connection due to lost gsm network: correct or not? Thanks Mark
Erel B4X founder Staff member Licensed User Longtime User Jan 6, 2014 #2 See this discussion: http://www.b4x.com/android/forum/threads/check-internet-connection.27653 Upvote 0
Mark Read Well-Known Member Licensed User Longtime User Jan 6, 2014 #3 I prefer to check ServerSocket.GetMyIp and test whether it is "127.0.0.1" Click to expand... This may be an answer as there appears to be a problem with Ping. Upvote 0
I prefer to check ServerSocket.GetMyIp and test whether it is "127.0.0.1" Click to expand... This may be an answer as there appears to be a problem with Ping.