售 价:¥
温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印
为你推荐
Android Application Development with Maven
Table of Contents
Android Application Development with Maven
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers, and more
Why subscribe?
Free access for Packt account holders
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Errata
Piracy
Questions
1. Beginning with the Basics
Installing Java
Download and Install Apache Maven
Android SDK
Android development tools
Android SDK standalone
Creation of a new project
Integration with IDE
Eclipse
Set up and integration of Maven and Android SDK
Creation of a project in Eclipse
IntelliJ IDEA / Android Studio
Set up and integration of Maven and Android SDK
Specific to Android Studio
Specific to IntelliJ IDEA
Import of project
Specific to Android Studio
Specific to IntelliJ IDEA
NetBeans
Set up and integration of Maven and Android SDK
Import a project
Summary
2. Starting the Development Phase
Reminders about Android projects
Creating an AVD
With the GUI
In-command line
Develop and Build
Cleaning
Generating sources
Build
Emulator
Start
Stop
Stop all
Deploy
Undeploy
Architecture principles
Standalone application
Android application within an n-tier architecture
Android with dependencies on SDK Add-ons
Summary
3. Unit Testing
Effectively testing Android applications
Running typical unit tests
Unit testing of activities
Creating a dedicated unit testing module
Running Android unit tests with Maven
Real unit testing with Robolectric
Configuring Robolectric with Maven
Running Robolectric unit tests
Best approach
Measuring test coverage
JaCoCo
Cobertura
Summary
4. Integration Testing
Fundamentals of instrumentation testing
Running Android instrumentation tests
Creating a dedicated integration testing module
Writing a simple instrumentation activity test
Grabbing screenshots with Spoon
Configuring Spoon with Maven
Running Spoon and viewing the reports
Working with Robotium
UI Tests made easy with Selendroid
Configuring Selendroid
Writing Selendroid UI Tests for Maven native applications
Other integration testing tools
Summary
5. Android Flavors
Problem statement
Introducing Maven profiles
Creating build profiles
Separation by packaging
Separation by library
Summary
6. Release Life Cycle and Continuous Integration
Optimizing an Android package
Signing an application
Obfuscating the code
Aligning and zipping uncompressed data
Transforming the package in shippable form
Releasing a new version
Perform a release without deployment to repository
Deploying to a local repository
CI and automation best practices
Summary
7. Other Tools and Plugins
Managing Android code quality
A short history about quality in Android
Analyzing with Lint using Maven
Unleashing the power of SonarQube
Boost development speed with GenyMotion
Deploying our example to a GenyMotion emulator
Summary
Index
买过这本书的人还买过
读了这本书的人还在读
同类图书排行榜