reading whatsapp messages

I want to create an android app which reads inbox as well as whatsapp messages. I want to make a backup kind of thing. Though there is option for doing so in whatsapp. But I want to read the messages and then back them up from my app. I got to know that whatsapp stores messages in encrypted format in the file system. So can anyone please tell me how to read that encrypted file.

  • Android: Call super() at the beginning or end of onStart(), onStop(), onDestroy() in activity?
  • Change Screen Orientation - Android 3.2 on VirtualBox
  • How to grant MODIFY_PHONE_STATE permission for apps ran on Gingerbread
  • Initiating a Phonegap plugin after device restart
  • Why can't I find the official Github mobile app on the Google Play store?
  • Open Android app through deep link if it's installed or fall back to web if not installed
  • Related posts:

    What are the possible intent types for intent.setType(type)?
    Is it possible to get the resolution of a video in Android?
    View with horizontal and vertical pan/drag and pinch-zoom
    WebView Rendering Issue in Android KitKat
    How to construct a SQLite query to GROUP by ORDER?
    Android material design in Eclipse
  • Turn off predictive text for password field on websites
  • Implementing Google In-app billing - Which Google tutorial is the right one?
  • Android: how to remove an item from a listView and arrayAdapter
  • Code samples for Android Bluetooth programming
  • Set transparent background of an imageview on Android
  • Activity-Alias gets removed on app update
  • 3 Solutions collect form web for “reading whatsapp messages”

    WhatsApp makes a chat backup everyday at 4 AM on your SD Card. This is a single database encrypted with an AES key. Since it is on the external storage, your app can read it if you have access to the external storage.

    You can easily decrypt this database (there is a paper available on this online).

    However, this will only give you updated chats once every 24 hours.

    If you want more realtime updates, your device has to be rooted, and you will need a completely new parser, as on the internal storage the chats are stored in more than one database.

    1. check out what is the decryption key of whatsapp ( you have to decompile it)
    2. read that file content
    3. decrypt the content with decryption key

    Remark, with rooted phone you can have everywhere access, others maybe need JNI to do some tricks

    upvote, if helps ! 🙂

    use Whatsapp Xtract 2.0 tool to decrypt the whatsapp databases and convert it to HTML.

    Link for download & discussion on xda forum

    Android Babe is a Google Android Fan, All about Android Phones, Android Wear, Android Dev and Android Games Apps and so on.