How to save user's avatar

Put your problem here if it does not fit any of the other categories.

How to save user's avatar

Postby quocnhat7 » Mon Jul 22, 2013 5:37 am

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.
Posts: 3
Joined: Fri Nov 04, 2011 4:39 pm


Return to Other Coding-Problems

Who is online

Users browsing this forum: No registered users and 7 guests