Monday, December 22, 2014

Re: check wallet garden / internet connection

1) Walled Garden
2) Any attempt to contact a different server in the javascript will trigger a security warning in most browsers, if not be blocked.  You certainly can try and perform an HTTP request via RequestBuilder, but I wouldn't count on it being reliable.

On Monday, December 22, 2014 3:37:59 AM UTC-6, marian lux wrote:
I need to check if my GWT application is inside a wallet garden (wifi hotspot without internet connection). How to handle this in an easy way on client side?
Is there a way to ping e.g. google.com and return true/false in a method like "boolean isInWalletGarden();" ? Can anyone post such a method?

THX Marian

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment