2

My Question is about the way Whatsapp saves the conversation in the time we chat, so , if I close whatsapp, and open it, my last conversations and messages that not yet backed up appear... even if I send a letter (one character), and close the application and the open it, I will find this letter!! Where does whatsapp saves these conversations. and restore them...

We don't talk about the DB backups.

EsmaeelQash
  • 488
  • 2
  • 6
  • 20
  • You might find this useful: http://stackoverflow.com/questions/151777/saving-activity-state-in-android – Yuval Dec 23 '13 at 09:10

2 Answers2

6

Whats app stores the conversation in the database, that is in the phonememory(Only rooted phones can access that).

Here is the structure of the latest whats app Database:

  • messages
  • sqlite_sequence
  • chat_list
    enter image description here

However, it takes a backup at 4am everyday and saves it as a db.crypt# file in the sd card. There are ways to access that though, here is one : https://stackoverflow.com/a/23380177/2219600

Community
  • 1
  • 1
amalBit
  • 12,041
  • 6
  • 77
  • 94
1

they maybe using SharedPreferences, and after a certain file size is reached, they might replace the preference.

Rakeeb Rajbhandari
  • 5,043
  • 6
  • 43
  • 74