Skip to content

Library provides all available device information without asking for permissions

Notifications You must be signed in to change notification settings

kavapps/phone_info

Repository files navigation

Phone Info

Library provides all available device information without asking for permissions

Installation

  • Gradle Add it in your root build.gradle at the end of repositories:
    allprojects {
    	repositories {
    		...
    		maven { url 'https://jitpack.io' }
    	}
    }
    
    add the dependency
    dependencies {
            implementation 'com.github.kavapps:phone_info:v1.0.0'
    }
    
  • More ways to add it

Usage

    PhoneInfo phoneInfo = new PhoneInfo(this);
    

Methods

    getBaseInfo()
    
    • getBrand()
    • getAndroidVersion()
    • getIncrementalVersion()
    • getManufacturer()
    • getModel()
    • getSdkVersion()
    getRamInfo()
    • getTotalRam()
    • getFreeRam()
    getDisplayInfo()
    • getDensityDpi()
    • getHeightPixels()
    • getWidthPixelsPixels()
    • getScaledDensity()
    • getXdpi()
    • getYdpi()
    getBatteryInfo()
    • getCapacity()
    • getChargingInPercent()
    • getHealth()
    • getStatus()
    • getTechnology()
    • getTemperature()
    • getVoltage()
    • getCapacity()
    getSimInfo()
    • getCallState()
    • getDataActivity()
    • getDataState()
    • getNetworkCountryIso()
    • getNetworkOperatorName()
    • getPhoneType()
    • getSimOperator()
    • getSimOperatorName()
    • isNetworkRoaming()
    • getCallState()
    • getSimState()
    getProcessorInfo()
    • getName()
    • getCountKernel()

About

Library provides all available device information without asking for permissions

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages