Asynchronous networking and image loading library for Android. Use with the [android] tag
Questions tagged [android-ion]
179 questions
0
votes
3 answers
Is it an Android library for loading images and get the http-status?
I have an app where I use the library Ion (https://github.com/koush/ion). The problem is I realized that I need to get the http-status when the loading fails.
I have a rest-service returning different status depending on what went wrong, and need…

David Berg
- 1,958
- 1
- 21
- 37
0
votes
1 answer
How to sniff Ion library request to rest server
I'm using Fiddler2 for checking and sniffing my apps request to rest server, It's work perfectly.
But in my last app I'm using Ion Library for Asynchronous Networking and Image Loading. When I create any request ( as POST -or- GET ), I can't monitor…

MAY3AM
- 1,182
- 3
- 17
- 42
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
koush/ion getting json in in textview
I'm trying to understand Koushi-ion's code so that i can get json data from website and input it into a listview. for now i am testing it with just a textview.
@Override
protected void onCreate(Bundle savedInstanceState) {
// TODO…

crushman
- 1,023
- 9
- 21
-1
votes
1 answer
Loading using Ion Library returning null JsonObject result
I had built an Android app a few months back, in which one fragment was used to display news using News API.
Recently, when I ran the app again, the following error is occurring.
I am attaching the code snippet where the error is…

kushagra kumar
- 1
- 2
-1
votes
1 answer
How can i dynamically change my TextView?
All the methods are invoked in MainActivity.
In my app i'm getting an HTML page from ion library and i have some methods for format the text i've downloaded with ion.
That what i'm trying to do is to set variable DoveSono in a TextView, actually at…

John K
- 371
- 5
- 26
-1
votes
2 answers
How to use Gson to parse JSON file that contains arrays
I am trying to read a JSON file from this URL using ion, a library for Android, and Gson.
The JSON file in its current state:
{
"Excited":["https://github.com/vedantroy/image-test/raw/master/Happy/excited1.gif",
…

Foobar
- 7,458
- 16
- 81
- 161
-1
votes
1 answer
Android null object reference on JsonArray.toString() using ion-koush
im working on a website and android app. im using the koush/ion library im now struggling with this problem wherein the json is null, i have confirmed this with
System.out.print(result);
i am currently testing this code out to learn how…

Raymond Manauis
- 3
- 4
-1
votes
1 answer
How to send the array of string and json array in android ion library?
I am facing the issue in passing the JSON array in ion library. How can I send the send the two JSON arrays and the JSON objects in the ion library.
In the below code how can I pass the json array into the ion library.
JsonObject jsonObject = new…

Prabha Karan
- 1,309
- 3
- 17
- 35
-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
votes
1 answer
It is impossible to parse json (Ion)
I use my library Projects enter link description here
The author gives an example:
public static class Tweet {
public String id;
public String text;
public String photo;
}
public void getTweets() throws Exception {
…

Valera Valerianov
- 247
- 1
- 3
- 14
-2
votes
2 answers
Map Android memory to GraphicBuffer with zero-copy
I'm writing an Android application in C++, and want to get a GraphicBuffer from a block of memory that contains a YUV420sp image. Specifically, I have an IMemory from the camera's dataCallbackTimestamp callback function that gives me a block of…

capitalr
- 9
- 3
-3
votes
1 answer
koushikdutta Ion Frame in Android L have a bug
koushikdutta Ion Frame in Android L have a bug.
eg: when app have many times On/off ,it have let app die
this is Log:
**java.lang.Error java.io.IOEception:File descritor closed
Caused by:java.io.IOException:File descriptor closed
at…

WTree
- 103
- 1
- 3
-4
votes
1 answer
Uploading a File shows Null using ion library
I am trying to upload a PDF file to server but am getting a Null toast according to my method , i tested the file path in a TextView is visible but when it comes to uplaoding it seems not seeing the PDF file , am using ion library. Below is my code…

Lutaaya Huzaifah Idris
- 3,596
- 8
- 38
- 77