Debugging tools

When in the debug phase, from the networking point of view, we need flexible tools let us test our application in different connectivity conditions, checking what we are transmitting over the network, how we are doing it, how we handle and cache responses, and if the communications are safe and secure.

In the following sections we want to discuss the new adb command introduced to support the changes inside the new Android N SDK. And, then, besides the Android tools we discussed previously in Chapter 2, Efficient Debugging, such as the Network Statistics tool and the TrafficStats API, we want to briefly introduce a couple of helpful tools. These will let us analyze the networking performance of the application and intercept the network ...

Get Android High Performance Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.