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

Quick start – RestTemplate

Now that our workspace is set up and we already successfully deployed our first Spring for Android RestTemplate based app, let's explore some more capabilities from RestTemplate.

This section relies on several example apps. We will go through all the important points of each code sample. Feel free to import the projects into your IDE and browse the code.

Note

From now on, I will use Maven to manage dependencies, but you don't have to. Each project has a list of dependencies in its README.md file: download them (or get them from your Spring for Android ZIP archive libs folder), and add them to the libs folder!

Different message converters

In the previous section, we already used a message converter: StringHttpMessageConverter ...

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