O'Reilly logo

Beginning App Development with Parse and Phonegap by Stephan Alber, Wilkins Fernandez

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

CHAPTER 12

image

Network Connection Status

We are always connected... sometimes.

Wouldn’t it be nice if you were connected to the Internet 24/7? As magical as that experience may be, it can never fully be achieved. There will come a time in your life when you aren’t connected to the Internet. It’s like the 80s all over again.

This chapter focuses on the dreadful moment when your user may not have an Internet connection. What is a person to do, read a book or something?

For the Messenger application, you’ll notify the user that they will not be able to send messages. Using the Network Information PhoneGap plug-in, you’ll be able to detect if the user ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required