Highlighted

NetConnection httpIdleTimeout on Android not working

Engaged ,
Oct 16, 2014

Copy link to clipboard

Copied

Hi all,

I connect to web services using a NetConnection.  This works very well, except on Android when there is no network connection.

Even though httpIdleTimeout is set to 5000ms, making a call with NetConnection will not respond for about 7-8 minutes, until finally an error event is received.

NetStatusEvent, HTTP: failed

I'm using AIR 15 on a Nexus 7, but same result on a Galaxy Nexus (and others).

Cheers,

Peter

TOPICS
Development

Views

159

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

NetConnection httpIdleTimeout on Android not working

Engaged ,
Oct 16, 2014

Copy link to clipboard

Copied

Hi all,

I connect to web services using a NetConnection.  This works very well, except on Android when there is no network connection.

Even though httpIdleTimeout is set to 5000ms, making a call with NetConnection will not respond for about 7-8 minutes, until finally an error event is received.

NetStatusEvent, HTTP: failed

I'm using AIR 15 on a Nexus 7, but same result on a Galaxy Nexus (and others).

Cheers,

Peter

TOPICS
Development

Views

160

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Oct 16, 2014 0

Have something to add?

Join the conversation