Asynchronous networking and image loading library for Android. Use with the [android] tag
Questions tagged [android-ion]
179 questions
4
votes
2 answers
Android koush/ion lib unable to post and receive JSON response
I am using ION to GET/POST for REST and also to get Images into ListView
but I am unable to use POST method and receive response as a JSON
The ION version that I am using is 1.3.7. Tested on emulator and also on real devices 4.1.1, 4.2.2 and 4.4…

Rinav
- 2,527
- 8
- 33
- 55
4
votes
1 answer
Android - ION caches result
I'm currently writing a small app that shows the current song playing in my local pub by downloading the last.fm-generated XML-file.
The problem I have is the following: when syncing with the xml online it doesn't get the new version, but instead…

Dennie
- 743
- 2
- 13
- 30
3
votes
1 answer
DownloadManager vs InputStream.read()
I have 2 simple implementation of DownloadManager and custom download task:
DownloadManager
public void onCreate(Bundle savedInstanceState) {
...
mDownloadManager = (DownloadManager) getSystemService(Context.DOWNLOAD_SERVICE);
}
private void…

Siarhei
- 2,358
- 3
- 27
- 63
3
votes
3 answers
Circle ImageView using Ion
iam using Ion https://github.com/koush/ion
to load images in my app
i need some of the images to be circled using Transform
but i get some CRASHES in google i want to get off this bug for ever.
how could i get off it
this is my class
public…

Jehad
- 472
- 2
- 10
- 24
3
votes
1 answer
progress dialogue not showing with the library koush/ion
This is my code. The problem is the progress dialogue is not showing, so the default text on the text view is showing and after some time the URL content is loaded into it. How can I fix this?
tv = (TextView) findViewById(R.id.textView1);
pd = new…

Ameen Maheen
- 2,719
- 1
- 28
- 28
3
votes
1 answer
How do i get ion library to trust self signed certificates
I am trying to connect to REST Service that has to use self signed certificates (it's a Unify PBXs Web Services Interface). The System will regenerate it's Certificates on Software updates and unless you load a certificate into the system there will…

Jonas Köritz
- 2,606
- 21
- 33
2
votes
0 answers
UrlImageViewHelper - koush/ion how to install in xamarin?
Hi guys I was following a book about creating Xamarin.Android Apps, there is a reference to UrlImageViewHelper, now it seems the project is deprecated in favor of ion, but the latter it's a gradle dependency for android native apps, how to use it…

David Noreña
- 3,951
- 1
- 28
- 43
2
votes
1 answer
how to send body parameter with multipart file upload request usin ion library?
This is the first time ever I am using multi part request to upload data on the server.I am using ion for service hit can you please let me know how can I post my data on the server?
This is my request parameter
jSON Request:
{s_id
note_name
…

Tulika Kansal
- 57
- 1
- 8
2
votes
2 answers
Ion son unable to parse Json from localhost
Im having trouble with a piece of code in android studio that has been working reliably for weeks.
Anytime i try to receive Json via localhost (for debugging in the emulator or on my device and connecting over wifi) i get the error…

vitamike
- 123
- 1
- 15
2
votes
0 answers
display gif using ION Library
I am trying to display gif images using ION Library
but it is not working well that is it takes long time to show the animation and the animation of image is not working continuously , the animation plays for few seconds and then stops for some…

techbrainless
- 129
- 2
- 12
2
votes
2 answers
Can't load images from external storage in M preview
I have an app that stores it's images on the external storage. This have been working great up until I tried the new M preview.
I use picasso (I even tried Ion) to load the images and I get the images with the "file:///mnt/sdcard/appname/image1.jpg"…

Jonathan Andersson
- 1,057
- 1
- 10
- 19
2
votes
1 answer
Android koush ion library catch 401 error
I'm using Koush Ion on Android to handle net operations.
I'd like to add a common handler to handle 401 unauthorized error.
How i can do it?
thank you

Premier
- 4,160
- 6
- 44
- 58
2
votes
1 answer
ion - current image as placeholder
I use com.koushikdutta.ion.Ion for download image to ImageView:
void ChangeImage()
{
Ion.with(imageView).error(R.drawable.request_error).load(nextHttpUrl);
}
When begins loading next image, the current image disappears and while the next request…

Alexey Kiryushkin
- 21
- 2
2
votes
0 answers
Ion crashes NoClassDefFoundError and IllegalArgumentException
I am getting these crashes in my app using Ion ImageLoader to load images in the app
the first issue i really dont what is causing this
java.lang.NoClassDefFoundError: com.koushikdutta.ion.IonRequestBuilder$6
at…

Jehad
- 472
- 2
- 10
- 24
2
votes
1 answer
How to use Robobinding with async image loading?
How can i use Robobinding's AdapterView together with dynamic image loader , like ion or picasso ?
I'm getting a list of locations from a REST-Service, where one of the properties is an url to an image which i want to show in my view.
This is what i…

deelde
- 1,540
- 13
- 23