mirror of
https://github.com/CatimaLoyalty/Android.git
synced 2025-12-25 08:07:56 -05:00
Compare commits
13 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
dd0bb18234 | ||
|
|
35c778eadc | ||
|
|
63e0356ddd | ||
|
|
9820bca315 | ||
|
|
2e457dc06e | ||
|
|
8bfd0f1215 | ||
|
|
cdbbf9222a | ||
|
|
96c665a539 | ||
|
|
c0e8a33605 | ||
|
|
fb96dfc8ac | ||
|
|
41590706b5 | ||
|
|
59a7976ad5 | ||
|
|
281fc30418 |
@@ -1,10 +1,13 @@
|
||||
# Loyalty Card Locker
|
||||
[](https://travis-ci.org/brarcher/loyalty-card-locker)
|
||||
|
||||
[](https://f-droid.org/repository/browse/?fdid=protect.card_locker "Loyalty Card Locker on F-Droid")
|
||||
|
||||
|
||||
Stores all of your store loyalty cards on your phone, removing the need to carry them around.
|
||||
|
||||
If there is any interest in improving this project, kindly submit a pull request with
|
||||
proposed changed.
|
||||
proposed changes.
|
||||
|
||||
# Thanks
|
||||
|
||||
|
||||
@@ -8,8 +8,8 @@ android {
|
||||
applicationId "protect.card_locker"
|
||||
minSdkVersion 17
|
||||
targetSdkVersion 23
|
||||
versionCode 1
|
||||
versionName "0.1"
|
||||
versionCode 2
|
||||
versionName "0.2"
|
||||
}
|
||||
buildTypes {
|
||||
release {
|
||||
|
||||
@@ -2,8 +2,18 @@
|
||||
<manifest package="protect.card_locker"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<uses-feature android:required="true" android:name="android.hardware.camera"/>
|
||||
<uses-permission android:maxSdkVersion="18" android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
|
||||
<uses-permission
|
||||
android:name="android.permission.CAMERA"/>
|
||||
<uses-permission
|
||||
android:maxSdkVersion="18"
|
||||
android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
|
||||
|
||||
<uses-feature
|
||||
android:name="android.hardware.camera"
|
||||
android:required="true" />
|
||||
<uses-feature
|
||||
android:name="android.hardware.camera.autofocus"
|
||||
android:required="false" />
|
||||
|
||||
<application
|
||||
android:allowBackup="false"
|
||||
|
||||
@@ -170,7 +170,7 @@ public class LoyaltyCardViewActivity extends AppCompatActivity
|
||||
public void onClick(View v)
|
||||
{
|
||||
IntentIntegrator integrator = new IntentIntegrator(LoyaltyCardViewActivity.this);
|
||||
integrator.setDesiredBarcodeFormats(IntentIntegrator.PRODUCT_CODE_TYPES);
|
||||
integrator.setDesiredBarcodeFormats(IntentIntegrator.ONE_D_CODE_TYPES);
|
||||
|
||||
String prompt = getResources().getString(R.string.scanCardBarcode);
|
||||
integrator.setPrompt(prompt);
|
||||
|
||||
28
app/src/main/res/values-it/strings.xml
Normal file
28
app/src/main/res/values-it/strings.xml
Normal file
@@ -0,0 +1,28 @@
|
||||
<resources>
|
||||
<string name="app_name">Carte fedeltà</string>
|
||||
<string name="action_add">Aggiungi</string>
|
||||
|
||||
<string name="noGiftCards">Non hai ancora alcuna tessera fedeltà al momento. Premi sul bottone "+" (più) in alto per incominciare.\n\nL\'app ti permette di portare con te le tue tessere fedeltà, così da averle sempre a disposizione.</string>
|
||||
|
||||
<string name="storeName">Negozio</string>
|
||||
<string name="cardId">Codice</string>
|
||||
<string name="barcodeType">Tipo codice a barre</string>
|
||||
|
||||
<string name="cancel">Annulla</string>
|
||||
<string name="save">Salva</string>
|
||||
<string name="capture">Salva tessera</string>
|
||||
<string name="edit">Modifica</string>
|
||||
<string name="delete">Elimina</string>
|
||||
|
||||
<string name="editCardTitle">Modifica carta</string>
|
||||
<string name="addCardTitle">Aggiungi carta</string>
|
||||
<string name="viewCardTitle">Mostra carta</string>
|
||||
<string name="scanCardBarcode">Scansiona codice carta</string>
|
||||
|
||||
<string name="barcodeImageDescription">Immagine del codice a barre della carta</string>
|
||||
|
||||
<string name="noStoreError">Nessun negozio inserito</string>
|
||||
<string name="noCardIdError">Nessun codice carta inserito</string>
|
||||
|
||||
<string name="cardIdFormat">%1$s: %2$s</string>
|
||||
</resources>
|
||||
Reference in New Issue
Block a user