EasyDataAnalyzer

Additional

Language
Java
Version
1.0 (Jul 14, 2016)
Created
Jul 15, 2016
Updated
Nov 6, 2016 (Retired)
Owner
Nikhil Bhutani (NikhilBhutani)
Contributor
Nikhil Bhutani (NikhilBhutani)
1
Activity
Badge
Generate
Download
Source code
APK file

Advertisement

EasyDataAnalyzer

As the name suggest, this Android library analyzes the network data information for any app in an android device. ###NOTE : won't work from nougat and above due to security reasons.

Featured in

Show some ❤️

Screenshot of sample app

Including in your project

EasyDataAnalyzer is available in the MavenCentral to add as a dependency

  • Add this to your root build.gradle file
 allprojects {
        repositories {
            ...
            maven { url "https://jitpack.io" }
        }
    }
  • Add this to your app's build.gradle file
compile 'com.github.NikhilBhutani:EasyDataAnalyzer:1.0'

Usage Docs/Wiki

-Instantiate the class.

DataAnalyzer dataAnalyzer = new DataAnalyzer(this);
  • Get the Installed Application list
ArrayList<ApplicationInfo> package_name = (ArrayList<ApplicationInfo>) dataAnalyzer.getApplicationMeta();
  • Get Appname by passing a package name
dataAnalyzer.getAppName(package_name)
  • Get Data Received(bytes) by your app by package name
dataAnalyzer.getReceivedData(package_name)
  • Get Data Transmitted(bytes) by app
dataAnalyzer.getDataTransmitted(package_name) 
  • Get Packets Received(bytes)
dataAnalyzer.getPacketsReceived(package_name)
  • Get Packets Transmitted(bytes)
dataAnalyzer.getPacketsTransmitted(package_name)

License

Copyright 2016 Nikhil Bhutani

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.