Questions tagged [android-ion]

Asynchronous networking and image loading library for Android. Use with the [android] tag

179 questions
1
vote
1 answer

Connection closed before request completed - Android ION

(113 ms) https://usermap.cvut.cz/photos/simekada: Connection error E/MyLogs ( 4650): connection closed before response completed. E/MyLogs ( 4650): java.lang.Exception: connection closed before response completed. E/MyLogs ( 4650): at…
simekadam
  • 7,334
  • 11
  • 56
  • 79
0
votes
0 answers

Ionic Datetime has different layout and hides dates and buttons

I am using ion-datetime, however the layout it's completely wrong (image below). In fact, for some reason it hides the current date selected and do not show the default "cancel" and "done" buttons (but they still work somehow). DateTime element The…
Luca_27
  • 1
  • 3
0
votes
0 answers

Not able to upload Cordova camera image with Post API in ionic Angular

I'm clicked image successfully by ionic Cordova Native Camera but not able to upload on server (post API) please help me to solve this problem. as soon as possible. this is my code. captureImage() { Const options: Camera Options = { …
0
votes
0 answers

How to Secure Redis on Pionion Server

I want to secure Redis on Pionion server. I tried to secure it using (--requirepass) command but it didn't work as expected. My current docker-compose.yml file. redis: image: redis:6.0.9 command: --requirepass "password" ports: …
0
votes
1 answer

how to get all values added to recyclerview and send it to ion lib

so im trying to get recyclerview data list added and send it to ion lib when i use method below i only get one element as ill have to change string inside for() to String fav =null ouside of for() and log.d only shows the last result. i need get all…
0
votes
0 answers

How can I make a search in sql php android using Ion?

I am doing a project trying from data froma spinner make a database search but it keeps giving me nullPointer Exception even thow my php script is working. I have seen the JSONArray onine and it shows exactly what it's supposed to so I don't really…
Goncalo
  • 1
  • 1
0
votes
1 answer

Android ION post request failing

I've tried to make a POST request using ION as showcased here but I'm getting the following errors. 2020-11-30 14:08:37.353 8610-8651/com.example.test_app E/AndroidRuntime: FATAL EXCEPTION: ion-ion Process: com.example.test_app, PID:…
GP2Dev
  • 21
  • 3
0
votes
1 answer

How to handle future in ion library?

I've been working with ion library and I've stored the value returned ( as a string ) in the future variable, but I don't know how to show the results or retrieve it. Here's my code. public Future getCars(){ future = …
Red John
  • 105
  • 3
  • 11
0
votes
1 answer

How can i return global variable from ion?

I have some problems with getting data from ion. I need to get variable from function and i know that this function ion is performed separately from the main stream. How can i get this data? Maybe i need to wait while function doesn't completed,…
DamirKH
  • 1
  • 1
0
votes
2 answers

RecyclerView Elements repeating when i use ion library to load images

I am using ion library to load images in recyclerview. But i am facing with a problem. RecyclerView is repeating items. When the image is not loaded in new item it shows previously loaded images. I need to show ProgressBar if image is not loaded.…
0
votes
1 answer

I keep getting random variatons of the same two errors when downloading files in Android Studio through Ion

I am new to programming in Android Studio and I keep running into problems with asynchronous downloading (at least, that is where I think the problem is). I am trying to make an app that will display every new comic by a given publisher for a given…
Levyaton
  • 29
  • 5
0
votes
2 answers

How to find why image fails to upload when using Volley?

I have tried many ways to upload an image to my node server but none of them worked. Finally, I came across the Ion library (https://github.com/koush/ion) to upload images but this is also not working. It reaches onCompleteListener but the image is…
Sonu Sourav
  • 2,926
  • 2
  • 12
  • 25
0
votes
0 answers

How to use Ion library within a service?

I'm trying to make my Android app download some files from internet and I'm using a service to do this task with the help of Ion lib, but I need to provide a context: Ion.with(context)... How can I do that?
0
votes
1 answer

DMAReadCached in libion failing when testing the ION Driver

I am trying to test the ION Driver in linux 4.4.60. I am testing in 32 bit kernel. This particular test case "DMAReadCached" in tests/device_test.cpp (part of LIBION) is failing. Details on DMAReadCached: (This fails) This is a test case where…
0
votes
0 answers

Opening more than one file descriptor to /dev/ion

This article states: A user space C/C++ program must have been granted access to the /dev/ion device before it can allocate memory from ION. A call to open("/dev/ion", O_RDONLY) returns a file descriptor as a handle representing an ION client. Yes,…
dv_
  • 1,247
  • 10
  • 13