Skip to content

Commit

Permalink
0.5.2
Browse files Browse the repository at this point in the history
  • Loading branch information
ghassani committed Dec 7, 2010
1 parent fc880e6 commit d451ecb
Show file tree
Hide file tree
Showing 29 changed files with 322 additions and 114 deletions.
Binary file removed bin/MEID Converter.apk
Binary file not shown.
Binary file removed bin/classes.dex
Binary file not shown.
Binary file not shown.
Binary file removed bin/com/splicedmedia/android/meidconverter/R$attr.class
Binary file not shown.
Binary file not shown.
Binary file removed bin/com/splicedmedia/android/meidconverter/R$id.class
Binary file not shown.
Binary file not shown.
Binary file removed bin/com/splicedmedia/android/meidconverter/R$raw.class
Binary file not shown.
Binary file not shown.
Binary file removed bin/com/splicedmedia/android/meidconverter/R.class
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed bin/resources.ap_
Binary file not shown.
Binary file added res/drawable/about.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/drawable/back.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/drawable/calculator.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/drawable/datas.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 17 additions & 3 deletions res/layout/history.xml
@@ -1,10 +1,25 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2010 Gassan Idriss
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<TableLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/table"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical"
android:background="#fff"
android:color="#000"
android:padding="10px"
android:stretchColumns="1">
<Button android:id="@+id/calculate"
Expand All @@ -15,13 +30,12 @@
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="@string/clearHistoryButton" />
<TextView android:id="@+id/meid_label"
<TextView android:id="@+id/title"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:editable="false"
android:textColor="#000000"
android:textSize="10pt"
android:gravity="center"
android:text="@string/historyTitle" />

