Android Application Development with Maven

Learn how to use and configure Maven to support all phases of the development of an Android application

Android Application Development with Maven

Starting
Patroklos Papapetrou, Jonathan LALOU

Learn how to use and configure Maven to support all phases of the development of an Android application
$23.99
$29.99
RRP $23.99
RRP $29.99
eBook
Print + eBook

Instantly access this course right now and get the skills you need in 2017

With unlimited access to a constantly growing library of over 4,000 eBooks and Videos, a subscription to Mapt gives you everything you need to learn new skills. Cancel anytime.

Free Sample

Book Details

ISBN 139781783986101
Paperback192 pages

Book Description

Android is an open source operating system used for smartphones and tablet computers. The Android market is one of the biggest and fastest growing platforms for application developers, with over a million apps uploaded every day.

Right from the beginning, this book will cover how to set up your Maven development environment and integrate it with your favorite IDE. By sequentially working through the steps in each chapter, you will quickly master the plugins you need for every phase of the Android development process. You will learn how to use Maven to manage and build your project and dependencies, automate your Android application testing plans, and develop and maintain several versions of your application in parallel. Most significantly, you will learn how to integrate your project into a complete factory.

Table of Contents

Chapter 1: Beginning with the Basics
Installing Java
Download and Install Apache Maven
Android SDK
Creation of a new project
Integration with IDE
Summary
Chapter 2: Starting the Development Phase
Reminders about Android projects
Creating an AVD
Develop and Build
Architecture principles
Summary
Chapter 3: Unit Testing
Effectively testing Android applications
Running typical unit tests
Unit testing of activities
Real unit testing with Robolectric
Measuring test coverage
Summary
Chapter 4: Integration Testing
Fundamentals of instrumentation testing
Running Android instrumentation tests
Grabbing screenshots with Spoon
Working with Robotium
UI Tests made easy with Selendroid
Other integration testing tools
Summary
Chapter 5: Android Flavors
Problem statement
Introducing Maven profiles
Creating build profiles
Summary
Chapter 6: Release Life Cycle and Continuous Integration
Optimizing an Android package
Releasing a new version
CI and automation best practices
Summary
Chapter 7: Other Tools and Plugins
Managing Android code quality
Boost development speed with GenyMotion
Summary

What You Will Learn

  • Integrate Maven with your favorite Android IDE
  • Install and configure Maven with your local development environment
  • Create the proper Maven structure for both standalone Android applications or applications that are part of a bigger project
  • Run unit tests using popular frameworks such as Robolectric and collect coverage information using Maven plugins
  • Configure a variety of different tools such as Robotium, Spoon, and Selendroid to run integration tests
  • Handle dependencies and different versions of the same application
  • Manage and automate the release process of your application inside/outside Google Play
  • Discover new tools such as Eclipse, IntelliJ IDEA/Android Studio, and NetBeans, which perfectly integrate with Maven and boost your productivity

Authors

Table of Contents

Chapter 1: Beginning with the Basics
Installing Java
Download and Install Apache Maven
Android SDK
Creation of a new project
Integration with IDE
Summary
Chapter 2: Starting the Development Phase
Reminders about Android projects
Creating an AVD
Develop and Build
Architecture principles
Summary
Chapter 3: Unit Testing
Effectively testing Android applications
Running typical unit tests
Unit testing of activities
Real unit testing with Robolectric
Measuring test coverage
Summary
Chapter 4: Integration Testing
Fundamentals of instrumentation testing
Running Android instrumentation tests
Grabbing screenshots with Spoon
Working with Robotium
UI Tests made easy with Selendroid
Other integration testing tools
Summary
Chapter 5: Android Flavors
Problem statement
Introducing Maven profiles
Creating build profiles
Summary
Chapter 6: Release Life Cycle and Continuous Integration
Optimizing an Android package
Releasing a new version
CI and automation best practices
Summary
Chapter 7: Other Tools and Plugins
Managing Android code quality
Boost development speed with GenyMotion
Summary

Book Details

ISBN 139781783986101
Paperback192 pages
Read More

Read More Reviews