robospice Questions

7

Solved

I am using Retrofit and Robospice to make API calls in my android application. All @POST methods work great, and so do @GET commands without any parameters in the URL, but I can't get any @GET call...
Hispaniola asked 14/11, 2013 at 10:19

1

Solved

In our project we are using com.octo.android.robospice:robospice-retrofit:1.4.14 , Which require okhttp: 1.6.0 And getstream java client io.getstream.client:stream-repo-okhttp:1.2.2', Which requi...
Peterkin asked 12/5, 2017 at 13:8

2

Solved

I've been working on the following issue for several hours, but haven't come up with a way to solve my problem. I've tried the following fixes from Stack Overflow (Android Studio update to 1.0 corr...

3

I have implemented robospice in my project and using retrofit for all api calls. For some of requests, I need to increase timeout, please let me know how can I do that? Actually I am using servic...
Abrasion asked 10/7, 2014 at 5:50

1

Solved

I use RoboSpice-Retrofit for calling my server REST api which has been working without problems until a few days ago when every single call now throws an exception, Example: D/Retrofit: java.lang....
Dock asked 15/1, 2016 at 10:53

5

Solved

I am writing an application that uses RoboSpice. In the request listener onRequestFailure( SpiceException arg0 ) is there a way to know for sure that the error was a result of a 401 HTTP Error occu...
Tragedienne asked 13/2, 2013 at 22:31

2

I am new to the Robospice/retrofit libraries. I got some samples from the github. https://github.com/octo-online/RoboSpice-samples/tree/release/robospice-sample-retrofit. My Understanding: The r...
Casework asked 23/7, 2014 at 11:50

1

I'm using RoboSpice with GsonSpringAndroidSpiceService. I also want to add Realm to save the data. the problem is that in realm each object has to extend realmObject, but the gson in the roboSpice...
Jaddo asked 7/9, 2015 at 8:38

2

Solved

Is it possible to pause a background service currently running and running it again starting from the point its execution was stopped? If not, is it at least possible to send a signal to stop the ...
Nu asked 7/8, 2015 at 7:9

0

I am having trouble with my project. I was getting this error and after applying the sugested solution I am getting this error, however the solution does not apply to me. Here is my build.gradle fi...
Thoria asked 6/8, 2015 at 13:8

2

Solved

I'm trying to read JSON array, which has the following format: [{"vehicle_id":"76","color":"red"},{"vehicle_id":"7","color":"blue"}], following Robospice's Starter Guide. Vehicle.java public clas...
Airs asked 13/9, 2013 at 18:15

3

Solved

How to execure RoboSpice requests synchronously? Is it possible? I would like to use RoboSpice in IntentService. Edit: From time to time comes the need to execute something synchronously e.g. in...
Procambium asked 23/4, 2014 at 11:36

0

I've been doing some digging lately into the REST Clients for Android. Majority of the discussions have been around Volley and Retrofit, seldom I came across comparisons between Ion, Robospice with...
Edomite asked 8/2, 2015 at 19:51

0

I am using Dagger to inject RestAdapter.Builder and I am making an OkHttpClient inside that function. The function is as follows: @Provides @Singleton @Named("JSON") public RestAdapter.Builder pro...
Cubiform asked 12/11, 2014 at 15:44

4

Solved

I need to pass the class of a generic type into a class's constructor. The class is SpiceRequest from the RoboSpice Android library for a reference to the constructor. It seems odd that the class...
Phratry asked 19/1, 2013 at 21:52

2

Solved

I am using Retrofit/Robospice to make api calls in an app I've built, with a RetrofitGsonSpiceService. All responses are converted into POJOs using a GSON converter, however there is some informati...
Insult asked 27/5, 2014 at 18:9

0

I'm using RoboSpice with Spring Android to perform REST api calls. Data need to be sent with the Content-Type set to application/x-www-form-urlencoded. Let's say I have a Pojo class like this: p...
Carr asked 25/7, 2014 at 2:12

0

We're using Robospice on Android in Scala with the ORMLite module for persistence and are having difficulties saving foreign collections to the database. The data is being received properly (i.e. w...
Chesney asked 8/7, 2014 at 22:17

1

Solved

Can anyone please suggest me a way to manage cookies in robospice retrofit type HTTP requests. I have a authentication system which has a login , a few GET HTTP requests , and a logout. During lo...
Ventura asked 27/6, 2014 at 18:2

1

Solved

I am Trying to understand RoboSpice Library in android I saw the online Documentation here What i tried:: I have previously studying on using Spring Library,also Retrofit, AsyncHttp etc I u...
Neoplasty asked 15/4, 2014 at 14:43

1

Solved

Here's the case I'm trying to handle, If a request is executed, and the response indicates the auth token is expired, send a refresh token request if the refresh token request succeeds, retry the...
Ravishing asked 25/2, 2014 at 12:58

2

Solved

I used RoboSpice library to do asynchronous tasks. From their examples, the spice service is declared in BaseActivity, it starts in activity's onStart method, and stops in activity's onStop. Everyt...
Malchus asked 8/11, 2013 at 15:20

2

Solved

I'm looking for a technical answer to how the android robospice library manages activity lifecycle. From the getting started page: https://github.com/octo-online/robospice/wiki/Starter-Guide "As ...
Myna asked 25/9, 2013 at 17:12

2

Solved

I've successfully created a Retrofit API Rest client making both GET & POST calls and also incorporated that into Robospice as a background service. However, I want the Robospice service to co...
Exemplify asked 25/9, 2013 at 22:25

1

Solved

I am using RoboSpice to access some rest services I developed using resteasy. I'm returning a JSON object when everything is ok and in the case of an exception I'm returning an http error code and ...
Fairlead asked 22/6, 2013 at 19:31

© 2022 - 2024 — McMap. All rights reserved.