android:text="@string/historyTitle" />
</TableLayout>
35 changes: 21 additions & 14 deletions res/layout/main.xml
@@ -1,8 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
*TODO test meid: 268435458915701359 / A000001DEF956F = ??????
test esn: 02003541147 = 109216
-->
<!-- Copyright (C) 2010 Gassan Idriss
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
Expand All @@ -21,8 +31,7 @@
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="@string/initialInputText"
android:gravity="center"
android:width="300px" />
android:gravity="center" />
<Button android:id="@+id/calculate"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
Expand All @@ -31,19 +40,17 @@
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:editable="false"
android:height="150px"
android:textColor="#ffffff"
android:background="@layout/resultbox"
android:text=""
android:text="Enter a MEID or DEC to Calculate"
android:gravity="center"
android:padding="10px" />
<Button android:id="@+id/history"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="@string/historyButton" />
<TextView android:id="@+id/copyright"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:editable="false"
android:textColor="#000000"
android:text="@string/copyright" />
<Button android:id="@+id/about"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="@string/aboutButton" />
</LinearLayout>
16 changes: 15 additions & 1 deletion res/layout/resultbox.xml
@@ -1,5 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright (C) 2010 Gassan Idriss
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle">
<gradient android:startColor="#000000" android:endColor="#000000" android:angle="270"/>
<gradient android:startColor="#000000" android:endColor="#000000" android:angle="270"/>
<corners android:bottomRightRadius="7dp" android:bottomLeftRadius="7dp" android:topLeftRadius="7dp" android:topRightRadius="7dp"/>
</shape>
Binary file removed res/raw/error.mp3
Binary file not shown.
Binary file removed res/raw/success.mp3
Binary file not shown.
37 changes: 36 additions & 1 deletion res/values-es/strings.xml
@@ -1,3 +1,38 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2010 Gassan Idriss
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<resources>
</resources>
<string name="app_name_history">MEID Converter - Historia</string>
<string name="app_name">MEID Converter</string>
<string name="inputLabel">Ingrese su ESN o MEID</string>
<string name="initialInputText"></string>
<string name="inputTypeLabel">Escriba el número de serie</string>
<string name="alertExceptionTitle">¡Vaya.</string>
<string name="alertButtonConfirm">Ok</string>
<string name="alertButtonCancel">Cancelar</string>
<string name="alertInputErrorTitle">¡Vaya.</string>
<string name="calcButton">Calcular</string>
<string name="historyButton">Ver anteriores cálculos</string>
<string name="calcViewButton">Calcular Otro</string>
<string name="historyTitle">Los Cálculos Previos</string>
<string name="clearHistoryButton">Borrar el historial de</string>
<string name="alertClearHistoryTitle">Borrar el historial de</string>
<string name="clearHistoryMessage">¿Está seguro que wan \'t para borrar toda la historia?</string>
<string name="seriousErrorMessage">Un grave error fue encontrado. Aplicación se cerrará ahora.</string>
<string name="aboutButton">Acerca de</string>
<string name="aboutMessage">v0.5.2\nCreated por Gassan Idriss\nghassani@splicedmedia.com\n\nSource código y más información disponibles en GitHub en:\n\nhttps://github.com/ghassani/Android MEID-Converter\n\nLicenciado bajo la licencia Apache, versión 2.0</string>
<string name="aboutMessageTitle">Acerca de</string>
<string name="aboutReturnButton">Volver</string>
</resources>
38 changes: 37 additions & 1 deletion res/values-fr/strings.xml
@@ -1,3 +1,39 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2010 Gassan Idriss
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<resources>
</resources>
<string name="app_name_history">MEID Converter - Histoire</string>
<string name="app_name">MEID Converter</string>
<string name="inputLabel">Entrez votre ESN ou MEID</string>
<string name="initialInputText"></string>
<string name="inputTypeLabel">Type numéro de série</string>
<string name="inputError">Doit être bon MEID / ESN HEX ou la longueur décembre</string>
<string name="alertExceptionTitle">Whoops.</string>
<string name="alertButtonConfirm">Ok</string>
<string name="alertButtonCancel">Annuler</string>
<string name="alertInputErrorTitle">Whoops..</string>
<string name="calcButton">Calculer</string>
<string name="historyButton">Calculs Voir passées</string>
<string name="calcViewButton">Calculer un autre</string>
<string name="historyTitle">Les calculs précédents</string>
<string name="clearHistoryButton">Effacer l\'historique</string>
<string name="alertClearHistoryTitle">Effacer l\'historique</string>
<string name="clearHistoryMessage">Etes-vous sûr wan\'t pour effacer toute l\'histoire?</string>
<string name="seriousErrorMessage">Une grave erreur a été rencontrée. Application va se fermer.</string>
<string name="aboutButton">A propos</string>
<string name="aboutMessage">v0.5.2\nCréé par Gassan Idriss\nghassani@splicedmedia.com\n\nLe code source et plus d\'informations disponibles sur GitHub à: \n\nhttps://github.com/ghassani/Android-MEID-Converter\n\nPlacé sous la licence Apache, version 2.0</string>
<string name="aboutMessageTitle">A propos</string>
<string name="aboutReturnButton">Retour</string>
</resources>
33 changes: 25 additions & 8 deletions res/values/strings.xml
@@ -1,22 +1,39 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2010 Gassan Idriss
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<resources>
<string name="app_name_history">MEID Converter - History</string>
<string name="app_name">MEID Converter</string>
<string name="inputLabel">Enter Your ESN or MEID</string>
<string name="initialInputText">A000001DEF956F</string>
<string name="initialInputText"></string>
<string name="inputTypeLabel">Serial Number Type</string>
<string name="copyright">Created by Ghassan Idriss\nghassani@splicedmedia.com</string>
<string name="inputError">Must be 8/11/14/18 Digits Long. Use the ESN/MEID DEC Format. Yours was </string>
<string name="notificationAcceptedMEIDDec">MEID (DEC) Accepted. Calculating 6 Digit SPC</string>
<string name="notificationAcceptedMEIDHex">MEID (HEX) Accepted. Calculating 6 Digit SPC</string>
<string name="notificationAcceptedESNHex">ESN (HEX) Accepted. Calculating 6 Digit SPC.</string>
<string name="notificationAcceptedESNDec">ESN (DEC) Accepted. Calculating 6 Digit SPC.</string>
<string name="inputError">Must be proper MEID/ESN HEX or DEC length</string>
<string name="alertExceptionTitle">Whoops.</string>
<string name="alertButtonConfirm">Ok</string>
<string name="alertButtonCancel">Cancel</string>
<string name="alertInputErrorTitle">Whoops..</string>
<string name="calcButton">Calculate</string>
<string name="historyButton">View Past Calculations</string>
<string name="calcViewButton">Calculate Another</string>
<string name="historyTitle">Previous Calculations</string>
<string name="clearHistoryButton">Clear History</string>
</resources>
<string name="alertClearHistoryTitle">Clear History</string>
<string name="clearHistoryMessage">Are you sure you wan\'t to clear all history?</string>
<string name="seriousErrorMessage">A serious error was encountered. Application will now exit.</string>
<string name="aboutButton">About</string>
<string name="aboutMessage">v0.5.2\nCreated by Gassan Idriss\nghassani@splicedmedia.com\n\nSource code and more information available on GitHub at: \n\nhttps://github.com/ghassani/Android-MEID-Converter\n\nLicensed under the Apache License, Version 2.0</string>
<string name="aboutMessageTitle">About</string>
<string name="aboutReturnButton">Return</string>
</resources>

0 comments on commit d451ecb

Please sign in to comment.