Questions tagged [spring-android]

Spring for Android is a framework that is designed to provide components of the Spring family of projects for use in Android apps.

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.

Features:

  • A Rest Client for Android
  • Auth support for accessing secure APIs

More Information:

Getting Started Guides:

Related Tags:

67 questions
0
votes
2 answers

Spring for Android - Could not extract response: no suitable HttpMessageConverter found for response type

I'm trying to retrieve some data from a REST service using spring for Android. However I'm running into problems. I'm also using Robospice - and as such have a method like so: public FunkyThingsList loadDataFromNetwork() throws Exception { …
Chris Nevill
  • 5,922
  • 11
  • 44
  • 79
0
votes
2 answers

Spring for Android Build Failing when Including spring-social-twitter

On Android Studio 0.8.2, I am trying to create an app that integrates with Twitter using Spring. Had innumerable build problems until I created a blank activity that I'm just using the test my Gradle build. Every time I try to connect to…
0
votes
2 answers

Handling POST requests with Android Annotations

I am trying to consume a RESTful API using AA. My API receives email and password request parameters (not JSON!) and returns an APIKey (which I use Jackson2 to deserialize). Ideally, I want to use a regular old Map to send the email…
0
votes
1 answer

How to use spring in Android Application?

I am trying to use spring in my android app as client of my spring mvc REST application. I think I have a problem to put correct jars in classpath of my android app. I put the image of jars in libs folder of my android app. I found many related…
gabby
  • 629
  • 2
  • 11
  • 34
0
votes
1 answer

spring android resttemplate encoding url

I use Spring android RestTemplate to execute GET request to Youtube API like this: // build rest template RestTemplate restTemplate = new RestTemplate(); GsonHttpMessageConverter jsonConverter = new…
ductran
  • 10,043
  • 19
  • 82
  • 165
0
votes
1 answer

Spring Android Twitter Callback URL

I need to implement an OAuth login in my Android application using the Twitter API. I found a great project on GitHub (spring-android-samples) with a very good example, but I have a problem with respect to the parameter "Callback URL". When I…
falvojr
  • 3,060
  • 4
  • 31
  • 54
0
votes
1 answer

Android RestTemplate exchange() throws HttpClientErrorException: 401 Unauthorized

I am trying to connect to a RESTful web service from an Android client. However, I always get a HttpClientErrorException: 401 Unauthorized even if provide the correct authorization token in the request header. The url provided is correct. I have…
razvan
  • 1
  • 3
1 2 3 4
5