This does not exactly answer my question, but so far, this is the most that I have been able to get.
- WhatsApp stores a backup of all conversations in the SD Card. It can be accessed by doing the following:
- Install a File Manager such as Astro File Manager, on BlueStacks
- Navigate to
sdcard/WhatsApp/Databases/
- The message history backups are stored here. Click down on the file
msgstore.db.crypt
, select Copy from the options that come up. Navigate to/sdcard/bstfolder/bstSharedFolder/
and paste the file. - This file can now be accessed on the PC by navigating to
C:/ProgramData/BlueStacks/UserData/SharedFolder
.
- Now the messages can be accessed by decrypting the databases (this link tells you how)
- The generated HTML contains a table of users (no user names in my case though - but maybe because I hadn't saved the contacts with a name on the emulator), their statuses (though in my case, even when some contacts had statuses, it did not show up), last message times and message histories.
I still haven't been able to find a way to programmatically get last seen timestamps or statuses. :(