Questions tagged [ion-koush]

Ion is a networking library for Android by Koushik Dutta.

Ion

Ion is a networking library for Android by Koushik Dutta.

Features

Usage

Usage and more information can be found in the original repository: https://github.com/koush/ion

39 questions
0
votes
0 answers

Android koush/ion post request being blocked by firewall

I'm using koush/ion library to send post request to my server. It works using my home wifi, my friend's wifi, mobile data, and other's mobile data except for the office wifi. It returns null and I've been wondering why. I somehow manage to print the…
0
votes
2 answers

how to handle multiple request's response in ION and Volley

i am working with instagram API in that i have use ion lib for API request my question is how to handle multiple request's response using my code like this public class UserProfileActivity extends AppCompatActivity implements FutureCallback { …
MilapTank
  • 9,988
  • 7
  • 38
  • 53
0
votes
1 answer

Ion POST as url parameters and not JSON body Android

I want to POST to my server API using parameters instead of JSON body. I can implement this: JsonObject json = new JsonObject(); json.addProperty("u_id", "XXX"); json.addProperty("emp_id", "XXX"); …
Abhishek Dey
  • 1,601
  • 1
  • 15
  • 38
0
votes
2 answers

Retrieve and parse JSON from multiple URLs and add to listview

I started learning android a week ago and decided to write a simple android application for a website bhooka.in. I used koush/ion api to retrieve json data from the url. Here's the problem - I have a single JSON file, containing multiple JSON URLs.…
technusm1
  • 503
  • 5
  • 14
0
votes
3 answers

Resizing image to fill width of screen

I am trying to set an Image that I am downloading from the web. I am using a library to help me do this called ion. The problem is that I need to resize the image to fit my screen and keep the aspect ration. The height seems to be working fine…
0
votes
2 answers

Ion-koush - Error when i want to get JsonArray

I'm going to use Ion library in my project. An api that I'm using is like this: API link I wrote this based on ion-sample twitter: Future VideoLoad; private void load(){ String MostWatched_Url =…
MAY3AM
  • 1,182
  • 3
  • 17
  • 42
0
votes
1 answer

Using Ion write(outputStream)

I'm not understanding how the write(outputStream) method is supposed to be used in Ion. My goal is to get an InputStream that I can feed directly into Jackson like so: Response response = Ion.with(context,…
Shane
  • 1,071
  • 6
  • 7
-1
votes
1 answer

Koush Ion onCompleted callback - handle CancellationException

I am following an example of the popular Ion library that Koush created: Download a File with a progress bar and I can see from one of his samples that it is possible to send a cancellation using downloading.cancel(). NB: downloading was declared as…
WizzKidd
  • 196
  • 8
-1
votes
1 answer

May I use Koush/ion in a commercial Project?

I try to figure out if I am allowed to use the koush/ion lib in a commercial project and if using is for free (I am only using the "imageload to list view"-part)? Does any one know about this issue? In order to avoid missunderstandings.....I don't…
new Android
  • 27
  • 1
  • 6
1 2
3