I have some code that will launch a web pop up but only if a network connection can be detected. I’m using google.com as the network address. here is the code:
network.setStatusListener(“www.google.com”, showCompanyInfo)
local function showCompanyInfo(event)
if(event.isReachable == false) then
–> Display error, connection is required.
else
native.showWebPopup(0, 0, …)
end
end
My code is working great using event.isReachable on the iPad/ iPhone but it doesn’t work for Android or the Nook.
Is event.isReachable not supported on the Android/ Nook and if not, what works?
thanks,
Rob [import]uid: 38348 topic_id: 19171 reply_id: 319171[/import]