Titanium Community Questions & Answer Archive

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

How to check if network is available (Wifi or 3G)?

Is there an API for this?

— asked May 10th 2010 by Peter Lum
  • 3g
  • check
  • network
  • wifi
0 Comments

2 Answers

  • Yes, there certainly is:

    https://developer.appcelerator.com/apidoc/mobile/1.2/Titanium.Network-module

    — answered May 10th 2010 by Stephen Gilboy
    permalink
    0 Comments
  • Don't forget that, if your app either requires 3G (Phone component) or Wifi to also update the "build/iphone/Info.plist.template" file with the correct keys for UIRequiredDeviceCapabilities.

    — answered May 10th 2010 by Kerim Satirli
    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.