Spring for Android

2.0.0 M3

Spring for Android is a framework that is designed to provide components of the Spring family of projects for use in Android apps. Like all Spring projects, the real power of Spring for Android is found in how easily it can be extended.


  • A Rest Client for Android

  • Auth support for accessing secure APIs

The following example illustrates how to search Google:

// The connection URL
String url = "" +

// Create a new RestTemplate instance
RestTemplate restTemplate = new RestTemplate();

// Add the String message converter
restTemplate.getMessageConverters().add(new StringHttpMessageConverter());

// Make the HTTP GET request, marshaling the response to a String
String result = restTemplate.getForObject(url, String.class, "Android");
Spring Initializr

Quickstart Your Project

Bootstrap your application with Spring Initializr.


Each Spring project has its own; it explains in great details how you can use project features and what you can achieve with them.
2.0.0 M3 PRE CURRENT Reference Doc. API Doc.
2.0.0 SNAPSHOT Reference Doc. API Doc.
1.0.1 CURRENT GA Reference Doc. API Doc.