万本电子书0元读

万本电子书0元读

顶部广告

Android Application Development with Maven电子书

售       价:¥

3人正在读 | 0人评论 9.8

作       者:Patroklos Papapetrou

出  版  社:Packt Publishing

出版时间:2015-03-19

字       数:84.8万

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

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

为你推荐

  • 读书简介
  • 目录
  • 累计评论(0条)
  • 读书简介
  • 目录
  • 累计评论(0条)
Android Application Development with Maven is intended for Android developers or devops engineers who want to use Maven to effectively develop quality Android applications. It would be helpful, but not necessary, if you have some previous experience with Maven.
目录展开

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

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

发表评论

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

买过这本书的人还买过

读了这本书的人还在读

回顶部