├── app ├── .gitignore ├── src │ ├── main │ │ ├── res │ │ │ ├── drawable │ │ │ │ ├── ic_qr.png │ │ │ │ ├── github.png │ │ │ │ ├── readme.png │ │ │ │ ├── ic_launcher_fore.png │ │ │ │ ├── ic_launcher_round.png │ │ │ │ ├── ic_notification_white.png │ │ │ │ ├── empty_tall_divider.xml │ │ │ │ ├── radius_btn_blue.xml │ │ │ │ ├── radius_btn_yellow.xml │ │ │ │ ├── separator_line.xml │ │ │ │ └── checkbox_state.xml │ │ │ ├── drawable-hdpi │ │ │ │ ├── ci_check.png │ │ │ │ ├── ic_about.png │ │ │ │ ├── ic_check.png │ │ │ │ ├── ic_help.png │ │ │ │ ├── ic_info.png │ │ │ │ ├── ic_stat.png │ │ │ │ ├── ci_uncheck.png │ │ │ │ ├── ic_uncheck.png │ │ │ │ ├── logoteclib.png │ │ │ │ ├── header_menu.png │ │ │ │ ├── ic_feedback.png │ │ │ │ ├── logoinventory.png │ │ │ │ ├── ic_option_white_24dp.png │ │ │ │ ├── ic_share_white_24dp.png │ │ │ │ ├── ic_schedule_white_24dp.png │ │ │ │ └── ic_setting_white_24dp.png │ │ │ ├── drawable-mdpi │ │ │ │ └── ic_stat.png │ │ │ ├── drawable-xhdpi │ │ │ │ └── ic_stat.png │ │ │ ├── drawable-xxhdpi │ │ │ │ └── ic_stat.png │ │ │ ├── drawable-xxxhdpi │ │ │ │ └── ic_stat.png │ │ │ ├── mipmap-hdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ ├── ic_launcher_round.png │ │ │ │ └── ic_launcher_foreground.png │ │ │ ├── mipmap-mdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ ├── ic_launcher_round.png │ │ │ │ └── ic_launcher_foreground.png │ │ │ ├── mipmap-xhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ ├── ic_launcher_round.png │ │ │ │ └── ic_launcher_foreground.png │ │ │ ├── mipmap-xxhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ ├── ic_launcher_round.png │ │ │ │ └── ic_launcher_foreground.png │ │ │ ├── mipmap-xxxhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ ├── ic_launcher_round.png │ │ │ │ └── ic_launcher_foreground.png │ │ │ ├── anim │ │ │ │ ├── from_bottom.xml │ │ │ │ ├── from_top.xml │ │ │ │ ├── rotate_fab_clock.xml │ │ │ │ ├── rotate_fab_anticlock.xml │ │ │ │ ├── fab_open.xml │ │ │ │ └── fab_close.xml │ │ │ ├── layout │ │ │ │ ├── pref_dialog_url.xml │ │ │ │ ├── spinner_item.xml │ │ │ │ ├── fragment_help.xml │ │ │ │ ├── list_item.xml │ │ │ │ ├── fragment_inventory_tab.xml │ │ │ │ ├── list_item_home_header.xml │ │ │ │ ├── toolbar.xml │ │ │ │ ├── activity_scan.xml │ │ │ │ ├── list_item_home_button.xml │ │ │ │ ├── custom_preference_category.xml │ │ │ │ ├── custom_checkbox.xml │ │ │ │ ├── list_item_inventory_parent.xml │ │ │ │ ├── list_item_home_check.xml │ │ │ │ ├── pref_widget_url.xml │ │ │ │ ├── dialog_title.xml │ │ │ │ ├── activity_splash.xml │ │ │ │ ├── list_item_drawer.xml │ │ │ │ ├── fragment_about.xml │ │ │ │ ├── list_item_inventory_child.xml │ │ │ │ ├── activity_list_categories.xml │ │ │ │ ├── fragment_home.xml │ │ │ │ ├── activity_permission.xml │ │ │ │ ├── activity_list_servers.xml │ │ │ │ ├── list_item_servers.xml │ │ │ │ ├── list_item_categories.xml │ │ │ │ ├── activity_inventory.xml │ │ │ │ └── dialog_list_servers.xml │ │ │ ├── mipmap-anydpi-v26 │ │ │ │ ├── ic_launcher.xml │ │ │ │ └── ic_launcher_round.xml │ │ │ ├── menu │ │ │ │ └── menu_main.xml │ │ │ ├── values │ │ │ │ ├── dimens.xml │ │ │ │ ├── colors.xml │ │ │ │ ├── restrictions_values.xml │ │ │ │ └── styles.xml │ │ │ └── xml │ │ │ │ ├── inventory_parameters.xml │ │ │ │ ├── app_restrictions.xml │ │ │ │ └── global_parameters.xml │ │ ├── assets │ │ │ └── about.properties │ │ └── java │ │ │ └── org │ │ │ └── glpi │ │ │ └── inventory │ │ │ └── agent │ │ │ ├── core │ │ │ ├── servers │ │ │ │ ├── ServersModel.java │ │ │ │ ├── Servers.java │ │ │ │ └── ServersPresenter.java │ │ │ ├── splash │ │ │ │ ├── Splash.java │ │ │ │ ├── SplashPresenter.java │ │ │ │ └── SplashModel.java │ │ │ ├── categories │ │ │ │ ├── Categories.java │ │ │ │ ├── CategoriesPresenter.java │ │ │ │ └── CategoriesModel.java │ │ │ ├── permission │ │ │ │ ├── Permission.java │ │ │ │ ├── PermissionPresenter.java │ │ │ │ └── PermissionModel.java │ │ │ ├── help │ │ │ │ ├── Help.java │ │ │ │ ├── HelpPresenter.java │ │ │ │ └── HelpModel.java │ │ │ ├── about │ │ │ │ ├── About.java │ │ │ │ └── AboutPresenter.java │ │ │ ├── report │ │ │ │ ├── Report.java │ │ │ │ └── ReportPresenter.java │ │ │ ├── home │ │ │ │ ├── Home.java │ │ │ │ ├── HomePresenter.java │ │ │ │ └── HomeSchema.java │ │ │ ├── main │ │ │ │ ├── Main.java │ │ │ │ └── MainPresenter.java │ │ │ └── detailserver │ │ │ │ ├── DetailServer.java │ │ │ │ └── DetailServerPresenter.java │ │ │ ├── broadcast │ │ │ └── BootStartAgent.java │ │ │ ├── schema │ │ │ ├── ListInventorySchema.java │ │ │ └── ServerSchema.java │ │ │ ├── utils │ │ │ ├── UtilsAgent.java │ │ │ ├── CustomX509TrustManager.java │ │ │ ├── EnvironmentInfo.java │ │ │ ├── CustomSSLSocketFactory.java │ │ │ └── AgentLog.java │ │ │ ├── adapter │ │ │ └── ViewPagerAdapter.java │ │ │ ├── preference │ │ │ ├── GlobalParametersPreference.java │ │ │ └── InventoryParametersPreference.java │ │ │ └── ui │ │ │ └── FragmentHome.java │ ├── test │ │ └── java │ │ │ └── org │ │ │ └── flyve │ │ │ └── inventory │ │ │ └── agent │ │ │ └── ExampleUnitTest.java │ └── androidTest │ │ └── java │ │ └── org │ │ └── glpi │ │ └── inventory │ │ └── agent │ │ ├── AboutModelTest.java │ │ └── HomeModelTest.java ├── .settings │ └── org.eclipse.buildship.core.prefs ├── libs │ └── inventory-release-v1.6.1.aar ├── release │ └── output.json ├── .classpath ├── .project └── google-services.json ├── settings.gradle ├── Gemfile ├── .github ├── invite-contributors.yml ├── workflows │ ├── label-commenter.yml │ └── deploy-alpha.yml ├── label-commener-config.yml ├── settings.yml ├── ISSUE_TEMPLATE │ └── Bug_report.md └── PULL_REQUEST_TEMPLATE.md ├── .vscode └── settings.json ├── gplay.tar.gz.enc ├── screenshot ├── add-server.png ├── show-share.png ├── select-server.png ├── show-server.png ├── inventory-main.png ├── sending-inventory.png └── automatic-inventory.png ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── gradle.properties ├── .classpath ├── SUPPORT.md ├── .tx ├── README.md └── config ├── package.json ├── CREDITS ├── .project ├── .gitignore ├── gradlew.bat ├── CODE_OF_CONDUCT.md └── CONTRIBUTING.md /app/.gitignore: -------------------------------------------------------------------------------- 1 | /build -------------------------------------------------------------------------------- /settings.gradle: -------------------------------------------------------------------------------- 1 | include ':app' 2 | -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- 1 | source "https://rubygems.org" 2 | 3 | gem "fastlane" -------------------------------------------------------------------------------- /.github/invite-contributors.yml: -------------------------------------------------------------------------------- 1 | isOutside: true 2 | # Team Name 3 | contributors -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "java.configuration.updateBuildConfiguration": "disabled" 3 | } -------------------------------------------------------------------------------- /gplay.tar.gz.enc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glpi-project/android-inventory-agent/HEAD/gplay.tar.gz.enc -------------------------------------------------------------------------------- /screenshot/add-server.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glpi-project/android-inventory-agent/HEAD/screenshot/add-server.png -------------------------------------------------------------------------------- /screenshot/show-share.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glpi-project/android-inventory-agent/HEAD/screenshot/show-share.png -------------------------------------------------------------------------------- /screenshot/select-server.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glpi-project/android-inventory-agent/HEAD/screenshot/select-server.png -------------------------------------------------------------------------------- /screenshot/show-server.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glpi-project/android-inventory-agent/HEAD/screenshot/show-server.png -------------------------------------------------------------------------------- /screenshot/inventory-main.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glpi-project/android-inventory-agent/HEAD/screenshot/inventory-main.png -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glpi-project/android-inventory-agent/HEAD/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /screenshot/sending-inventory.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glpi-project/android-inventory-agent/HEAD/screenshot/sending-inventory.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_qr.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glpi-project/android-inventory-agent/HEAD/app/src/main/res/drawable/ic_qr.png -------------------------------------------------------------------------------- /screenshot/automatic-inventory.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glpi-project/android-inventory-agent/HEAD/screenshot/automatic-inventory.png -------------------------------------------------------------------------------- /app/.settings/org.eclipse.buildship.core.prefs: -------------------------------------------------------------------------------- 1 | #Tue Nov 21 16:28:44 CET 2017 2 | eclipse.preferences.version=1 3 | connection.project.dir=.. 4 | -------------------------------------------------------------------------------- /app/libs/inventory-release-v1.6.1.aar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glpi-project/android-inventory-agent/HEAD/app/libs/inventory-release-v1.6.1.aar -------------------------------------------------------------------------------- /app/src/main/res/drawable/github.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glpi-project/android-inventory-agent/HEAD/app/src/main/res/drawable/github.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/readme.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glpi-project/android-inventory-agent/HEAD/app/src/main/res/drawable/readme.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/ci_check.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glpi-project/android-inventory-agent/HEAD/app/src/main/res/drawable-hdpi/ci_check.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/ic_about.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glpi-project/android-inventory-agent/HEAD/app/src/main/res/drawable-hdpi/ic_about.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/ic_check.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glpi-project/android-inventory-agent/HEAD/app/src/main/res/drawable-hdpi/ic_check.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/ic_help.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glpi-project/android-inventory-agent/HEAD/app/src/main/res/drawable-hdpi/ic_help.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/ic_info.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glpi-project/android-inventory-agent/HEAD/app/src/main/res/drawable-hdpi/ic_info.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/ic_stat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glpi-project/android-inventory-agent/HEAD/app/src/main/res/drawable-hdpi/ic_stat.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-mdpi/ic_stat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glpi-project/android-inventory-agent/HEAD/app/src/main/res/drawable-mdpi/ic_stat.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/ic_stat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glpi-project/android-inventory-agent/HEAD/app/src/main/res/drawable-xhdpi/ic_stat.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/ci_uncheck.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glpi-project/android-inventory-agent/HEAD/app/src/main/res/drawable-hdpi/ci_uncheck.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/ic_uncheck.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glpi-project/android-inventory-agent/HEAD/app/src/main/res/drawable-hdpi/ic_uncheck.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/logoteclib.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glpi-project/android-inventory-agent/HEAD/app/src/main/res/drawable-hdpi/logoteclib.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/ic_stat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glpi-project/android-inventory-agent/HEAD/app/src/main/res/drawable-xxhdpi/ic_stat.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxxhdpi/ic_stat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glpi-project/android-inventory-agent/HEAD/app/src/main/res/drawable-xxxhdpi/ic_stat.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glpi-project/android-inventory-agent/HEAD/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glpi-project/android-inventory-agent/HEAD/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glpi-project/android-inventory-agent/HEAD/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/header_menu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glpi-project/android-inventory-agent/HEAD/app/src/main/res/drawable-hdpi/header_menu.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/ic_feedback.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glpi-project/android-inventory-agent/HEAD/app/src/main/res/drawable-hdpi/ic_feedback.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/logoinventory.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glpi-project/android-inventory-agent/HEAD/app/src/main/res/drawable-hdpi/logoinventory.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_launcher_fore.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glpi-project/android-inventory-agent/HEAD/app/src/main/res/drawable/ic_launcher_fore.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glpi-project/android-inventory-agent/HEAD/app/src/main/res/drawable/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glpi-project/android-inventory-agent/HEAD/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glpi-project/android-inventory-agent/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glpi-project/android-inventory-agent/HEAD/app/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glpi-project/android-inventory-agent/HEAD/app/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_notification_white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glpi-project/android-inventory-agent/HEAD/app/src/main/res/drawable/ic_notification_white.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glpi-project/android-inventory-agent/HEAD/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glpi-project/android-inventory-agent/HEAD/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glpi-project/android-inventory-agent/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/ic_option_white_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glpi-project/android-inventory-agent/HEAD/app/src/main/res/drawable-hdpi/ic_option_white_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/ic_share_white_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glpi-project/android-inventory-agent/HEAD/app/src/main/res/drawable-hdpi/ic_share_white_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glpi-project/android-inventory-agent/HEAD/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glpi-project/android-inventory-agent/HEAD/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png -------------------------------------------------------------------------------- /gradle.properties: -------------------------------------------------------------------------------- 1 | org.gradle.jvmargs=-Xmx2048m 2 | android.useAndroidX=true 3 | android.enableJetifier=true 4 | android.nonTransitiveRClass=false 5 | android.nonFinalResIds=false 6 | -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/ic_schedule_white_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glpi-project/android-inventory-agent/HEAD/app/src/main/res/drawable-hdpi/ic_schedule_white_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/ic_setting_white_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glpi-project/android-inventory-agent/HEAD/app/src/main/res/drawable-hdpi/ic_setting_white_24dp.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glpi-project/android-inventory-agent/HEAD/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glpi-project/android-inventory-agent/HEAD/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glpi-project/android-inventory-agent/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png -------------------------------------------------------------------------------- /app/release/output.json: -------------------------------------------------------------------------------- 1 | [{"outputType":{"type":"APK"},"apkInfo":{"type":"MAIN","splits":[],"versionCode":1582},"path":"app-release.apk","properties":{"packageId":"org.glpi.inventory.agent","split":"","minSdkVersion":"16"}}] -------------------------------------------------------------------------------- /app/src/main/res/drawable/empty_tall_divider.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/radius_btn_blue.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/radius_btn_yellow.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/anim/from_bottom.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | -------------------------------------------------------------------------------- /app/src/main/res/layout/pref_dialog_url.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | -------------------------------------------------------------------------------- /app/src/main/assets/about.properties: -------------------------------------------------------------------------------- 1 | about.version=1.7.0 2 | about.build=39441 3 | about.date=Fri Aug 22 07:24:39 2025 4 | about.commit=07edc21 5 | about.commitFull=07edc2104d3e9416a9e4af27e84510002fd07162 6 | about.github=https://github.com/glpi-project/android-inventory-agent 7 | -------------------------------------------------------------------------------- /app/src/main/res/anim/from_top.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/separator_line.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 7 | -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-8.13-bin.zip 4 | networkTimeout=10000 5 | validateDistributionUrl=true 6 | zipStoreBase=GRADLE_USER_HOME 7 | zipStorePath=wrapper/dists 8 | -------------------------------------------------------------------------------- /app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /app/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /app/src/main/res/layout/spinner_item.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /app/src/main/res/menu/menu_main.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 10 | 11 | -------------------------------------------------------------------------------- /app/src/main/res/layout/fragment_help.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 11 | 12 | -------------------------------------------------------------------------------- /SUPPORT.md: -------------------------------------------------------------------------------- 1 | # GLPI Network - Professional support 2 | 3 | You want to report a bug (and get a fix quickly) or do you need a guarantee for GLPI Android Agent? 4 | 5 | You can subscribe to our professional support GLPI Network [here](https://services.glpi-network.com). 6 | 7 | This subscription includes a guarantee through a service level contract between your company and our team in charge of GLPI (core, supported plugins and GLPI Agent) as well as exclusive features and services. -------------------------------------------------------------------------------- /.github/workflows/label-commenter.yml: -------------------------------------------------------------------------------- 1 | name: "Label commenter" 2 | 3 | on: 4 | issues: 5 | types: 6 | - "labeled" 7 | - "unlabeled" 8 | 9 | jobs: 10 | comment: 11 | permissions: 12 | contents: "read" 13 | issues: "write" 14 | runs-on: "ubuntu-latest" 15 | steps: 16 | - name: "Checkout" 17 | uses: "actions/checkout@v4" 18 | 19 | - name: "Label commenter" 20 | uses: "peaceiris/actions-label-commenter@v1" 21 | -------------------------------------------------------------------------------- /app/src/main/res/layout/list_item.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /app/src/main/res/layout/fragment_inventory_tab.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 12 | -------------------------------------------------------------------------------- /app/src/main/res/layout/list_item_home_header.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /app/src/main/res/anim/rotate_fab_clock.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /app/src/test/java/org/flyve/inventory/agent/ExampleUnitTest.java: -------------------------------------------------------------------------------- 1 | package org.flyve.inventory.agent; 2 | 3 | import org.junit.Test; 4 | 5 | import static junit.framework.Assert.assertEquals; 6 | 7 | /** 8 | * Example local unit test, which will execute on the development machine (host). 9 | * 10 | * @see Testing documentation 11 | */ 12 | public class ExampleUnitTest { 13 | @Test 14 | public void addition_isCorrect() throws Exception { 15 | assertEquals(4, 2 + 2); 16 | } 17 | } -------------------------------------------------------------------------------- /app/src/main/res/anim/rotate_fab_anticlock.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /app/src/main/res/values/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 55dp 4 | 105dp 5 | 155dp 6 | 21dp 7 | 45dp 8 | 9 | 4dp 10 | 8dp 11 | 12 | 15sp 13 | 20dp 14 | 15 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/checkbox_state.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 7 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/layout/toolbar.xml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_scan.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 11 | 12 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /app/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | app 4 | Project app created by Buildship. 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | org.eclipse.buildship.core.gradleprojectbuilder 15 | 16 | 17 | 18 | 19 | 20 | org.eclipse.jdt.core.javanature 21 | org.eclipse.buildship.core.gradleprojectnature 22 | 23 | 24 | -------------------------------------------------------------------------------- /app/src/main/res/layout/list_item_home_button.xml: -------------------------------------------------------------------------------- 1 | 2 | 9 | 10 | 15 | 16 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /app/src/main/res/layout/custom_preference_category.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 15 | 16 | -------------------------------------------------------------------------------- /app/src/main/res/anim/fab_open.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 14 | 15 | 20 | 21 | -------------------------------------------------------------------------------- /.tx/README.md: -------------------------------------------------------------------------------- 1 | # Transifex configuration 2 | 3 | This is a required file to work with transfix: 4 | 5 | ```console 6 | [main] 7 | host = https://www.transifex.com 8 | # just download files if 80% is complete 9 | minimum_perc = 80 10 | # transform file default format to requiered format 11 | lang_map = pt_BR: pt-rBR, ru_RU: ru-rRU, fr_FR: fr-rFR, es_MX: es-rMX, es_ES: es-rES, en_GB: en-rGB, ko_KR: ko-rKR 12 | ``` 13 | 14 | ````console 15 | [android-inventory-agent.stringsxml-android] 16 | # where be placed all files when come from service 17 | file_filter = app/src/main/res/values-/strings.xml 18 | # the place of the main file 19 | source_file = app/src/main/res/values/strings.xml 20 | # main language 21 | source_lang = en 22 | # file type 23 | type = ANDROID 24 | ``` -------------------------------------------------------------------------------- /app/src/main/res/anim/fab_close.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 15 | 16 | 17 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /app/src/main/res/layout/custom_checkbox.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@teclib/android-inventory-agent", 3 | "version": "1.7.0", 4 | "description": "GLPI Android Inventory Agent", 5 | "main": "index.js", 6 | "scripts": { 7 | "release": "standard-version -t ''" 8 | }, 9 | "repository": { 10 | "type": "git", 11 | "url": "git+https://github.com/glpi-project/android-inventory-agent.git" 12 | }, 13 | "keywords": [ 14 | "Android", 15 | "inventory", 16 | "flyve", 17 | "device", 18 | "agent", 19 | "teclib" 20 | ], 21 | "author": "Rafael Hernandez (https://flyve-mdm.com)", 22 | "license": "GPL-3.0", 23 | "bugs": { 24 | "url": "https://github.com/glpi-project/android-inventory-agent/issues" 25 | }, 26 | "homepage": "http://glpi-project/android-inventory-agent/" 27 | } 28 | -------------------------------------------------------------------------------- /.tx/config: -------------------------------------------------------------------------------- 1 | [main] 2 | host = https://www.transifex.com 3 | lang_map = es_ES: es-rES, ar_SA: ar-rSA, it_IT: it-rIT, eu_ES: eu-rES, fr_FR: fr-rFR, he_IL: he-rIL, pl_PL: pl-rPL, es_AR: es-rAR, th_TH: th-rTH, pt_BR: pt-rBR, fr: fr, gl_ES: gl-rES, es: es, zh_CN: zh-rCN, ja: ja, ja_JP: ja-rJP, nl_NL: nl-rNL, ko_KR: ko-rKR, cs_CZ: cs-rCZ, hi_IN: hi-rIN, es_MX: es-rMX, en_GB: en-rGB, ca_ES: ca-rES, de_DE: de-rDE, ru_RU: ru-rRU, hu_Hu: hu-rHU, ur_PK: ur-rPK, ar_EG: ar-rEG 4 | 5 | [o:glpi:p:android-inventory-agent:r:stringsxml-android] 6 | file_filter = app/src/main/res/values-/strings.xml 7 | source_file = app/src/main/res/values/strings.xml 8 | source_lang = en 9 | type = ANDROID 10 | replace_edited_strings = false 11 | keep_translations = false 12 | 13 | -------------------------------------------------------------------------------- /app/src/main/res/layout/list_item_inventory_parent.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 12 | 13 | 19 | -------------------------------------------------------------------------------- /app/src/main/res/layout/list_item_home_check.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 14 | 15 | 21 | 22 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /CREDITS: -------------------------------------------------------------------------------- 1 | In this file is liste every person who has contributed to the project, 2 | whether to fix a typo or to implement an awesome feature. 3 | 4 | You made this project. 5 | 6 | To everyone Thank you. 7 | 8 | 9 | Legend: 10 | 11 | - N: name 12 | - E: email 13 | - D: description 14 | - U: GitHub user 15 | --------------------------------------------------------------------------------- 16 | 17 | N: Rafael Hernández 18 | E: rhernandez@teclib.com 19 | D: Android/iOS Developer 20 | U: rafaelje 21 | 22 | N: Iván del Pino 23 | E: idelpino@teclib.com 24 | D: Android Developer 25 | U: Ivans51 26 | 27 | N: Naylin Medina 28 | E: nmedina@teclib.com 29 | D: Technical Writer 30 | U: Naylin15 31 | 32 | N: Alexander Salas 33 | E: asalas@teclib.com 34 | D: Project Manager 35 | U: ajsb85 36 | 37 | N: Kevin Roy 38 | U: kiniou 39 | 40 | N: David Durieux 41 | U: ddurieux 42 | 43 | N: Gonéri Le Bouder 44 | E: goneri@lebouder.net 45 | U: goneri 46 | 47 | N: Lacroix Sébastien 48 | E: erufu.sennin@gmail.com 49 | U: erufu 50 | -------------------------------------------------------------------------------- /app/src/main/res/layout/pref_widget_url.xml: -------------------------------------------------------------------------------- 1 | 2 | 11 | 12 | 19 | 20 | 29 | 30 | -------------------------------------------------------------------------------- /app/src/main/res/layout/dialog_title.xml: -------------------------------------------------------------------------------- 1 | 2 | 11 | 12 | 19 | 20 | 30 | 31 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_splash.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 12 | 13 | 14 | 22 | 23 | 24 | 33 | 34 | -------------------------------------------------------------------------------- /.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | android-inventory-agent 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.buildship.core.gradleprojectbuilder 10 | 11 | 12 | 13 | 14 | com.android.ide.eclipse.adt.ResourceManagerBuilder 15 | 16 | 17 | 18 | 19 | com.android.ide.eclipse.adt.PreCompilerBuilder 20 | 21 | 22 | 23 | 24 | org.eclipse.jdt.core.javabuilder 25 | 26 | 27 | 28 | 29 | com.android.ide.eclipse.adt.ApkBuilder 30 | 31 | 32 | 33 | 34 | 35 | com.android.ide.eclipse.adt.AndroidNature 36 | org.eclipse.jdt.core.javanature 37 | org.eclipse.buildship.core.gradleprojectnature 38 | 39 | 40 | -------------------------------------------------------------------------------- /.github/label-commener-config.yml: -------------------------------------------------------------------------------- 1 | labels: 2 | - name: "invalid" 3 | labeled: 4 | issue: 5 | body: | 6 | This issue has been closed because you did not provide the requested information. 7 | action: "close" 8 | - name: "support" 9 | labeled: 10 | issue: 11 | body: | 12 | This issue has been closed as we only track bugs here. 13 | 14 | You can get community support on [forums](https://forum.glpi-project.org/) or you can consider [taking a subscription](https://glpi-project.org/subscriptions/) to get professional support. 15 | You can also [contact GLPI editor team](https://portal.glpi-network.com/contact-us) directly. 16 | action: close 17 | - name: "feature suggestion" 18 | labeled: 19 | issue: 20 | body: | 21 | This issue has been closed as we only track bugs here. 22 | 23 | You can open a topic to discuss with community about this enhancement on [suggestion website](https://glpi.userecho.com/). 24 | You can also [contact GLPI editor team](https://portal.glpi-network.com/contact-us) directly if you are willing to sponsor this feature. 25 | action: close 26 | -------------------------------------------------------------------------------- /.github/settings.yml: -------------------------------------------------------------------------------- 1 | repository: 2 | name: android-inventory-agent 3 | description: Android Inventory Agent 4 | homepage: https://github.com/glpi-project/android-inventory-agent/ 5 | topics: android, inventory-agent 6 | private: false 7 | has_issues: true 8 | has_wiki: false 9 | has_downloads: true 10 | default_branch: main 11 | allow_squash_merge: true 12 | allow_merge_commit: false 13 | allow_rebase_merge: true 14 | labels: 15 | - name: bug 16 | color: f44336 17 | - name: build 18 | color: 795548 19 | - name: cherry-pick 20 | color: af1c46 21 | - name: ci 22 | color: fbca04 23 | - name: documentation 24 | color: 607d8b 25 | - name: duplicate 26 | color: 9e9e9e 27 | - name: feature 28 | color: 3f51b5 29 | - name: hacktoberfest 30 | color: ff625f 31 | - name: invalid 32 | color: cddc39 33 | - name: performance 34 | color: 009688 35 | - name: question 36 | color: ff5722 37 | - name: refactor 38 | color: 9c27b0 39 | - name: style 40 | color: 2196f3 41 | - name: test 42 | color: 8bc34a 43 | - name: wontfix 44 | color: ffffff 45 | - name: help wanted 46 | color: 33aa3f 47 | - name: good first issue 48 | color: 7057ff 49 | -------------------------------------------------------------------------------- /app/src/main/res/xml/inventory_parameters.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 8 | 9 | 17 | 18 | 27 | 28 | -------------------------------------------------------------------------------- /app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #767677 4 | #4C4C4C 5 | #00A6F4 6 | #0095DB 7 | #000000 8 | #fec95c 9 | #e4b452 10 | #8f5a0a 11 | #EA1E31 12 | #FFF 13 | #7E7E7E 14 | #CCCCCC 15 | #4C4C4C 16 | #f1f1f1 17 | #00a6f4 18 | #ffff7663 19 | #00a6f4 20 | #00a6f4 21 | 22 | 23 | #60000000 24 | #cc0000 25 | #ff6600 26 | #b0000000 27 | #c099cc00 28 | 29 | @android:color/transparent 30 | 31 | 32 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/Bug_report.md: -------------------------------------------------------------------------------- 1 | # Bug Report 2 | 3 | A clear and concise description of the bug. 4 | 5 | ## Steps to Reproduce 6 | Steps to reproduce the behavior: 7 | 1. Go to '...' 8 | 2. Perform action '...' 9 | 3. See error '...' 10 | 11 | ## Expected Behavior 12 | A clear and concise description of what you expected to happen. 13 | 14 | ## Actual Behavior 15 | Describe what actually happens instead. 16 | 17 | ## Screenshots 18 | If applicable, add screenshots to help explain your problem. 19 | 20 | ## Environment Details 21 | - **Agent Version:** [e.g., 1.2.3] 22 | - **Android Version:** [e.g., Android 11] 23 | - **Device:** [e.g., Pixel 5] 24 | - **Any other relevant details:** [e.g., build environment, dependencies] 25 | 26 | ## Logs 27 | Please provide relevant logcat output or any other logs that may help in diagnosing the issue. 28 | 29 | ```text 30 | # Paste logs here 31 | ``` 32 | 33 | ## Additional context 34 | Add any other context about the problem here, including links to documentation or issues that might be related. 35 | 36 | ## Possible Solution 37 | (Optional) If you have an idea of how to fix the bug, describe it here. 38 | 39 | ## Checklist 40 | - [ ] I have searched existing issues to see if the bug has already been reported. 41 | - [ ] I have provided sufficient details to reproduce the issue. 42 | - [ ] I have included relevant logs/screenshots. 43 | 44 | -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- 1 | # Pull Request 2 | 3 | ## Description 4 | Provide a brief description of the changes made in this pull request. Include the problem this fixes or the feature it implements. 5 | 6 | ### Type of Change 7 | - [ ] Bug fix (non-breaking change that fixes an issue) 8 | - [ ] New feature (non-breaking change that adds functionality) 9 | - [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected) 10 | - [ ] Documentation update (improvements or additions to documentation) 11 | 12 | --- 13 | 14 | ## Related Issues 15 | List any related issues that are fixed or addressed by this pull request. 16 | 17 | Fixes: # [issue number] 18 | 19 | Closes: # [issue number] 20 | 21 | --- 22 | 23 | ## Testing 24 | Describe the testing performed for these changes: 25 | - Device/Emulator: [e.g., Pixel 5, Android 12] 26 | - Test Cases: [e.g., tested login functionality, navigation, etc.] 27 | - Results: [e.g., passed all tests, fixed rendering issue] 28 | 29 | --- 30 | 31 | ## Screenshots/Recordings 32 | If applicable, attach screenshots or recordings of the changes made. 33 | 34 | --- 35 | 36 | ## Checklist 37 | - [ ] I have tested these changes locally. 38 | - [ ] I have added tests that prove my fix is effective or my feature works. 39 | - [ ] I have updated documentation (if necessary). 40 | - [ ] I have ensured that this PR does not introduce unintended breaking changes. 41 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .idea 2 | .idea/libraries 3 | app/app.iml 4 | 5 | *.apk 6 | *.ap_ 7 | 8 | # files for the dex VM 9 | *.dex 10 | 11 | # Java class files 12 | *.class 13 | 14 | # built native files (uncomment if you build your own) 15 | # *.o 16 | # *.so 17 | 18 | # generated files 19 | bin/ 20 | gen/ 21 | 22 | # Ignore gradle files 23 | .gradle/ 24 | build/ 25 | 26 | # Local configuration file (sdk path, etc) 27 | local.properties 28 | app.properties 29 | 30 | # Proguard folder generated by Eclipse 31 | proguard/ 32 | 33 | # Eclipse Metadata 34 | .metadata/ 35 | 36 | # Mac OS X clutter 37 | *.DS_Store 38 | 39 | # Windows clutter 40 | Thumbs.db 41 | 42 | .idea/workspace.xml 43 | .idea/tasks.xml 44 | .idea/datasources.xml 45 | .idea/dataSources.ids 46 | .idea/.name 47 | .idea/gradle.xml 48 | .idea/modules.xml 49 | .idea/vcs.xml 50 | 51 | 52 | # Node.js 53 | 54 | node_modules 55 | 56 | # Miscellaneous 57 | 58 | *.iml 59 | /local.properties 60 | /.idea/workspace.xml 61 | /.idea/libraries 62 | .DS_Store 63 | /build 64 | /captures 65 | .externalNativeBuild 66 | 67 | /gen 68 | /bin 69 | /.settings/ 70 | /doc/ 71 | local.properties 72 | build 73 | .env 74 | /ci/gplay.json 75 | /ci/gplay.tar.gz 76 | .idea/ 77 | #.gradle/ 78 | #gradle/ 79 | #gradlew 80 | #gradlew.bat 81 | 82 | #fastlane 83 | /fastlane/report.xml 84 | /fastlane/metadata/ 85 | 86 | #javadoc and reports 87 | /screenshots 88 | /development 89 | /reports 90 | /reports-beta 91 | 92 | #vendor 93 | vendor/ 94 | -------------------------------------------------------------------------------- /app/src/main/res/layout/list_item_drawer.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 13 | 14 | 22 | 23 | 30 | 31 | 39 | 40 | 41 | 42 | -------------------------------------------------------------------------------- /app/google-services.json: -------------------------------------------------------------------------------- 1 | { 2 | "project_info": { 3 | "project_number": "1002939879902", 4 | "firebase_url": "https://android-inventory-agent.firebaseio.com", 5 | "project_id": "android-inventory-agent", 6 | "storage_bucket": "android-inventory-agent.appspot.com" 7 | }, 8 | "client": [ 9 | { 10 | "client_info": { 11 | "mobilesdk_app_id": "1:1002939879902:android:5652f6e731d1e6d5350d4f", 12 | "android_client_info": { 13 | "package_name": "org.glpi.inventory.agent" 14 | } 15 | }, 16 | "oauth_client": [ 17 | { 18 | "client_id": "1002939879902-69don3lar14ts8m1p3sspjm8j2gaq94k.apps.googleusercontent.com", 19 | "client_type": 1, 20 | "android_info": { 21 | "package_name": "org.glpi.inventory.agent", 22 | "certificate_hash": "4287d795b3ca467f0920cca3c9e461129d5f6af1" 23 | } 24 | }, 25 | { 26 | "client_id": "1002939879902-fbn5vl95r1i8uar6paiua7d5hkdp26fe.apps.googleusercontent.com", 27 | "client_type": 3 28 | } 29 | ], 30 | "api_key": [ 31 | { 32 | "current_key": "AIzaSyBH0VWCAhtYnO1G9AC9WNH6chFMDtE5rZk" 33 | } 34 | ], 35 | "services": { 36 | "appinvite_service": { 37 | "other_platform_oauth_client": [ 38 | { 39 | "client_id": "1002939879902-fbn5vl95r1i8uar6paiua7d5hkdp26fe.apps.googleusercontent.com", 40 | "client_type": 3 41 | } 42 | ] 43 | } 44 | } 45 | } 46 | ], 47 | "configuration_version": "1" 48 | } -------------------------------------------------------------------------------- /app/src/main/res/values/restrictions_values.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Type 6 | Type of asset 7 | Computer 8 | Phone 9 | 10 | @string/entry_server_itemtype_computer 11 | @string/entry_server_itemtype_phone 12 | 13 | 14 | Computer 15 | Phone 16 | 17 | Computer 18 | 19 | 20 | Frequency 21 | Frequency 22 | Day 23 | Week 24 | Month 25 | 26 | @string/frequency_day 27 | @string/frequency_week 28 | @string/frequency_month 29 | 30 | 31 | Day 32 | Week 33 | Month 34 | 35 | Day 36 | 37 | 38 | 39 | -------------------------------------------------------------------------------- /app/src/main/res/layout/fragment_about.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 12 | 13 | 14 | 22 | 23 | 37 | 38 | 49 | 50 | -------------------------------------------------------------------------------- /app/src/main/res/layout/list_item_inventory_child.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 9 | 10 | 24 | 25 | 43 | 44 | 49 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_list_categories.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 13 | 14 | 17 | 18 | 28 | 29 | 30 | 31 | 32 | 39 | 40 | 46 | 47 | -------------------------------------------------------------------------------- /app/src/main/java/org/glpi/inventory/agent/core/servers/ServersModel.java: -------------------------------------------------------------------------------- 1 | /** 2 | * --------------------------------------------------------------------- 3 | * GLPI Android Inventory Agent 4 | * Copyright (C) 2019 Teclib. 5 | * 6 | * https://glpi-project.org 7 | * 8 | * Based on Flyve MDM Inventory Agent For Android 9 | * Copyright © 2018 Teclib. All rights reserved. 10 | * 11 | * --------------------------------------------------------------------- 12 | * 13 | * LICENSE 14 | * 15 | * This file is part of GLPI Android Inventory Agent. 16 | * 17 | * GLPI Android Inventory Agent is a subproject of GLPI. 18 | * 19 | * GLPI Android Inventory Agent is free software: you can redistribute it and/or 20 | * modify it under the terms of the GNU General Public License 21 | * as published by the Free Software Foundation; either version 3 22 | * of the License, or (at your option) any later version. 23 | * 24 | * GLPI Android Inventory Agent is distributed in the hope that it will be useful, 25 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 26 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 27 | * GNU General Public License for more details. 28 | * --------------------------------------------------------------------- 29 | * @copyright Copyright © 2019 Teclib. All rights reserved. 30 | * @license GPLv3 https://www.gnu.org/licenses/gpl-3.0.html 31 | * @link https://github.com/glpi-project/android-inventory-agent 32 | * @link https://glpi-project.org/glpi-network/ 33 | * --------------------------------------------------------------------- 34 | */ 35 | 36 | package org.glpi.inventory.agent.core.servers; 37 | 38 | import android.app.Activity; 39 | 40 | import org.glpi.inventory.agent.utils.LocalPreferences; 41 | 42 | public class ServersModel implements Servers.Model { 43 | 44 | private Servers.Presenter presenter; 45 | 46 | ServersModel(Servers.Presenter presenter) { 47 | this.presenter = presenter; 48 | } 49 | 50 | public void loadServers(final Activity activity) { 51 | presenter.showServers(new LocalPreferences(activity).loadServer()); 52 | } 53 | 54 | } 55 | -------------------------------------------------------------------------------- /app/src/main/res/layout/fragment_home.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 24 | 25 | 26 | 44 | 45 | 46 | 47 | 48 | 53 | 54 | -------------------------------------------------------------------------------- /app/src/main/java/org/glpi/inventory/agent/core/splash/Splash.java: -------------------------------------------------------------------------------- 1 | /** 2 | * --------------------------------------------------------------------- 3 | * GLPI Android Inventory Agent 4 | * Copyright (C) 2019 Teclib. 5 | * 6 | * https://glpi-project.org 7 | * 8 | * Based on Flyve MDM Inventory Agent For Android 9 | * Copyright © 2018 Teclib. All rights reserved. 10 | * 11 | * --------------------------------------------------------------------- 12 | * 13 | * LICENSE 14 | * 15 | * This file is part of GLPI Android Inventory Agent. 16 | * 17 | * GLPI Android Inventory Agent is a subproject of GLPI. 18 | * 19 | * GLPI Android Inventory Agent is free software: you can redistribute it and/or 20 | * modify it under the terms of the GNU General Public License 21 | * as published by the Free Software Foundation; either version 3 22 | * of the License, or (at your option) any later version. 23 | * 24 | * GLPI Android Inventory Agent is distributed in the hope that it will be useful, 25 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 26 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 27 | * GNU General Public License for more details. 28 | * --------------------------------------------------------------------- 29 | * @copyright Copyright © 2019 Teclib. All rights reserved. 30 | * @license GPLv3 https://www.gnu.org/licenses/gpl-3.0.html 31 | * @link https://github.com/glpi-project/android-inventory-agent 32 | * @link https://glpi-project.org/glpi-network/ 33 | * --------------------------------------------------------------------- 34 | */ 35 | 36 | package org.glpi.inventory.agent.core.splash; 37 | 38 | import android.content.Context; 39 | 40 | public interface Splash { 41 | 42 | interface View { 43 | void showError(String message); 44 | void setupStorageReady(); 45 | } 46 | 47 | interface Presenter { 48 | // Views 49 | void showError(String message); 50 | void setupStorageReady(); 51 | 52 | // Models 53 | void setupStorage(Context context); 54 | } 55 | 56 | interface Model { 57 | void setupStorage(Context context); 58 | } 59 | } 60 | -------------------------------------------------------------------------------- /app/src/main/java/org/glpi/inventory/agent/core/servers/Servers.java: -------------------------------------------------------------------------------- 1 | /** 2 | * --------------------------------------------------------------------- 3 | * GLPI Android Inventory Agent 4 | * Copyright (C) 2019 Teclib. 5 | * 6 | * https://glpi-project.org 7 | * 8 | * Based on Flyve MDM Inventory Agent For Android 9 | * Copyright © 2018 Teclib. All rights reserved. 10 | * 11 | * --------------------------------------------------------------------- 12 | * 13 | * LICENSE 14 | * 15 | * This file is part of GLPI Android Inventory Agent. 16 | * 17 | * GLPI Android Inventory Agent is a subproject of GLPI. 18 | * 19 | * GLPI Android Inventory Agent is free software: you can redistribute it and/or 20 | * modify it under the terms of the GNU General Public License 21 | * as published by the Free Software Foundation; either version 3 22 | * of the License, or (at your option) any later version. 23 | * 24 | * GLPI Android Inventory Agent is distributed in the hope that it will be useful, 25 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 26 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 27 | * GNU General Public License for more details. 28 | * --------------------------------------------------------------------- 29 | * @copyright Copyright © 2019 Teclib. All rights reserved. 30 | * @license GPLv3 https://www.gnu.org/licenses/gpl-3.0.html 31 | * @link https://github.com/glpi-project/android-inventory-agent 32 | * @link https://glpi-project.org/glpi-network/ 33 | * --------------------------------------------------------------------- 34 | */ 35 | 36 | package org.glpi.inventory.agent.core.servers; 37 | 38 | import android.app.Activity; 39 | 40 | import java.util.ArrayList; 41 | 42 | public interface Servers { 43 | 44 | interface View { 45 | void showError(String message); 46 | void showServer(ArrayList load); 47 | } 48 | 49 | interface Presenter { 50 | // Views 51 | void showError(String message); 52 | void showServers(ArrayList model); 53 | 54 | // Models 55 | void loadServers(final Activity activity); 56 | } 57 | 58 | interface Model { 59 | void loadServers(final Activity activity); 60 | } 61 | } 62 | -------------------------------------------------------------------------------- /app/src/main/java/org/glpi/inventory/agent/core/categories/Categories.java: -------------------------------------------------------------------------------- 1 | /** 2 | * --------------------------------------------------------------------- 3 | * GLPI Android Inventory Agent 4 | * Copyright (C) 2019 Teclib. 5 | * 6 | * https://glpi-project.org 7 | * 8 | * Based on Flyve MDM Inventory Agent For Android 9 | * Copyright © 2018 Teclib. All rights reserved. 10 | * 11 | * --------------------------------------------------------------------- 12 | * 13 | * LICENSE 14 | * 15 | * This file is part of GLPI Android Inventory Agent. 16 | * 17 | * GLPI Android Inventory Agent is a subproject of GLPI. 18 | * 19 | * GLPI Android Inventory Agent is free software: you can redistribute it and/or 20 | * modify it under the terms of the GNU General Public License 21 | * as published by the Free Software Foundation; either version 3 22 | * of the License, or (at your option) any later version. 23 | * 24 | * GLPI Android Inventory Agent is distributed in the hope that it will be useful, 25 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 26 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 27 | * GNU General Public License for more details. 28 | * --------------------------------------------------------------------- 29 | * @copyright Copyright © 2019 Teclib. All rights reserved. 30 | * @license GPLv3 https://www.gnu.org/licenses/gpl-3.0.html 31 | * @link https://github.com/glpi-project/android-inventory-agent 32 | * @link https://glpi-project.org/glpi-network/ 33 | * --------------------------------------------------------------------- 34 | */ 35 | 36 | package org.glpi.inventory.agent.core.categories; 37 | 38 | import android.content.Context; 39 | 40 | import java.util.ArrayList; 41 | 42 | public interface Categories { 43 | 44 | interface View { 45 | void showError(String message); 46 | void showCategories(ArrayList model); 47 | } 48 | 49 | interface Presenter { 50 | // Views 51 | void showError(String message); 52 | void showCategory(ArrayList model); 53 | 54 | // Models 55 | void loadCategory(Context applicationContext); 56 | } 57 | 58 | interface Model { 59 | void loadCategory(Context applicationContext); 60 | } 61 | } 62 | -------------------------------------------------------------------------------- /app/src/main/java/org/glpi/inventory/agent/broadcast/BootStartAgent.java: -------------------------------------------------------------------------------- 1 | /** 2 | * --------------------------------------------------------------------- 3 | * GLPI Android Inventory Agent 4 | * Copyright (C) 2019 Teclib. 5 | * 6 | * https://glpi-project.org 7 | * 8 | * Based on Flyve MDM Inventory Agent For Android 9 | * Copyright © 2018 Teclib. All rights reserved. 10 | * 11 | * --------------------------------------------------------------------- 12 | * 13 | * LICENSE 14 | * 15 | * This file is part of GLPI Android Inventory Agent. 16 | * 17 | * GLPI Android Inventory Agent is a subproject of GLPI. 18 | * 19 | * GLPI Android Inventory Agent is free software: you can redistribute it and/or 20 | * modify it under the terms of the GNU General Public License 21 | * as published by the Free Software Foundation; either version 3 22 | * of the License, or (at your option) any later version. 23 | * 24 | * GLPI Android Inventory Agent is distributed in the hope that it will be useful, 25 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 26 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 27 | * GNU General Public License for more details. 28 | * --------------------------------------------------------------------- 29 | * @copyright Copyright © 2019 Teclib. All rights reserved. 30 | * @license GPLv3 https://www.gnu.org/licenses/gpl-3.0.html 31 | * @link https://github.com/glpi-project/android-inventory-agent 32 | * @link https://glpi-project.org/glpi-network/ 33 | * --------------------------------------------------------------------- 34 | */ 35 | 36 | package org.glpi.inventory.agent.broadcast; 37 | 38 | import android.content.BroadcastReceiver; 39 | import android.content.Context; 40 | import android.content.Intent; 41 | import org.glpi.inventory.agent.ui.ActivityMain; 42 | 43 | public class BootStartAgent extends BroadcastReceiver { 44 | 45 | @Override 46 | public void onReceive(Context context, Intent intent) { 47 | if (Intent.ACTION_BOOT_COMPLETED.equals(intent.getAction())) { 48 | Intent activityIntent = new Intent(context, ActivityMain.class); 49 | activityIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); 50 | context.startActivity(activityIntent); 51 | } 52 | } 53 | } 54 | -------------------------------------------------------------------------------- /app/src/main/java/org/glpi/inventory/agent/core/permission/Permission.java: -------------------------------------------------------------------------------- 1 | /** 2 | * --------------------------------------------------------------------- 3 | * GLPI Android Inventory Agent 4 | * Copyright (C) 2019 Teclib. 5 | * 6 | * https://glpi-project.org 7 | * 8 | * Based on Flyve MDM Inventory Agent For Android 9 | * Copyright © 2018 Teclib. All rights reserved. 10 | * 11 | * --------------------------------------------------------------------- 12 | * 13 | * LICENSE 14 | * 15 | * This file is part of GLPI Android Inventory Agent. 16 | * 17 | * GLPI Android Inventory Agent is a subproject of GLPI. 18 | * 19 | * GLPI Android Inventory Agent is free software: you can redistribute it and/or 20 | * modify it under the terms of the GNU General Public License 21 | * as published by the Free Software Foundation; either version 3 22 | * of the License, or (at your option) any later version. 23 | * 24 | * GLPI Android Inventory Agent is distributed in the hope that it will be useful, 25 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 26 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 27 | * GNU General Public License for more details. 28 | * --------------------------------------------------------------------- 29 | * @copyright Copyright © 2019 Teclib. All rights reserved. 30 | * @license GPLv3 https://www.gnu.org/licenses/gpl-3.0.html 31 | * @link https://github.com/glpi-project/android-inventory-agent 32 | * @link https://glpi-project.org/glpi-network/ 33 | * --------------------------------------------------------------------- 34 | */ 35 | 36 | package org.glpi.inventory.agent.core.permission; 37 | 38 | import android.app.Activity; 39 | 40 | public interface Permission { 41 | 42 | interface View { 43 | void showError(String message); 44 | void permissionSuccess(); 45 | } 46 | 47 | interface Presenter { 48 | // Views 49 | void showError(String message); 50 | void permissionSuccess(); 51 | 52 | // Models 53 | void requestPermission(Activity activity); 54 | void openMain(Activity activity); 55 | } 56 | 57 | interface Model { 58 | void requestPermission(Activity activity); 59 | void openMain(Activity activity); 60 | } 61 | } 62 | -------------------------------------------------------------------------------- /app/src/main/java/org/glpi/inventory/agent/core/help/Help.java: -------------------------------------------------------------------------------- 1 | /** 2 | * --------------------------------------------------------------------- 3 | * GLPI Android Inventory Agent 4 | * Copyright (C) 2019 Teclib. 5 | * 6 | * https://glpi-project.org 7 | * 8 | * Based on Flyve MDM Inventory Agent For Android 9 | * Copyright © 2018 Teclib. All rights reserved. 10 | * 11 | * --------------------------------------------------------------------- 12 | * 13 | * LICENSE 14 | * 15 | * This file is part of GLPI Android Inventory Agent. 16 | * 17 | * GLPI Android Inventory Agent is a subproject of GLPI. 18 | * 19 | * GLPI Android Inventory Agent is free software: you can redistribute it and/or 20 | * modify it under the terms of the GNU General Public License 21 | * as published by the Free Software Foundation; either version 3 22 | * of the License, or (at your option) any later version. 23 | * 24 | * GLPI Android Inventory Agent is distributed in the hope that it will be useful, 25 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 26 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 27 | * GNU General Public License for more details. 28 | * --------------------------------------------------------------------- 29 | * @copyright Copyright © 2019 Teclib. All rights reserved. 30 | * @license GPLv3 https://www.gnu.org/licenses/gpl-3.0.html 31 | * @link https://github.com/glpi-project/android-inventory-agent 32 | * @link https://glpi-project.org/glpi-network/ 33 | * --------------------------------------------------------------------- 34 | */ 35 | 36 | package org.glpi.inventory.agent.core.help; 37 | 38 | import android.app.Activity; 39 | import android.webkit.WebView; 40 | 41 | import androidx.appcompat.widget.Toolbar; 42 | 43 | public interface Help { 44 | 45 | interface View { 46 | void showError(String message); 47 | boolean onBackPressed(); 48 | void setToolbar(Toolbar toolbar); 49 | 50 | } 51 | 52 | interface Presenter { 53 | // Views 54 | void showError(String message); 55 | 56 | // Models 57 | void loadWebsite(final Activity activity, WebView wv, String url); 58 | } 59 | 60 | interface Model { 61 | void loadWebsite(final Activity activity, WebView wv, String url); 62 | } 63 | } 64 | -------------------------------------------------------------------------------- /app/src/main/java/org/glpi/inventory/agent/core/help/HelpPresenter.java: -------------------------------------------------------------------------------- 1 | /** 2 | * --------------------------------------------------------------------- 3 | * GLPI Android Inventory Agent 4 | * Copyright (C) 2019 Teclib. 5 | * 6 | * https://glpi-project.org 7 | * 8 | * Based on Flyve MDM Inventory Agent For Android 9 | * Copyright © 2018 Teclib. All rights reserved. 10 | * 11 | * --------------------------------------------------------------------- 12 | * 13 | * LICENSE 14 | * 15 | * This file is part of GLPI Android Inventory Agent. 16 | * 17 | * GLPI Android Inventory Agent is a subproject of GLPI. 18 | * 19 | * GLPI Android Inventory Agent is free software: you can redistribute it and/or 20 | * modify it under the terms of the GNU General Public License 21 | * as published by the Free Software Foundation; either version 3 22 | * of the License, or (at your option) any later version. 23 | * 24 | * GLPI Android Inventory Agent is distributed in the hope that it will be useful, 25 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 26 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 27 | * GNU General Public License for more details. 28 | * --------------------------------------------------------------------- 29 | * @copyright Copyright © 2019 Teclib. All rights reserved. 30 | * @license GPLv3 https://www.gnu.org/licenses/gpl-3.0.html 31 | * @link https://github.com/glpi-project/android-inventory-agent 32 | * @link https://glpi-project.org/glpi-network/ 33 | * --------------------------------------------------------------------- 34 | */ 35 | 36 | package org.glpi.inventory.agent.core.help; 37 | 38 | import android.app.Activity; 39 | import android.webkit.WebView; 40 | 41 | public class HelpPresenter implements Help.Presenter { 42 | 43 | private Help.View view; 44 | private Help.Model model; 45 | 46 | public HelpPresenter(Help.View view){ 47 | this.view = view; 48 | model = new HelpModel(this); 49 | } 50 | 51 | @Override 52 | public void showError(String message) { 53 | if(view!=null) { 54 | view.showError(message); 55 | } 56 | } 57 | 58 | @Override 59 | public void loadWebsite(Activity activity, WebView wv, String url) { 60 | model.loadWebsite(activity, wv, url); 61 | } 62 | } 63 | -------------------------------------------------------------------------------- /app/src/main/java/org/glpi/inventory/agent/schema/ListInventorySchema.java: -------------------------------------------------------------------------------- 1 | /** 2 | * --------------------------------------------------------------------- 3 | * GLPI Android Inventory Agent 4 | * Copyright (C) 2019 Teclib. 5 | * 6 | * https://glpi-project.org 7 | * 8 | * Based on Flyve MDM Inventory Agent For Android 9 | * Copyright © 2018 Teclib. All rights reserved. 10 | * 11 | * --------------------------------------------------------------------- 12 | * 13 | * LICENSE 14 | * 15 | * This file is part of GLPI Android Inventory Agent. 16 | * 17 | * GLPI Android Inventory Agent is a subproject of GLPI. 18 | * 19 | * GLPI Android Inventory Agent is free software: you can redistribute it and/or 20 | * modify it under the terms of the GNU General Public License 21 | * as published by the Free Software Foundation; either version 3 22 | * of the License, or (at your option) any later version. 23 | * 24 | * GLPI Android Inventory Agent is distributed in the hope that it will be useful, 25 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 26 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 27 | * GNU General Public License for more details. 28 | * --------------------------------------------------------------------- 29 | * @copyright Copyright © 2019 Teclib. All rights reserved. 30 | * @license GPLv3 https://www.gnu.org/licenses/gpl-3.0.html 31 | * @link https://github.com/glpi-project/android-inventory-agent 32 | * @link https://glpi-project.org/glpi-network/ 33 | * --------------------------------------------------------------------- 34 | */ 35 | 36 | package org.glpi.inventory.agent.schema; 37 | 38 | public class ListInventorySchema { 39 | 40 | private String title; 41 | private String description; 42 | private String type; 43 | 44 | public void setTitle(String title) { 45 | this.title = title; 46 | } 47 | 48 | public String getTitle() { 49 | return title; 50 | } 51 | 52 | public void setDescription(String description) { 53 | this.description = description; 54 | } 55 | 56 | public String getDescription() { 57 | return description; 58 | } 59 | 60 | public void setType(String type) { 61 | this.type = type; 62 | } 63 | 64 | public String getType() { 65 | return type; 66 | } 67 | } -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_permission.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 22 | 23 | 35 | 36 |