Nhat Nguyen
- Forum posts: 5
Jul 22, 2013, 6:35:01 AM via Website
Jul 22, 2013 6:35:01 AM via Website
Hi all,
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?
(2) SDcard?
(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.
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?
(2) SDcard?
(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.
Recommended editorial content
With your consent, external content is loaded here.
By clicking on the button above, you agree that external content may be displayed to you. Personal data may be transmitted to third-party providers in the process. You can find more information about this in our Privacy Policy.