View Full Version : Connection strength assessment
5 Feb 2011, 10:48 AM
I'm wondering whether any convention or "best practice" or even package of code has emerged for assessing connection strength in a Sencha Touch application running on a mobile device. Given local storage, a web application may now face the question, "Should I do this thing involving communication with a server right away, or should I add it to a queue in local storage of things to be done later, when this device has a stronger network connection?" I could make an ad hoc ping-like system of my own, but perhaps someone has already solved this problem nicely.
5 Feb 2011, 7:06 PM
The only thing that the browser has is the flag if it's online or not. PhoneGap may have something but I haven't seen anything.
12 Feb 2011, 3:47 AM
Okay, then, I guess that's a "no." That surprises me a bit. Flaky connectivity is the bane of my mobile life. It seems to me web apps will have to get smart about communicating when the communicating is good and not when it's not in order to compete successfully against native apps.
Anyhow, I'll make my own system.
Powered by vBulletin® Version 4.1.5 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.