Home | Amazing | Today | Tags | Publishers | Years | Account | Search 
Instant Spring for Android Starter

Buy

Leverage Spring for Android to create RESTful and OAuth Android apps

Overview

  • Learn something new in an Instant! A short, fast, focused guide delivering immediate results.
  • Learn what Spring for Android adds to the Android developer toolkit.
  • Learn how to debug your Android communication layer observing HTTP requests and responses.
  • Use OAuth to authenticate your users and your app against popular service providers (Google, Facebook, Twitter, and so on).

In Detail

The possibility to connect to remote web services is a key feature for most Android apps. REST (Representational State Transfer) is the most popular architecture to provide web services to mobile devices and others. OAuth has recently become the web's favorite way to authenticate and authorize users and apps, thanks to its capability to re-use popular web platforms accounts (Google, Facebook, Twitter). Spring for Android is an extension of the Spring Framework that aims to simplify the development of native Android applications.

"Instant Spring for Android Starter" is a practical, hands-on guide that provides you with a number of clear step-by-step exercises, which will help you take advantage of the abstractions offered by Spring for Android with regard to REST (RestTemplate) and OAuth (OAuthTemplate). It will also introduce you to the bases of those architectures and the associated tooling.

This book gets you started using Spring for Android, first letting you know how to set up your workspace to include those libraries in your projects (with the Eclipse IDE and also with the popular building tool Maven) and then providing some clear and real life examples of RESTful and OAUth backed Android applications.

After introducing the technology, we'll discover the different Message Converters provided (to consume JSON, XML, and Atom web services) and the main HTTP verbs to interact with RESTful webservices: GET, POST, DELETE, and UPDATE. We’ll also mention how to support HTTP Basic Auth, Gzip compression, and finally put in practice the OAuth workflow with a concrete example relying on the Google OAuth service provider to authenticate and authorize an app and users.

You will learn everything you need to consume RESTful web services, authenticate your users, and interact with their social platforms profiles from your Android app.

What you will learn from this book

  • Set up your Eclipse workspace to include third party libraries (such as Spring for Android).
  • Deal with dependencies using the Android Maven Plugin.
  • Use m2e and its m2e-android connector to work with Maven based Android projects in Eclipse.
  • Create an app connecting to a RESTful web service: using JSON, XML, and Atom messages.
  • Create an app connecting to a RESTful web service: creating, deleting, updating, and retrieving data to and from this service.
  • Enable HTTP BasicAuth and Gzip compression in your RESTful client app.
  • Use the third party library Android Annotations to simplify your RESTful app code.
  • Create an app authenticating the Google OAuth service provider and allowing access to the user basic and Google+ profiles.

Approach

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.

(HTML tags aren't allowed.)

The New Commodity Trading Guide: Breakthrough Strategies for Capturing Market Profits
The New Commodity Trading Guide: Breakthrough Strategies for Capturing Market Profits

“I’ve been trading stocks and commodities for more than 30 years, and I’ve read any number of how-to books, but George Kleinman’s The New Commodity Trading Guide is as clear, precise, and useful as any book I’ve come across during my career. I cannot recommend it strongly enough, if...

Semistructured Database Design
Semistructured Database Design
The work presented in this book came about after we recognized that illdesigned semistructured databases can lead to update anomalies, and there is a strong need for algorithms and tools to help users design storage structures for semistructured data. We have been publishing papers in the design of databases for semistructured data since 1999, and...
Into The Nano Era: Moore's Law Beyond Planar Silicon CMOS (Springer Series in Materials Science)
Into The Nano Era: Moore's Law Beyond Planar Silicon CMOS (Springer Series in Materials Science)
Even as we enter the nanotechnology era, we are now encountering the 50th anniversary of the invention of the IC. Will silicon continue to be the pre-eminent material and will MooreTM’s Law continue unabated, albeit in a broader economic venue, in the nanotechnology era? This monograph addresses these issues by a re-examination of...

Beginning Linux Programming (Linux Programming Series)
Beginning Linux Programming (Linux Programming Series)
Provided you have some previous basic exposure to C and Unix, Beginning Linux Programming delivers an excellent overview of the world of Linux development with an appealing range of essential tools and APIs.

The standout feature of Beginning Linux Programming is its wide-ranging coverage of important topics in basic Unix...

Advanced English Grammar: A Linguistic Approach
Advanced English Grammar: A Linguistic Approach

With more than 50 years of teaching experience between them, Ilse Depraetere and Chad Langford present a grammar pitched precisely at advanced learners of English who need to understand how the English language really works without getting lost in the complex specifics.

Now fully updated and revised throughout, the...

Environmental Assessment of Estuarine Ecosystems: A Case Study (Environmental and Ecological Risk Assessment)
Environmental Assessment of Estuarine Ecosystems: A Case Study (Environmental and Ecological Risk Assessment)
With contributions from international experts, this reference covers all aspects of estuaries from the physiological to the economical. Using a comparative case study of two French estuaries, the text demonstrates the state-of-the-art science required to assess the estuary paradox. The two estuaries detailed here provide a full-spectrum of chemical...
©2021 LearnIT (support@pdfchm.net) - Privacy Policy