1. #1
    Sencha User
    Join Date
    Jul 2009
    Posts
    20
    Vote Rating
    0
    Ralph Haygood is on a distinguished road

      0  

    Default Connection strength assessment

    Connection strength assessment


    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.

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,344
    Vote Rating
    847
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    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.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Sencha User
    Join Date
    Jul 2009
    Posts
    20
    Vote Rating
    0
    Ralph Haygood is on a distinguished road

      0  

    Default


    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.

Similar Threads

  1. Replies: 2
    Last Post: 3 Nov 2010, 10:03 AM
  2. Help with GWT connection
    By Ms. Hoyhen in forum Ext GWT: Help & Discussion (1.x)
    Replies: 1
    Last Post: 8 Jan 2009, 11:23 AM
  3. example using PHP tcp/ip connection?
    By menriquez in forum Ext 2.x: Help & Discussion
    Replies: 3
    Last Post: 21 Dec 2007, 8:37 AM
  4. Bug in connection.js / yui-ext.js
    By masa2 in forum Ext 1.x: Bugs
    Replies: 0
    Last Post: 5 Mar 2007, 4:51 AM

Thread Participants: 1