An open API service indexing awesome lists of open source software.

https://github.com/glpi-project/android-inventory-library

Inventory client library written in Java for developing applications on Android
https://github.com/glpi-project/android-inventory-library

android-inventory library

Last synced: 12 days ago
JSON representation

Inventory client library written in Java for developing applications on Android

Awesome Lists containing this project

README

        

# Inventory Library for Android

![GLPI Android Inventory banner](https://github.com/glpi-project/android-inventory-library/assets/7335054/7d82c661-bb74-40dd-ac1f-8f42f0e8542b)

[![License](https://img.shields.io/github/license/glpi-project/android-inventory-library.svg?&label=License)](https://github.com/glpi-project/android-inventory-library/blob/develop/LICENSE.md)
[![License: CC BY 4.0](https://img.shields.io/badge/License-CC%20BY%204.0-lightgrey.svg)](https://creativecommons.org/licenses/by/4.0/)
[![Follow twitter](https://img.shields.io/twitter/follow/Teclib.svg?style=social&label=Twitter&style=flat-square)](https://twitter.com/teclib)
[![Telegram Group](https://img.shields.io/badge/Telegram-Group-blue.svg)](https://t.me/glpien)
[![Project Status: Active](http://www.repostatus.org/badges/latest/active.svg)](http://www.repostatus.org/#active)
[![Conventional Commits](https://img.shields.io/badge/Conventional%20Commits-1.0.0-yellow.svg)](https://conventionalcommits.org)
[![Greenkeeper badge](https://img.shields.io/badge/Greenkeeper-enabled-4c1.svg?colorA=555&style=flat)](https://greenkeeper.io)
[![GitHub release](https://img.shields.io/github/release/glpi-project/android-inventory-library.svg)](https://github.com/glpi-project/android-inventory-library/releases)
[![GitHub build](https://img.shields.io/circleci/build/github/glpi-project/android-inventory-library.svg)](https://circleci.com/gh/glpi-project/android-inventory-library/)

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

## Table of contents
* [Synopsis](#synopsis)
* [Build Status](#build-status)
* [Installation](#installation)
* [Code Example](#code-example)
* [Documentation](#documentation)
* [Versioning](#versioning)
* [Contribute](#contribute)
* [Contact](#contact)
* [Professional Services](#professional-services)
* [Copying](#copying)

## 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:

### 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 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

```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

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

inventoryTask.execute()
```

## Contact

For notices about major changes and general discussion of fields, subscribe to the [/r/glpi](https://www.reddit.com/r/glpi/) subreddit.
You can also chat with us via [@glpi on Telegram](https://t.me/glpien).

## Professional Services

![GLPI Network](./docs/glpi_network.png "GLPI network")

The GLPI Network services are available through our [Partner's Network](http://www.teclib-edition.com/en/partners/).
We provide special training, bug fixes with editor subscription, contributions for new features, and more.

Obtain a personalized service experience, associated with benefits and opportunities.

## Contribute

* Open a ticket for each bug so it can be discussed
* Follow [development guidelines](http://glpi-developer-documentation.readthedocs.io/en/latest/plugins/index.html)
* Refer to [GitFlow](http://git-flow.readthedocs.io/) process for branching
* Work on a new branch on your own fork
* Open a PR that will be reviewed by a developer

## Copying

* **Code**: you can redistribute it and/or modify it under the terms of the GNU General Public License ([GPL-2.0](https://www.gnu.org/licenses/gpl-2.0.en.html)).