I am creating an app that user can communication with other friends (IM app, send message, card, ...), so user have provide user's profile like id, name, avatar.
My question is: what is the best way to save friend's avatar to make local contact list for my app?
I created a local database for saving contact information, synchronize with a remote database on my server. In my app, can I save avatars into:
(1) SQLite database?
(3) App cache?
Android Contacts app use Contacts Storage to store contact's avatar, I dont know what implemented inside.
I saw other apps like Whatsapp, wechat, line, zalo, ... do not save avatars on SDcard, so where are avatars when contact list has many contacts (>100).
Hope you can help, thanks.