-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(assets): add graphic resources and translations (#16)
* add new produc icon * add new splash screen * add fastlane deployment * add spanish translations Closes: https://github.com/flyve-mdm/flyve-mdm-android-inventory-agent/issues/13, https://github.com/flyve-mdm/flyve-mdm-android-inventory-agent/issues/14 and https://github.com/flyve-mdm/flyve-mdm-android-inventory-agent/issues/11
- Loading branch information
Showing
97 changed files
with
559 additions
and
80 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -75,3 +75,7 @@ build | |
gradle/ | ||
gradlew | ||
gradlew.bat | ||
|
||
#fastlane | ||
/fastlane/README.md | ||
/fastlane/report.xml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,22 @@ | ||
language: android | ||
android: | ||
components: | ||
- build-tools-22.0.1 | ||
- android-16 | ||
|
||
- build-tools-$BUILD_TOOL | ||
- android-$ANDROID_API | ||
- extra-android-m2repository | ||
install: | ||
- rvm install 2.3.4 | ||
- gem install fastlane | ||
after_success: | ||
- "./ci/deploy.sh" | ||
notifications: | ||
webhooks: https://fathomless-fjord-24024.herokuapp.com/notify | ||
webhooks: https://fathomless-fjord-24024.herokuapp.com/notify | ||
env: | ||
global: | ||
- BUILD_TOOL=22.0.1 | ||
- ANDROID_API=16 | ||
- secure: jhEI4J9G7OrxfHbv8Z10wXoQxXWklFakZcs3ze/U2CcxfYKN73xD5rpj5gaP45fFkKFZXccpZahWcmbpMjPRznJLmklGL8oNEdlD/zRmy7wr+d0TO1Bs3n8TskSJYQTF7iMjp14vuxANrpM3SHvp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OSaAqKQdmOHS24gYadqioiL1Rr3CH+kndvdlGJ1Gw3h3BasF5glPOyP7AzbTFS5FSSihRBy6WsSRZI1WmTqnFGmw00vtP9brIHdYkTTnZNuWyfw8QHiwPtuMR3Dwhzp/wTKrqlgMgqm3sZGEs= | ||
before_install: | ||
- openssl aes-256-cbc -K $encrypted_068c9b6f4b86_key -iv $encrypted_068c9b6f4b86_iv | ||
-in google.tar.gz.enc -out ci/google.tar.gz -d |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
apply plugin: 'com.android.application' | ||
|
||
android { | ||
compileSdkVersion 16 | ||
buildToolsVersion "22.0.1" | ||
|
||
defaultConfig { | ||
applicationId "org.flyve.inventory.agent" | ||
minSdkVersion 12 | ||
targetSdkVersion 12 | ||
} | ||
|
||
lintOptions { | ||
checkReleaseBuilds false | ||
abortOnError false | ||
} | ||
|
||
buildTypes { | ||
release { | ||
minifyEnabled false | ||
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt' | ||
} | ||
} | ||
} | ||
|
||
repositories { | ||
maven { | ||
url 'https://dl.bintray.com/flyve-mdm/inventory' | ||
} | ||
} | ||
|
||
dependencies { | ||
compile 'com.flyvemdm:inventory:1.0.2@aar' | ||
} | ||
|
||
import java.util.regex.Pattern | ||
|
||
task('increaseVersionCode') << { | ||
def manifestFile = file("src/main/AndroidManifest.xml") | ||
def pattern = Pattern.compile("versionCode=\"(\\d+)\"") | ||
def manifestText = manifestFile.getText() | ||
def matcher = pattern.matcher(manifestText) | ||
matcher.find() | ||
def versionCode = Integer.parseInt(matcher.group(1)) | ||
def manifestContent = matcher.replaceAll("versionCode=\"" + ++versionCode + "\"") | ||
manifestFile.write(manifestContent) | ||
} | ||
|
||
task('incrementVersionName') << { | ||
def manifestFile = file("src/main/AndroidManifest.xml") | ||
def patternVersionNumber = Pattern.compile("versionName=\"(\\d+)\\.(\\d+)\\.(\\d+)\"") | ||
def manifestText = manifestFile.getText() | ||
def matcherVersionNumber = patternVersionNumber.matcher(manifestText) | ||
matcherVersionNumber.find() | ||
def majorVersion = Integer.parseInt(matcherVersionNumber.group(1)) | ||
def minorVersion = Integer.parseInt(matcherVersionNumber.group(2)) | ||
def pointVersion = Integer.parseInt(matcherVersionNumber.group(3)) | ||
def mNextVersionName = majorVersion + "." + minorVersion + "." + (pointVersion+1) | ||
def manifestContent = matcherVersionNumber.replaceAll("versionName=\"" + mNextVersionName + "\"") | ||
manifestFile.write(manifestContent) | ||
} | ||
|
||
tasks.whenTaskAdded { task -> | ||
if (task.name == 'generateReleaseBuildConfig' || task.name == 'generateDebugBuildConfig') { | ||
task.dependsOn 'increaseVersionCode' | ||
task.dependsOn 'incrementVersionName' | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<RelativeLayout | ||
xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent" | ||
> | ||
|
||
<ImageView | ||
android:id="@+id/imgInventory" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:src="@drawable/logoinventory" | ||
android:layout_centerHorizontal="true" | ||
android:layout_centerVertical="true" | ||
/> | ||
|
||
<ImageView | ||
android:id="@+id/imgLogoTeclib" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:src="@drawable/logoteclib" | ||
android:layout_alignParentBottom="true" | ||
android:layout_marginBottom="40dp" | ||
android:layout_centerHorizontal="true" | ||
/> | ||
|
||
</RelativeLayout> |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<resources> | ||
<string name="agent_started">Inventory Agent esta comenzando</string> | ||
<string name="agent_stopped">Inventory Agent se detuvo</string> | ||
<string name="agent_reboot">Inventory Agent se esta reiniciando</string> | ||
<string name="agent_description">El agente esta en proceso de fondo</string> | ||
<string name="button_start_inventory">Comenzando el Inventario</string> | ||
<string name="menu_settings">Configuración</string> | ||
<string name="menu_clearlog">Limpiar Historial</string> | ||
<string name="menu_send">Enviar</string> | ||
<string name="menu_getinv">Obtener Inventario</string> | ||
<string name="all_permissions">Grant all possible permissions</string> | ||
<string name="agent_connected">Conectado al servicio</string> | ||
<string name="agent_disconnected">Desconectado del servicio</string> | ||
<string name="inventory_started">Comenzando el inventario...</string> | ||
<string name="inventory_sended">Enviando el inventario...</string> | ||
<string name="inventory_ended">Fin del inventario.</string> | ||
<string name="button_connect_agent">Agente Conectado</string> | ||
<string name="button_disconnect_agent">Agente Desconectado</string> | ||
<string name="error_inventory">No se completo el Inventario</string> | ||
<string name="ok_inventory">Inventario completo</string> | ||
<string name="error_send_inventoryi">El inventario no fue enviado</string> | ||
<string name="ok_send_inventory">Inventario enviado</string> | ||
<string name="service_notif_id">Inventory Agent</string> | ||
<string-array name="agent_status"> | ||
<item>El agente espera una orden ...</item> | ||
<item>El agent esta organizando el inventario ...</item> | ||
</string-array> | ||
<string name="agent_settings">Configuración del Agent</string> | ||
<string name="phone_boot">El agente puede ser activido luego de reiniciar</string> | ||
<string name="manual_launch">El agente debe ser activado manualmente</string> | ||
<string name="boot_options">Opciones de reinicio</string> | ||
<string name="inventory_server">Servidor de Inventario</string> | ||
<string name="log_text">Respuesta del servidor</string> | ||
<string name="authentication_credentials">Credenciales de autorización HTTP</string> | ||
<string name="login">Usuario</string> | ||
<string name="password">Contraseña</string> | ||
<string name="tag">Etiqueta</string> | ||
</resources> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<resources> | ||
|
||
<!-- Accueil Preferences --> | ||
|
||
<string name="AccueilTitle">Configuración de la aplicación</string> | ||
|
||
<!-- Inventory part --> | ||
|
||
<string name="AccueilInventoryTitle">Inventario</string> | ||
<string name="AccueilInventorySummaryOn">Click para desactivar el inventario</string> | ||
<string name="AccueilInventorySummaryOff">Click para activar el inventario</string> | ||
<string name="AccueilInventoryRun">Correr el inventario ahora!</string> | ||
<string name="AccueilInventoryRunSummary">Correr ahora!</string> | ||
<string name="AccueilInventoryParam">Parametros del inventario</string> | ||
<string name="AccueilInventoryParamSummary">Frecuencia del inventario</string> | ||
|
||
<!-- Remote view part --> | ||
|
||
<string name="AccueilRemoteTitle">Vista remota</string> | ||
<string name="AccueilRemoteSummaryOn">Click para desactivar la vista remota</string> | ||
<string name="AccueilRemoteSummaryOff">Click para activar la vista remota</string> | ||
<string name="AccueilRemoteParam">Parametros de la vista remota</string> | ||
<string name="AccueilRemoteParamSummary">Configurar la vista remota</string> | ||
|
||
<!-- SSH part --> | ||
|
||
<string name="AccueilSshTitle">Secure Shell</string> | ||
<string name="AccueilSshSummaryOn">Click para desactivar SSH</string> | ||
<string name="AccueilSshSummaryOff">Click para activar SSH</string> | ||
|
||
<!-- global part --> | ||
|
||
<string name="AccueilGlobalTitle">Global</string> | ||
<string name="AccueilGlobalParam">Configuración Global</string> | ||
<string name="AccueilGlobalParamSummary">Configurar certificados, servidores ...</string> | ||
|
||
|
||
|
||
</resources> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<resources> | ||
|
||
<!-- Global settings part --> | ||
|
||
<string name="GlobalCat">Global</string> | ||
|
||
<string name="GlobalBoot">Opciones de reinicio</string> | ||
<string name="GlobalBootSummaryOn">Click para desactivar el reinicio automatico</string> | ||
<string name="GlobalBootSummaryOff">Click para activar el reinicio automatico</string> | ||
|
||
<string name="GlobalNotif">Notificaciones</string> | ||
<string name="GlobalNotifSummaryOn">Click para desactivar las notificaciones</string> | ||
<string name="GlobalNotifSummaryOff">Click para activar las notificaciones</string> | ||
|
||
<string name="GlobalCatSet">Configuracion del servidor</string> | ||
|
||
<string name="GlobalServer">Dirección del Servidor</string> | ||
<string name="GlobalServerSummary">Define la dirección del servidor</string> | ||
|
||
<string name="GlobalService">Autenticación</string> | ||
<string name="GlobalServiceSummary">Configura contraseñas, llaves públicas ...</string> | ||
|
||
<string name="GlobalCatAdvanced">Configuración Advanzada</string> | ||
|
||
<string name="GlobalAdvanced">Configuración avanzada</string> | ||
<string name="GlobalAdvancedSummary">Configura daemon settings, dirección de binarios ...</string> | ||
|
||
</resources> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<resources> | ||
|
||
<!-- Inventory Preferences --> | ||
|
||
<string name="InventoryCat">Inventario</string> | ||
|
||
<string name="InventoryAuto">Inventario automatico</string> | ||
<string name="InventoryAutoSummaryOn">Click para desactivar el inventario automatico</string> | ||
<string name="InventoryAutoSummaryOff">Click para activar el inventario automatico</string> | ||
|
||
<string name="InventoryFrequency">Frecuencia</string> | ||
<string name="InventoryFrequencyDialog">Cada :</string> | ||
<string name="InventoryFrequencySummary">Define la frecuencia</string> | ||
|
||
</resources> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<resources> | ||
<string-array name="Time"> | ||
<item>día</item> | ||
<item>semana</item> | ||
<item>mes</item> | ||
</string-array> | ||
<string-array name="TimeValue"> | ||
<item>Día</item> | ||
<item>Semana</item> | ||
<item>Mes</item> | ||
</string-array> | ||
</resources> | ||
|
3 changes: 0 additions & 3 deletions
3
src/main/res/values-fr/strings.xml → app/src/main/res/values-fr/strings.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
src/main/res/values/strings.xml → app/src/main/res/values/strings.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<resources> | ||
<style name="AppTheme" parent="android:Theme.Holo.Light"/> | ||
|
||
<style name="NoActionBar" parent="android:Theme.Holo.Light"> | ||
<item name="android:windowActionBar">false</item> | ||
<item name="android:windowNoTitle">true</item> | ||
</style> | ||
|
||
</resources> |
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.