Quantcast
Channel: Adobe Community : All Content - AIR Bugs and Performance Issues
Viewing all articles
Browse latest Browse all 1419

URLMonitor bad results on MOBILE

$
0
0

I belive this is an URLMonitor/google problem.

 

Here is the the response for HTTPStatusEvent.HTTP_RESPONSE_STATUS listener:
503 [HTTPStatusEvent type="httpResponseStatus" bubbles=false cancelable=false eventPhase=2 status=503 redirected=true responseURL="http://ipv4.google.com/sorry/IndexRedirect?continue=http://www.google.com/&q=CGMSBAUPUKsYs anorQUiGQDxp4NLixHuTLQF8iNtkr0Afq-2MJOIr6k"]

the response for HTTPStatusEvent.HTTPStatusEvent.HTTP_STATUS listener:
503 [HTTPStatusEvent type="httpStatus" bubbles=false cancelable=false eventPhase=2 status=503 redirected=true responseURL=null]

This testing was based on an attempt to load http://www.google.com
This WORKS on desktop, but NOT on my test Galaxy S5.
Can anyone else confirm this issue?

 

varurl:URLRequest = newURLRequest("http://www.google.com"); 
url.method = "HEAD"; mInternetMonitor = new URLMonitor(url);
 mInternetMonitor.pollInterval = 4000; 
mInternetMonitor.addEventListener(StatusEvent.STATUS, _handleCheckInternetConnection); 
mInternetMonitor.start();   
var ldr:URLLoader = newURLLoader(); 
ldr.addEventListener(HTTPStatusEvent.HTTP_RESPONSE_STATUS, rStatus);
 ldr.addEventListener(HTTPStatusEvent.HTTP_STATUS, hStatus);
 ldr.addEventListener(IOErrorEvent.IO_ERROR, ioErr);
 ldr.load(url);

 


Viewing all articles
Browse latest Browse all 1419

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>