Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

Prompt user to Network if no network detected

I've look on the supported forums, samples and kitchensink but can't seem to find this – Is there a way to prompt user to iPhone network setting instead of alert message?


if (Titanium.Network.networkType == Titanium.Network.NETWORK_NONE){
alert('blah')
}


— asked April 8th 2010 by Daniel Lim
  • iphone
  • network
0 Comments

2 Answers

  • Accepted Answer

    Do you mean that instead of showing them a message, you want to launch right into the Settings app? If so, no, you can't do that.

    Or did you mean something else? Please describe the behaviour you are expecting/want.

    Regards,

    Bill

    — answered April 8th 2010 by Bill Dawson
    permalink
    0 Comments
  • Hi Bill, that's correct.

    If i'm right, you can't do "user confirmation" with present mobile sdk too right? I would love both features on future update. A user confirmation to prompt for an answer and direct user to device system setting.

    Thanks,
    Daniel

    — answered April 8th 2010 by Daniel Lim
    permalink
    0 Comments
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.