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
- Host: GitHub
- URL: https://github.com/glpi-project/android-inventory-library
- Owner: glpi-project
- License: gpl-3.0
- Created: 2017-06-19T07:14:12.000Z (about 8 years ago)
- Default Branch: main
- Last Pushed: 2024-12-17T13:29:02.000Z (7 months ago)
- Last Synced: 2025-06-11T05:31:29.182Z (22 days ago)
- Topics: android-inventory, library
- Language: Java
- Homepage:
- Size: 1.43 MB
- Stars: 19
- Watchers: 9
- Forks: 22
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Inventory Library for Android

[](https://github.com/glpi-project/android-inventory-library/blob/develop/LICENSE.md)
[](https://creativecommons.org/licenses/by/4.0/)
[](https://twitter.com/teclib)
[](https://t.me/glpien)
[](http://www.repostatus.org/#active)
[](https://conventionalcommits.org)
[](https://greenkeeper.io)
[](https://github.com/glpi-project/android-inventory-library/releases)
[](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

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)).