Skip to content
This repository has been archived by the owner on Oct 26, 2022. It is now read-only.

jberkel/whassup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

whassup

Build Status

nothin. watching the game, decryptin' some messages. true.

Provides access to WhatsApp messages stored on your Android phone, provided that automatic backups are enabled in the settings. For information about WhatsApp's "security" see the WhatsApp Database Encryption Report.

usage

Install to your local maven repository (it has not been published yet).

$ git clone https://github.com/jberkel/whassup.git
$ cd whassup && mvn install

Add a maven dependency in your main project:

<dependency>
    <groupId>com.github.jberkel.whassup</groupId>
    <artifactId>library</artifactId>
    <version>0.0.4-SNAPSHOT</version>
</dependency>

Use it in your app:

import com.github.jberkel.whassup.Whassup;
import com.github.jberkel.whassup.model.WhatsAppMessage;

public void fetchMessages() {
    Whassup whassup = new Whassup();
    try {
        List<WhatsAppMessage> messages = whassup.getMessages();
        Log.d(TAG, "got " + messages);
    } catch (IOException e) {
        Log.e(TAG, "error getting messages", e);
    }
  }

Check ExampleActivity for a more complete example.

##License

This application is released under the terms of the Apache License, Version 2.0.