Skip to content

Lightweight android library which contains common utilities function. Written in Kotlin

Notifications You must be signed in to change notification settings

giovankabisano/AndroidUtilities

Repository files navigation

Android Utilities SDK

A lightweight and easy-to-use library that allows developers to retrieve essential information about the user's device, including brand, model, manufacturer, and more. Minimum Android SDK = 21

Getting started

Add Jitpack IO to your project

Go to settings.gradle.kts (for project with Kotlin DSL) or build.gradle in project level (for project with Groovy) and add jitpack as maven URL.

Gradle with Kotlin Project

dependencyResolutionManagement {
    repositories {
        maven { setUrl("https://jitpack.io") }
    }
}

or, Gradle with Groovy Project

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

Import our library

implementation 'com.github.giovankabisano:AndroidUtilities:1.0.4'

Features

Basic Device Information

Model

import com.giovankov.deviceInformation.model
val x = model() 
print(x) //m2012k11ag

Manufacturer

import com.giovankov.deviceInformation.manufacturer
val x = manufacturer()
print(x) //Xiaomi

Brand

import com.giovankov.deviceInformation.brand
val x = brand()
print(x) //POCO

Internet Connection Checking

Coming soon in version 1.1.0

About

Lightweight android library which contains common utilities function. Written in Kotlin

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages