Store chat log for individual users in SharedPreferences
So say for example your contact list has a user called Billy
SharedPreferences opens "chatDocs", then retrieves/writes the chat log associated to the user ID of Billy whenever you get a new message