Android Application Development with Maven

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

Android Application Development with Maven

Patroklos Papapetrou, Jonathan LALOU

Learn how to use and configure Maven to support all phases of the development of an Android application
Mapt Subscription
FREE
$29.99/m after trial
eBook
$16.80
RRP $23.99
Save 29%
Print + eBook
$29.99
RRP $29.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$16.80
$29.99
$29.99p/m after trial
RRP $23.99
RRP $29.99
Subscription
eBook
Print + eBook
Start 30 Day Trial

Frequently bought together


Android Application Development with Maven Book Cover
Android Application Development with Maven
$ 23.99
$ 16.80
Mastering Android Wear Application Development Book Cover
Mastering Android Wear Application Development
$ 31.99
$ 22.40
Buy 2 for $34.30
Save $21.68
Add to Cart
Subscribe and access every Packt eBook & Video.
 
  • 5,000+ eBooks & Videos
  • 50+ New titles a month
  • 1 Free eBook/Video to keep every month
Start Free Trial
 

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

Recommended for You

Apache Maven Dependency Management Book Cover
Apache Maven Dependency Management
$ 20.99
$ 14.70
Mastering Concurrency Programming with Java 8 Book Cover
Mastering Concurrency Programming with Java 8
$ 43.99
$ 30.80
Selenium Testing Tools Cookbook Book Cover
Selenium Testing Tools Cookbook
$ 26.99
$ 18.90
Mastering Web Application Development with AngularJS Book Cover
Mastering Web Application Development with AngularJS
$ 26.99
$ 5.40
Responsive Web Design with HTML5 and CSS3 Book Cover
Responsive Web Design with HTML5 and CSS3
$ 23.99
$ 4.80
Git Version Control Cookbook Book Cover
Git Version Control Cookbook
$ 26.99
$ 18.90