I'm coding an Android app and in user signup he can select a image to be set in his profile. One of the feature is select friends by contact list where has a picture, name and others information about the contact. I'm using Json as result set of my request and it returns me an arraylist of users.
I don't know what's the best practice for it, do I have to upload the Base64 String to server, decode it to an image file and store it in directory and when request comes I send an URL image or do I have to send Base64 String to a database field end when request come I return the ArrayList
and decode these String to a image file and load it inside my ImageView
?
Can someone help me understand the difference of theses two ways?