Giter VIP home page Giter VIP logo

momomanager's Introduction

momomanager

Quick links

Overview

Easily read mobile money transaction records and detect Momo fraud messages. Currently working on mtn mobile money

The app allows you to know your current balance, the total amount you have received so far and the total amount you have spent.

It groups your transaction into categories

  • Received transactions
  • Sent Transactions
  • Airtime Transactions
  • It detect incoming SMS to verify if it is a legit Mobile Money message

App Screenshot

All transactions Received Transaction sent transaction Airtime transaction

current balance and all time Money received and spent

Get to know your current balance and the total amount you have spent and received thus far

Detect fraud Momo messages

detect whether incoming mobile money message is legit and alert you. The app only show Momo transactions from the network operator if its not from the operator is not shown

All Transactions

At this section you get to see all your transactions beautifully differentiated with colors

Received Transactions

This category shows all mobile money transaction you have received so far. you easily read the amount, the transaction ID and the date it was received

Spent Transactions

This category shows all mobile money transaction you have sent from your device so far. you easily read the amount, the transaction ID and the date it was sent

Airtime Transactions

At this category you will know the amount you are spending on airtime

How to use the library

Step 1. Add it in your root build.gradle at the end of repositories:

allprojects {
	repositories {
		...
		maven { url 'https://jitpack.io' }
	}
}

Step 2. Add the dependency

dependencies {
    ...
    implementation 'com.github.Zakaria16.momomanager:momomanager:VERSION_NAME'
}

Using the library

first allow sms read permission and receive permision(if you want to analyze incoming sms)

in the app's AndroidManifest.xml

...

<uses-permission android:name="android.permission.READ_SMS" />
<uses-permission android:name="android.permission.RECEIVE_SMS" />

...

Example on how to read momo data:

MtnMomoManager mtnMomoManager = new MtnMomoManager(context);
//get the sum of all received momo amount
double receivedAmount = mtnMomoManager.getTotalReceivedAmount();
//get the sum of all sent momo amount
double totalSent = mtnMomoManager.getTotalSentAmount();
//get the current momo balance
double currentBalance = mtnMomoManager.getLatestBalance();

List<Momo> resList;
//list of all momo data
resList = mtnMomoManager.getMomoData(ExtractMtnMomoInfo.ALL_MOMO);
//list of all received momo data
resList = mtnMomoManager.getMomoData(ExtractMtnMomoInfo.RECEIVED_MOMO);
//list of all sent momo data
resList = mtnMomoManager.getMomoData(ExtractMtnMomoInfo.SENT_MOMO);

//list of all momo used to buy airtime
resList = mtnMomoManager.getMomoData(ExtractMtnMomoInfo.CREDIT_MOMO);

Read the API Documentation here: API Doc

momomanager's People

Contributors

zakaria16 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.