Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
86 views

I have a scenario where I need to call the Webservices from the Android Services. Currently I am starting the Services from the Activity by Intent mServiceIntent = new Intent(this, AServices.class); ...
Android Man's user avatar
0 votes
1 answer
418 views

I'm using android-async-http for rest request. When I doing post request then the response body is empty. When I use postman for the same request I received a response as JSONObject. AsyncHttpClient ...
Krzysztof Frączek's user avatar
0 votes
2 answers
2k views

I am getting some strange problem with SyncHttpClient library. It is working fine on device below android 9 but my code unable to make a rest call to URL. Here is my sample code: import com.loopj....
user565's user avatar
  • 1,011
1 vote
3 answers
744 views

In Android Studio, I've tried to implement the methods interface of AsyncTask, but it only shows method doInBackgound(). I've tried to place the cursor on the AsyncTask and then press Alt+Enter, but ...
Steve's user avatar
  • 23
3 votes
0 answers
164 views

I'm using the AsynHttpClient from LoopJ for my Android/Java app. After first block of commands, I do login call to the server. If it's ok, I call other APIs to retrieve data. For now, I'm calling ...
Erich Mönch's user avatar
1 vote
2 answers
400 views

I'm new to Android, I'm using AsyncHttpClient to call a POST API. But the API is not even being called Below is my code: AsyncHttpClient client = new AsyncHttpClient(); ...
Mohamad Mousheimish's user avatar
0 votes
1 answer
1k views

Model.py class Server(models.Model): label = models.TextField(max_length=200,null=True) #compare this upload1 = models.FileField(null=True, blank=True) Image1 = models.TextField(upload1, null=...
Muhammed Mesum's user avatar
0 votes
3 answers
1k views

I am trying to build an app, but it failed compiling. I've tried to clean project, and when I tried to rebuild project, the same error appear. I got this error from logcat: Program type already ...
Suhadak Akbar's user avatar
0 votes
0 answers
156 views

My AsyncHttpClient class is as follows. ApiHttpClient.java package virtualsystems.com.br.financial.client; import android.content.Context; import android.util.Log; import com.loopj.android.http....
v1t0rs0uz4's user avatar
1 vote
1 answer
147 views

