O'Reilly logo

Instant Spring for Android Starter by Anthony Dahanne

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Integrating it in an Android app

Spring for Android is contained in multiple JAR libraries which should be linked to the project. These JAR libraries are not part of the standard Android distribution. For example, we will need the following JAR libraries to consume a JSON REST API with Spring For Android RestTemplate:

Integrating it in an Android app

Minimal dependencies to add or use RestTemplate

You can use the IDE to manually satisfy the dependencies (and their transitive dependencies). The alternative to manual dependency management is automatic project building with Maven. We will explain Maven building later in the section.

Getting started with Eclipse and Spring for Android ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required