# Android Managed Settings Packager Local source edition 1.0.0. Generate Android Enterprise managed-setting resources for your app. Download its restrictions XML, option labels, manifest entry and typed example defaults. ## Run locally Extract the complete ZIP. Use Python 3.12 from a terminal in the extracted directory. The tool uses the Python standard library. python run.py example.json results Use a new output folder for each run. Start with example.json and replace its synthetic values with your own data. Preserve field names, types and units. Files and reports are processed on your computer. ## Inputs Supply a unique lowercase Android resource prefix and 1–100 settings. Each has key, type and title. Supported types are string, integer, bool, choice and multi-select. Optional fields are description and default. Choice types need 1–32 options with value and label. Supply only app schema definitions and public-safe example defaults. Keep deployment credentials on your own systems. ## Results Extract SETTINGS.zip into a staging folder. Merge res into your Android module and add the meta-data element from manifest-fragment.xml under application in AndroidManifest.xml. If your app already declares an APP_RESTRICTIONS XML, merge the restriction entries into that file. managed-defaults.json shows the explicitly supplied defaults with their native JSON types. Your app handles these settings through RestrictionsManager. Compile and test your own app before deployment. The results folder includes summary.json and the output files produced by this input. The sample produces: SETTINGS.zip. ## Español · Generador de configuración gestionada para Android Prepara restricciones XML, etiquetas, una entrada de manifiesto y valores de ejemplo para Android Enterprise. Extrae el ZIP completo y abre una terminal en esa carpeta con Python 3.12. El programa usa la biblioteca estándar de Python. Ejecuta: python run.py example.json resultados Copia example.json para preparar tus datos. Conserva los nombres y tipos de los campos, usa una carpeta de salida nueva y consulta summary.json junto con los archivos generados. La descripción detallada de los campos está en inglés. The included LICENSE covers use and modification for your own personal and commercial projects. This edition includes its source and can run locally after setup.