Găsiți următorul dvs. carte preferat

Deveniți un membru astăzi și citiți gratuit pentru 30 zile
Instant Spring for Android Starter

Instant Spring for Android Starter

Citiți previzualizarea

Instant Spring for Android Starter

132 pages
35 minutes
Jan 25, 2013


Get to grips with a new technology, understand what it is and what it can do for you, and then get to work with the most important features and tasks. This is a Starter which gives you an introduction to Spring for Android with plenty of well-explained practical code examples. If you are an Android developer who wants to learn about RESTful web services and OAuth authentication and authorization, and you also want to know how to speed up your development involving those architectures using Spring for Android abstractions, then this book is for you. But core Java developers are not forgotten, thanks to the explanations on how to set up Eclipse and Maven for Android development (very basic knowledge regarding Android UI design is required to understand the examples; the right pointers to ramp up on this topic are provided though).
Jan 25, 2013

Despre autor

Legat de Instant Spring for Android Starter

Cărți conex
Articole conexe

Previzualizare carte

Instant Spring for Android Starter - Anthony Dahanne

Table of Contents

Instant Spring for Android Starter


About the Author

About the Reviewer


Support files, eBooks, discount offers and more


Why Subscribe?

Free Access for Packt account holders

1. Instant Spring for Android Starter

So, what is Spring for Android?


Auth/Spring Social

What Spring for Android is not

Integrating it in an Android app

Minimal dependencies to add or use RestTemplate

Getting started with Eclipse and Spring for Android

Installing the ADT plugin

First example app

Using Maven to build a Spring for Android app

Quick start – RestTemplate

Different message converters




Gzip encryption

HTTP Basic authentication

The RESTful recipe app

RecipeList activity: listing all recipes stored on the server

RecipeEditor activity

Android annotations

Quick start – OAuth

Developing a website or an app relying on a service provider

The OAuth dance

Spring for Android Auth module

An OAuth example using Google

People and places you should get to know

Official sites

Articles and tutorials




Instant Spring for Android Starter

Instant Spring for Android Starter

Copyright © 2013 Packt Publishing

All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews.

Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author, nor Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book.

Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information.

First published: January 2013

Production Reference: 1220113

Published by Packt Publishing Ltd.

Livery Place

35 Livery Street

Birmingham B3 2PB, UK.

ISBN 978-1-78216-190-5




Anthony Dahanne


Stanojko Markovik

Acquisition Editor

Usha Iyer

Commissioning Editor

Ameya Sawant

Technical Editor

Jalasha D'costa

Project Coordinator

Michelle Quadros


Lesley Harrison

Production Coordinator

Melwyn D'sa

Conidon Miranda

Cover Work

Conidon Miranda

Cover Image

Conidon Miranda

About the Author

Anthony Dahanne is a Java software developer since 2005. His favorite topics include Android, Continuous Integration, Web Services, and of course, core Java development.

During his spare time, he enjoys hacking on some open source Android app (G2Android, ReGalAndroid, and so on). He also contributes from time to time to build/IDE plugins usually involving Maven and Eclipse.

You can meet him at one of the many Java-related user group gatherings at Montréal (Android Montréal, Montréal JUG, Big Data Montréal, and so on).

Working at Terracotta, he's currently implementing the REST management tools for EhCache.

I would like to thank Guilhem De Miollis for his time spent reviewing the content of the book and even suggesting some topics. My colleagues at the Interfaces team at Terracotta, for always taking the time to share their deep Java knowledge with me, and finally my beloved wife Isabelle for her patience and help to make this book happen.

About the Reviewer

Stanojko Markovik was born in Skopje, Macedonia, but now resides in Paris, France. He holds a master's degree in software engineering from the faculty of electrical engineering and information technologies in his hometown of Skopje. His

Ați ajuns la sfârșitul acestei previzualizări. Înscrieți-vă pentru a citi mai multe!
Pagina 1 din 1


Ce părere au oamenii despre Instant Spring for Android Starter

0 evaluări / 0 Recenzii
Ce părere aveți?
Evaluare: 0 din 5 stele

Recenziile cititorilor