I'm trying to figure out how can i make a byte array from an image (or ImageView if you prefer) taken from PicturesService
gluon plugin methods, to save it to my db, and then using that byte array to reconvert that byte array into an image to display it on the GUI when i need it.
I've already seen this similar question:
SwingFXUtils shows NoClassFoundError
But this is not my case.
Can anybody help me?
Thanks in advance
EDIT
I also checked the SO questione Jose Pereda posted in comments:
getPublicStorage("Pictures") lists no files
But now i have an outOfMemoryException on android. How can i do this avoiding outOfMemoryException?