Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Expert Android Programming
  • Table Of Contents Toc
  • Feedback & Rating feedback
Expert Android Programming

Expert Android Programming

By : Prajyot Mainkar
1 (1)
close
close
Expert Android Programming

Expert Android Programming

1 (1)
By: Prajyot Mainkar

Overview of this book

Android O brings a number of important changes for the users as well as the developers. If you want to create smart android applications which are fast, lightweight and also highly efficient then this is the book that will solve all your problems. You will create a complex enterprise grade app in this book. You will get a quick refresher of the latest android SDK and how to configure your development environment. Then you will move onto creating app layouts, component and module building, creating smart and efficient UIs. The most important part of a modern day app is how real time they are. With this book, you will create a smooth back-end for your app, ensure dynamic and real time communication between different app layers. As we move on, you will learn to leverage the different Android APIs and create an efficient SQLite data layer for your apps. You will implement effective testing techniques to make your app reliable and robust and finally you will learn to deploy it efficiently. The multiple stages of android development will also be simplified by giving you an industry standard set of best practices.
Table of Contents (17 chapters)
close
close
10
Building Restaurant finder

Improving app with battery analyser

An app should focus on preventing battery drain from occurring to improve the performance of the app and the device. In order to reduce the battery usage of an app, the battery usage of the app should be determined. For this purpose, a battery analyzer has to be used to determine how your app uses battery and how performance could be improved.

Battery Stats collects battery data from your device. It creates a dump of all the battery data of a particular selected device using Android Debug Bridge (ADB) commands. Using these battery stats, the battery usage could be found out using a battery historian which would create a HTML file for viewing the battery stats results in a browser for user viewing.

A graphical representation battery historian of the live Zomato app is shown in the figure below:

A detailed explanation of the above battery usage...

Unlock full access

Continue reading for free

A Packt free trial gives you instant online access to our library of over 7000 practical eBooks and videos, constantly updated with the latest in tech
bookmark search playlist download font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete