Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 6: Networking, Cache, and Power Management

Chapter 6

Networking, Cache, and Power Management

So far, we've looked at how to remove memory leaks and make our interfaces scroll and animate without much lag. The application is starting to perform and act like a polished app that is ready for prime time. What is the next step in our process? Networking is the next step.

The problem that comes with developing these applications is that we have high-speed Internet connections most of the time while we're developing and debugging our application. We're going to look at tools to help mimic slow and unreliable networks so we can see how our application is going to perform in the field.

Mobile devices communicate via a very unreliable and relatively slow network (when not connected on a Wi-Fi network). This makes our job as software developers very difficult because we need to use some very complicated techniques to hide this complexity from our users. A very common technique to do this is to implement a caching solution.


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free 10-Day Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint