Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4362: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4364: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4365: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4366: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
anddev.org • View topic - How to save user's avatar

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

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: Google [Bot] and 13 guests