万本电子书0元读

万本电子书0元读

顶部广告

Expert Android Programming电子书

售       价:¥

1人正在读 | 0人评论 9.8

作       者:Prajyot Mainkar

出  版  社:Packt Publishing

出版时间:2017-09-29

字       数:42.4万

所属分类: 进口书 > 外文原版书 > 电脑/网络

温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印

为你推荐

  • 读书简介
  • 目录
  • 累计评论(0条)
  • 读书简介
  • 目录
  • 累计评论(0条)
Become a pro with the latest Android SDK and create state of the art applications for Android. About This Book ? Dive deep into Android development with practical hands on examples to help you in each stage. ? Develop smart professional grade apps for the latest Android N version and become a pro android developer. ? Unclog your development highway by utilising the industry standard best practices techniques. Who This Book Is For This book is for mobile developers having some expertise in building android apps and who wish to now take a leap into building complex app such as Zomato, using latest Android N power of Google. What You Will Learn ? Building UI/UX following best industry practices ? Development of Zomato Clone ? Measure and improve app performance ? Improving app using test mechanisms ? Bringing the app live on the play store In Detail 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. Style and approach This book will have a dedicated practical tutorial style approach with focus on professional & enterprise grade android app development. The examples in each chapter will be modular and will also help you to create a complete fully fueatured android app by the end of the book.
目录展开

Title Page

Copyright

Expert Android Programming

Credits

About the Author

About the Reviewer

www.PacktPub.com

Why subscribe?

Customer Feedback

Preface

Introduction

What this book covers

What you need for this book

Who this book is for

Conventions

Reader feedback

Customer support

Downloading the example code

Downloading the color images of this book

Errata

Piracy

Questions

Understanding the Gradle System

Stepping into the Gradle world

Adding Gradle to your app

Adding a new Gradle library

Adding a Gradle identifier

Adding as a module

Summary

Exploring Android Studio Developer Tools

APK Analyzer

Reducing the APK file size with APK Analyzer

Understanding basic battery drain

Batterystats and Battery Historian

Memory Monitor

Wondering what the various causes of memory increase are?

Logcat

Summary

Leap into the Android Support Library

The Android Support Library

v4 Support Library

v7 Support Library

Multidex Support library

v8 Support Library

v13 Support Library

Annotations Support Library

Design Support Library

Custom Tabs Support Library

Summary

Google Play Services

The architecture

Google Maps

Summary

Material Design

Wireframing and tools to gather feedback

Understanding the wireframing process (tangible and digital)

Material UI for Android developers

Building meaningful motions

Floating Action Button (FAB)

Implementing Search in Zomato

Building the UX Design

Understanding UX principles and how it's different from UI

Summary

SOLID Android Development and Its Design Principles

Single Responsibility Principle

Open-Closed Principle

Liskov Substitution Principle

Interface Segregation Principle

Dependency Inversion Principle

Summary

Understanding MVC, MVP, MVVM and Clean Arch Patterns

MVC (Model View Controller)

MVP (Model View Presenter)

MVVM

Clean Architecture Pattern

Understanding the layers of Clean Architecture

Summary

Decision Making

How to begin

Creational patterns

Builder

Dependency injection

Singleton

Structural patterns

Adapter

Facade

Behavioral pattern

Command

Observer

Model View Controller

Model View Presenter

Model View View-Model

Summing up MVP and MVC

Refactoring your app

What are the advantages of refactoring?

How is refactoring done?

When should you refactor?

What code needs to be refactored?

Bloaters

Object-orientation abusers

Change preventers

Dispensables

Data class

Couplers

How do I refactor my code?

Refactoring of methods

Extract method

Inline method

Extract variable

Inline temp

Replace temp with query

Split temporary variable

Remove assignments to parameters

Replace method with method object

Substitute algorithm

Summary

Performance Matters

Improving display performances

Optimizing layouts

Optimizing layout hierarchies

Views on demand

Define a ViewStub

Improving scrolls and other elements in the app

Using a background thread

Holding view objects in a ViewHolder

Understanding network requests, computation and memory

Collecting, analyzing and optimizing the network and network traffic

Collection network traffic information

Taging network requests

Configuring a network test build type

Deploying the network test APK

Runing the network traffic tool

Analyzing Network Traffic Data

Analyzing network traffic types

Optimizing network use

Batching and Job Schedulers

JobInfo

JobService

JobScheduler

Effective use of Extended Doze and Standby

Understanding Doze

Doze restrictions

Adapting your app to Doze

Understanding App Standby

Testing with Doze and App Standby

Threads and Pools

Specifying the Code to Run on a Thread

Creating a Thread Pool

Running Code on a Thread Pool Thread

Communicating with the UI Thread

Memory optimization

Treating Battery as part of user's experience

Understanding what causes battery drain

Why Battery Optimization is required?

Strategies for battery optimization

Effective consumption of battery in Zomato

Monitoring changes in charging state

Determining the current battery level

Improving app with battery analyser

Summary

Building Restaurant finder

App sections

Splash, Login, and Signup (including Google and Facebook)

The Signup Flow

Discovery Screen

Database

Room

Summary

Backend Service

Realtime Database

How to write a database structure

Add security to data structure

Firebase Cloud Messaging

Remote configuration

Authentication

Storage

Summary

App Quality Service

Firebase Test Lab

Summary

Grow Up

Dynamic links

App indexing

Admob

Banner Ads

Ad lifecycle event callbacks

Discouraged banner implementations

Recommended banner implementations

Interstitial Ads

Discouraged interstitial implementations

Interstitial ad implementations

Summary

Testing

Testing Mechanisms (Functionality , Performance , Security , and Compatibility)

Software Testing Life Cycle (STLC)

Organizing for Software Testing

Integration Testing

Top-down integration testing

Bottom-up integration testing

Regression testing

Smoke testing

Acceptance Testing

Alpha test

Beta test

Performance Testing

Security Testing

Compatibility Testing

Automating User Interface Tests

Testing UI for a single app

Testing App using Espresso in Android Studio

Setting up Espresso in Android Studio

Create an Espresso Test Class

Specifying a View Matcher

Performing Actions

Test your activities in isolation with Espresso Intents

Testing WebViews with Espresso Web

Verifying Results

Testing UI for Multiple Apps

Set Up the UI Automator

Inspecting the UI on a device

Ensuring your Activity is accessible

Selector Specification

Performing Actions

Tools and Techniques: Espresso and Monkeyrunner

Robotium

The UI Animator

Espresso

Monkeyrunner

Summary

Preparing for Google Play

Versioning Your App

Generating a signed APK

Preconfiguring to automatically Sign Your APK

Android Instant Apps

Alpha and Beta testing the App

Preparing App Store Listing

Device Catalog

App signing

Android Vitals

User Feedback and Analytics

Summary

Understanding App Store Analytics for Optimization

Keep an eye on Google Play policies

Get your app title right

Effectively using keywords in description

Does your icon reflect the app theme?

Are your app screenshots nailing it?

Video can be a crowd puller

Responding to reviews

Are you LOCALizing?

Summary

累计评论(0条) 0个书友正在讨论这本书 发表评论

发表评论

发表评论,分享你的想法吧!

买过这本书的人还买过

读了这本书的人还在读

回顶部