Here is the response I get when I use search/tweets.api. {"statuses":[{"created_at":"Sun Jul 29 01:30:52 +0000 2018","id":1023380303648354304,"id_str":"1023380303648354304","text":"RT @...
Dr4ke the b4dass's user avatar
0 votes
1 answer
48 views

In my Android App, I am executing the URL for n number of times. The program loads quick when there is a less number of items in the arraylist "prefCoinList". It actually takes lot of time when the ...
iappmaker's user avatar
  • 3,005
6 votes
2 answers
5k views

I get IllegalStateException on Google-Play Console which I can not reproduce and I don't understand what is the issue. Here is the log from Google-Play Console java.lang.RuntimeException: at ...
Eliran Tutia's user avatar
1 vote
2 answers
3k views

I'm trying to call the Kraken API using retrofit. I have a working AsyncHttpClient version I want to convert to a retrofit version and I have some problem with passing POST parameters. As stated in ...
Yann39's user avatar
  • 15.9k
0 votes
1 answer
631 views

I've written a query tool which at it's heart uses this block to gather info from an external url: AsyncHttpClientConfig proxiedCF = new DefaultAsyncHttpClientConfig.Builder().setUserAgent(...
to_the_nth's user avatar
0 votes
1 answer
49 views

I am running the commands like so: new GetGameScoresFromFuhantikAPI() And my method for this is -> private class GetGameScoresFromFuhantikAPI extends AsyncTask<Void, Void, Void> { @...
letsCode's user avatar
  • 3,106
-1 votes
2 answers
154 views

HttpAsyncRequest request = new HttpAsyncRequest( MapsActivity.this, Constant.BaseUrl, HttpAsyncRequest....
Daniyal Irfan's user avatar
2 votes
1 answer
3k views

I am trying to send a file over http from android application to node.js server. However, when I receive the file it's size is 0 bytes, although i can read the file's original name. Do you have any ...
Broccoli's user avatar
  • 1,339
3 votes
1 answer
340 views

I am working on some app which as API call. while i add proxy in mobile and see response in web debugging tools. I can see my api call parameters and response too. while in others app I cant see this ...
vaibby's user avatar
  • 1,285
0 votes
1 answer
1k views

Hey I'm doing a web service login to my app, I've tried to connect to the internet, but it fails. I've used httpurl connection and at the time of execute openConnection() and getresponseCode() it ...
Criibe's user avatar
  • 11
2 votes
2 answers
596 views

I am trying to upload a video file to my server from my android app using loopj AndroidAsyncHttp library. Uploading an image gives a "Success: 200" response whereas attempting to upload a video give ...
Steve C.'s user avatar
  • 1,375
0 votes
0 answers
534 views

I am developing an Android app. The http requests are working fine with most devices, but a user with an Android 4.2.2 device can't connect to the server. What goes wrong?
Mättes's user avatar
0 votes
1 answer
2k views

In one of my application, in which I use the Loopj library, I need to send a complex object to a web-service (running on PHP). I decided to send a JSON object via HTTP POST request using Loppj example....
Schnapse's user avatar
  • 483
1 vote
2 answers
2k views

I am having error in handling the timeout exception in asynchttpclient @Override public void onFailure(int statusCode, Header[] headers, byte[] responseBody, Throwable error) { ...
rookieDeveloper's user avatar
1 vote
2 answers
2k views

Currently I am creating parameters with: RequestParams params = new RequestParams(); params.put("Param1","Value1"); And then posting like this: AsyncHttpClient client = new AsyncHttpClient(); client....
The Cook's user avatar
  • 1,443
2 votes
1 answer
562 views

I know my problem has been tackled multiple times already, but I couldn't find anything that would help me with my specific problem. I have an intent to pick a file anywhere from the system: private ...
hachel's user avatar
  • 45
0 votes
1 answer
562 views

I am new to Android programming and am having some difficulty implementing a basic version of a message sender using the Loopj library. Here is my code: package com.test.app; import android.support....
MadProgrammer's user avatar
0 votes
0 answers
372 views

Hy! I want to make some http calls to a restserver from my android client. I created a class for rest calls. I followed the http://loopj.com/android-async-http/ description: My question is that how ...
kissbudai's user avatar
0 votes
1 answer
1k views

Reading this question : POSTing JSON/XML using android-async-http (loopj) in order to post json where is the context value set ? The accepted answer uses a context value as a parameter within post ...
thepen's user avatar
  • 371
0 votes
2 answers
969 views

I am trying to draw a bitmap image on the canvas. But when doing so, I'm getting the below specified exception. 10-10 11:29:18.592: A/libc(20706): Fatal signal 11 (SIGSEGV), code 1, fault addr 0xc0 ...
AnOldSoul's user avatar
  • 4,209
0 votes
0 answers
277 views

I'm encountering a problem of loopj/android-async-http while I'm upgrading the android build configuration and android-async-http to support Android 6.0. Not sure if a problem of loopj/android-async-...
firebear's user avatar
  • 774
0 votes
1 answer
322 views

I am writing a webcrawler in Android. My code is public void parseHttp() { AsyncHttpClient client = new AsyncHttpClient(); String url = "http://stackoverflow.com/questions/38959381/...
waqas's user avatar
  • 143
0 votes
0 answers
57 views

Hello all I want to use AndroidAsyncHttp for posting data to server. for that i have 4 Parameters in header and 10 in body request i have done the following code but not working and getting null ...
Android's user avatar
  • 9,039
1 vote
0 answers
2k views

I use android-async-http in my project, and AsyncHttpClient static single instance, my code as follow step: HttpURLConnection http request; In first request success callback, use AsyncHttpClient to ...
Brant's user avatar
  • 221
0 votes
1 answer
3k views

i want upload to Spring server @RequestBody json and multipart-file(imgaefile) at ones. how do i do? Thanks for help.
최봉재's user avatar
  • 4,153
0 votes
2 answers
219 views

I am trying to send data via post method of AsyncHttpClient in json format to server, server accept this format { email : '[email protected]' password:'xxxxxx' 'username:'John Doe' 'lastname:'john'...
Matiullah Karimi's user avatar
0 votes
1 answer
141 views

I want to POST JSON in the following format and GET response. Mentioned JSON: { "success": true, "data": { "id": "234576" "name": "string" } }
Dinesh Rijal's user avatar
1 vote
0 answers
838 views

I have a problem. How to create SSL websocket client with self signed. mServer = new AsyncHttpServer(); mServer.websocket("/get", new AsyncHttpServer.WebSocketRequestCallback() { @Override ...
Myo Min Han's user avatar
  • 1,851
1 vote
2 answers
2k views

I have a log-in web API which returns true if you have successfully logged-in and false otherwise. Now I want to get that returned value which is why I have made used of this PostAsync Class calling ...
Chris Mikkelsen's user avatar
0 votes
1 answer
888 views

I using async-http library and when our server started using https, I got this error: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found How can I turn on ...
Artem's user avatar
  • 4,687
0 votes
1 answer
644 views

I have two activity A and B. In activity A I have a AsyncHttpClient fetching some data from a website. Once the data is received, I refresh the RecyclerView in activity A. But while the data is being ...
PRYM's user avatar
  • 533
0 votes
1 answer
1k views

I am a Java developer with no Android experience, and I am trying to quickly put an app together. It seems that what I would normally do in Java isn't helping. At this stage, ease of implementation ...
Dan's user avatar
  • 584
1 vote
0 answers
61 views

So i'm working on JSON,and i have an URL to get the JSON,but for some reason it says Connect to static-182-18-161-240.ctrls.in/218.93.250.18:7070 timed out public class MainActivity extends ...
Venky's user avatar
  • 2,077
1 vote
2 answers
534 views

I'm currently requesting an JsonObject via AsyncHttpClient (loopj) web request, however the request is rather slow and I need the Object to proceed. Currently the program crashes as the object being ...
Candiie's user avatar
  • 23
2 votes
0 answers
366 views

I am using google app engine as backend, and had proper ssl certificates installed/added and DNS mapping is done by CNAME configurations. Everything is working fine expect in android app. Throwing "...
Giridhar's user avatar
  • 512
0 votes
2 answers
554 views

I am new to LoopJ Android Asynchronous-Http-Client.I figured out how to GET the data from the database with my PHP web service. My ServiceHandler : public class ServiceHandler { private static ...
Amal's user avatar
  • 299
1 vote
1 answer
488 views

This should prove to be a very useful example for anyone reading this thread. I am trying to create an Async task which will take some existing place holding pictures in an ImageView and replace them ...
R M's user avatar
  • 570
0 votes
1 answer
757 views

I have tried the following link: https://stackoverflow.com/a/35465318/787399 But I never receive onSuccess callback. More: when I upload more than one file [images], then only one file gets ...
Abhinav Saxena's user avatar
1 vote
2 answers
385 views

I'm trying to send a file via Android Async Http (android-async-http:1.4.9) library, the request i'm trying to make in fiddler looks like this: Header: Content-Type: multipart/form-data; boundary=-...
Samira's user avatar
  • 884
0 votes
0 answers
344 views

I don't understand why both the methods are called simultaneously ie onSuccess and onFailure method of AsyncHttpClient. Here is the following code snippet. AsyncHttpClient client = new ...
Prashant Ninawe's user avatar
0 votes
1 answer
555 views

I am trying to upload a file using AsyncHttpClient.Below is the code : public class uploadVideoAsyncTask extends AsyncTask<String,Void,JSONObject>{ Context context; SyncHttpClient ...
Furious's user avatar
  • 483

1
2 3 4 5 6