Hi , Just wanted to know if this library is active..
Check my Library Store:
http://visualnet.inf.br/store ....... shows server error
Thanks
I know I'm late here, but checking for internet is really easy, doesn't really require any special libraries. Just throw a ping to 8.8.8.8 (Google's permanent DNS server). Very reliable, works great, very simple. Only libraries I'm using are Core and Phone. Here's my code, works very well in the app I wrote in B4a v8.8, but there are many code examples on here that use this similar approach to pinging Google's 8.8.8.8:
In Process Globals:
Dim SB as StringBuilder
in Globals:
' Show main menu only if internet connectivity test successful, otherwise ExitApplication
SB.Initialize
If Ping("8.8.8.8", "Status", 5, 10, True) = "Offline" Then
Msgbox("No active internet connection detected. Turn off airplane mode if enabled, otherwise check cell data service or WiFi connectivity.","Connection Failed")
ExitApplication
Else
blOnlineCheckPassed = True ' my own variable used elsewhere
StartActivity(tocmenu)
' Close this screen
Activity.Finish
End If