Skip to content

Inventory client library written in Java for developing applications on Android

License

Notifications You must be signed in to change notification settings

glpi-project/android-inventory-library

Repository files navigation

Inventory Library for Android

GLPI Android Inventory banner

License License: CC BY 4.0 Follow twitter Telegram Group Project Status: Active Conventional Commits Greenkeeper badge GitHub release GitHub build

GLPI Android Inventory Library is an android inventory library written in Java

Table of contents

Synopsis

The Inventory Library for Android collects a complete inventory of your Android devices. It allows you to export your inventory in a beautiful XML or JSON as protocol compatible GLPI Native Inventory.

You can find more information about the GLPI Native Inventory Protocol here: https://github.com/glpi-project/inventory_format

Data collected

  • Account Info
  • Accesslog
  • Hardware
  • User
  • Storages
  • Operating System
  • BIOS
  • Memories
  • Inputs
  • Sensors
  • Drives
  • CPUs
  • Videos
  • Cameras
  • Networks
  • Environments variables
  • JVMS
  • Softwares
  • USB
  • Battery
  • Controllers

Installation

Download the latest JAR or AAR and include it in your Android project as an external library

Code Example

It's easy to implement in your code, as you can see in the following examples

Java

InventoryTask inventoryTask = new InventoryTask(MainActivity.this, "Agent_v1.0", new InventoryTask.OnTaskCompleted() {
  @Override
  public void onTaskCompleted(String data) {
    Log.d("XML", data);
  }
});

inventoryTask.execute();

Kotlin

val inventoryTask = InventoryTask(this@MainActivity, "Agent_v1.0", object : InventoryTask.OnTaskCompleted() {
    override fun onTaskCompleted(data: String) {
        Log.d("XML", data)
    }
})

inventoryTask.execute()

Versioning

In order to provide transparency on our release cycle and to maintain backward compatibility, GLPI Android Inventory Library is maintained under the Semantic Versioning guidelines. We are committed to following and complying with the rules, the best we can.

See the tags section of our GitHub project for changelogs for each release version of Flyve MDM. Release announcement posts on the official Teclib' blog contain summaries of the most noteworthy changes made in each release.

Contribute

Want to file a bug, contribute some code, or improve documentation? Excellent! Read up on our guidelines for contributing and then check out one of our issues in the Issues Dashboard.

GLPI Network - Professional support

You want to report a bug (and get a fix quickly) or do you need a guarantee for Android Inventory Library?

You can subscribe to our professional support GLPI Network here.

This subscription includes a guarantee through a service level contract between your company and our team in charge of GLPI development (core, supported plugins and GLPI Agent) as well as exclusive features and services.

Copying

  • Name: Flyve MDM is a registered trademark of Teclib'.
  • Code: you can redistribute it and/or modify it under the terms of the GNU General Public License (GPLv3).
  • Documentation: released under Attribution 4.0 International (CC BY 4.0).