Compare commits

...
10 Commits
Author SHA1 Message Date
Markus Fisch 449d8fdbbd Advance version number to 1.63.10 2024-06-30 19:41:13 +02:00
Markus Fisch f44cff9912 Use type in getParcelableExtra() on Tiramisu+
And ignore the deprecation warning for earlier Android versions.

Also use a scope function to remove the local variable in the
parent context.
2024-06-30 19:06:02 +02:00
ThetaDevandGitHub 24730dfde3 Allow file input from share menu
Updates the handleSendText method to support both types of intents.

Also extends the accepted file types to text/* to also accept VCards
and other text-based files.
2024-06-30 18:54:20 +02:00
Sergiy StuparandGitHub be6539d41f Update Ukrainian translation 2024-06-16 13:41:14 +02:00
bovirusandGitHub 60dd40554e Update Italian language 2024-06-12 09:05:24 +02:00
solokotandGitHub 837119b6ec Update Russian translation 2024-06-12 09:04:57 +02:00
Markus Fisch abe11b82e5 Fix indent in Polish translation 2024-07-11 12:49:33 +02:00
Markus Fisch 4fc1e36d04 Add a menu item to toggle screen brightness
So this setting can be enabled/disabled where it's required, too.
2024-06-11 14:22:22 +02:00
Markus Fisch 54aa15e1be Set maximum brightness when showing a barcode
To make scanning from screen easier.
2024-06-11 14:22:18 +02:00
Too Late (bot)andGitHub 876d8fc7b3 Update Polish translation 2024-06-10 20:31:07 +02:00
40 changed files with 292 additions and 56 deletions
+5
View File
@@ -1,5 +1,10 @@
# Change Log
## 1.63.10
* Use maximum brightness when showing a generated barcode
* Allow file input from share menu
* Update multiple translations
## 1.63.9
* Export/share as JPEG
* Ignore "URL:" before URLs in barcode content
+2 -2
View File
@@ -9,8 +9,8 @@ android {
minSdk 9
targetSdk sdk_version
versionCode 137
versionName '1.63.9'
versionCode 138
versionName '1.63.10'
}
signingConfigs {
+1 -1
View File
@@ -62,7 +62,7 @@
<intent-filter android:label="@string/compose_barcode">
<action android:name="android.intent.action.SEND"/>
<category android:name="android.intent.category.DEFAULT"/>
<data android:mimeType="text/plain"/>
<data android:mimeType="text/*"/>
</intent-filter>
<intent-filter>
<action android:name="com.google.zxing.client.android.SCAN"/>
@@ -9,6 +9,7 @@ import android.graphics.Matrix
import android.graphics.Rect
import android.hardware.Camera
import android.net.Uri
import android.os.Build
import android.os.Bundle
import android.support.design.widget.FloatingActionButton
import android.support.v7.app.AppCompatActivity
@@ -52,6 +53,8 @@ import de.markusfisch.android.zxingcpp.ZxingCpp.BarcodeFormat
import de.markusfisch.android.zxingcpp.ZxingCpp.Binarizer
import de.markusfisch.android.zxingcpp.ZxingCpp.ReaderOptions
import de.markusfisch.android.zxingcpp.ZxingCpp.Result
import java.io.FileInputStream
import java.util.Scanner
import kotlin.math.max
import kotlin.math.min
import kotlin.math.roundToInt
@@ -135,7 +138,7 @@ class CameraActivity : AppCompatActivity() {
initDetectorView()
if (intent?.action == Intent.ACTION_SEND &&
intent.type == "text/plain"
intent.type?.startsWith("text/") == true
) {
handleSendText(intent)
}
@@ -347,9 +350,34 @@ class CameraActivity : AppCompatActivity() {
private fun handleSendText(intent: Intent) {
val text = intent.getStringExtra(Intent.EXTRA_TEXT)
if (text?.isEmpty() == false) {
startActivity(MainActivity.getEncodeIntent(this, text, true))
finish()
return
}
// Read text from file.
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.TIRAMISU) {
@Suppress("DEPRECATION")
intent.getParcelableExtra(Intent.EXTRA_STREAM) as Uri?
} else {
intent.getParcelableExtra(Intent.EXTRA_STREAM, Uri::class.java)
}?.let { textUri ->
val file = contentResolver.openFileDescriptor(textUri, "r")
if (file != null) {
val fs = FileInputStream(file.fileDescriptor)
val scn = Scanner(fs).useDelimiter("\\A")
if (scn.hasNext()) {
startActivity(
MainActivity.getEncodeIntent(
this, scn.next(), true
)
)
finish()
}
file.close()
}
}
}
@@ -17,6 +17,7 @@ import android.widget.EditText
import de.markusfisch.android.binaryeye.R
import de.markusfisch.android.binaryeye.app.db
import de.markusfisch.android.binaryeye.app.hasWritePermission
import de.markusfisch.android.binaryeye.app.prefs
import de.markusfisch.android.binaryeye.content.copyToClipboard
import de.markusfisch.android.binaryeye.content.shareFile
import de.markusfisch.android.binaryeye.content.shareText
@@ -26,6 +27,8 @@ import de.markusfisch.android.binaryeye.graphics.COLOR_WHITE
import de.markusfisch.android.binaryeye.io.addSuffixIfNotGiven
import de.markusfisch.android.binaryeye.io.toSaveResult
import de.markusfisch.android.binaryeye.io.writeExternalFile
import de.markusfisch.android.binaryeye.os.getScreenBrightness
import de.markusfisch.android.binaryeye.os.setScreenBrightness
import de.markusfisch.android.binaryeye.view.doOnApplyWindowInsets
import de.markusfisch.android.binaryeye.view.setPaddingFromWindowInsets
import de.markusfisch.android.binaryeye.widget.ConfinedScalingImageView
@@ -54,6 +57,9 @@ class BarcodeFragment : Fragment() {
private lateinit var barcode: Barcode<*>
private lateinit var addToHistoryItem: MenuItem
private lateinit var brightenScreenItem: MenuItem
private var currentBrightness = -1f;
override fun onCreate(state: Bundle?) {
super.onCreate(state)
@@ -136,6 +142,23 @@ class BarcodeFragment : Fragment() {
Colors.entries[getInt(COLORS)]
)
override fun onResume() {
super.onResume()
if (prefs.brightenScreen) {
// Post to make sure brightenScreenItem is initialized.
view?.post {
brightenScreen()
}
}
}
override fun onPause() {
super.onPause()
if (currentBrightness > -1f) {
restoreScreenBrightness()
}
}
override fun onDestroyView() {
super.onDestroyView()
parentJob.cancel()
@@ -144,6 +167,7 @@ class BarcodeFragment : Fragment() {
override fun onCreateOptionsMenu(menu: Menu, inflater: MenuInflater) {
inflater.inflate(R.menu.fragment_barcode, menu)
addToHistoryItem = menu.findItem(R.id.add_to_history)
brightenScreenItem = menu.findItem(R.id.brighten_screen)
}
override fun onOptionsItemSelected(item: MenuItem): Boolean {
@@ -170,6 +194,17 @@ class BarcodeFragment : Fragment() {
true
}
R.id.brighten_screen -> {
prefs.brightenScreen = if (currentBrightness > -1f) {
restoreScreenBrightness()
false
} else {
brightenScreen()
true
}
true
}
else -> super.onOptionsItemSelected(item)
}
}
@@ -294,6 +329,22 @@ class BarcodeFragment : Fragment() {
}
}
private fun brightenScreen() {
activity?.let {
currentBrightness = it.getScreenBrightness()
it.setScreenBrightness(1f);
brightenScreenItem.isChecked = true
}
}
private fun restoreScreenBrightness() {
if (currentBrightness > -1f) {
activity?.setScreenBrightness(currentBrightness);
currentBrightness = -1f
brightenScreenItem.isChecked = false
}
}
companion object {
private const val CONTENT_TEXT = "content_text"
private const val CONTENT_RAW = "content_raw"
@@ -0,0 +1,22 @@
package de.markusfisch.android.binaryeye.os
import android.app.Activity
import android.view.WindowManager
fun Activity.getScreenBrightness(): Float {
val layoutParams = window.attributes
return if (layoutParams.screenBrightness == WindowManager.LayoutParams.BRIGHTNESS_OVERRIDE_NONE) {
android.provider.Settings.System.getInt(
contentResolver,
android.provider.Settings.System.SCREEN_BRIGHTNESS
) / 255.0f
} else {
layoutParams.screenBrightness
}
}
fun Activity.setScreenBrightness(brightness: Float) {
val layoutParams = window.attributes
layoutParams.screenBrightness = brightness
window.attributes = layoutParams
}
@@ -215,6 +215,11 @@ class Preferences {
apply(EXPAND_ESCAPE_SEQUENCES, value)
field = value
}
var brightenScreen = false
set(value) {
apply(BRIGHTEN_SCREEN, value)
field = value
}
fun init(context: Context) {
preferences = PreferenceManager.getDefaultSharedPreferences(context)
@@ -335,6 +340,10 @@ class Preferences {
EXPAND_ESCAPE_SEQUENCES,
expandEscapeSequences
)
brightenScreen = preferences.getBoolean(
BRIGHTEN_SCREEN,
brightenScreen
)
}
private fun addFormatsOnUpdate(
@@ -434,5 +443,6 @@ class Preferences {
private const val LAST_MARGIN = "last_margin"
private const val FREE_ROTATION = "free_rotation"
private const val EXPAND_ESCAPE_SEQUENCES = "expand_escape_sequences"
private const val BRIGHTEN_SCREEN = "brighten_screen"
}
}
@@ -0,0 +1,5 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android" android:height="24dp" android:tint="#FFFFFF" android:viewportHeight="24" android:viewportWidth="24" android:width="24dp">
<path android:fillColor="@android:color/white" android:pathData="M20,8.69L20,4h-4.69L12,0.69 8.69,4L4,4v4.69L0.69,12 4,15.31L4,20h4.69L12,23.31 15.31,20L20,20v-4.69L23.31,12 20,8.69zM12,18c-3.31,0 -6,-2.69 -6,-6s2.69,-6 6,-6 6,2.69 6,6 -2.69,6 -6,6zM12,8c-2.21,0 -4,1.79 -4,4s1.79,4 4,4 4,-1.79 4,-4 -1.79,-4 -4,-4z"/>
</vector>
@@ -16,4 +16,10 @@
android:title="@string/export_to_file"
android:icon="@drawable/ic_action_save"
material:showAsAction="ifRoom"/>
<item
android:id="@+id/brighten_screen"
android:title="@string/brighten_screen"
android:icon="@drawable/ic_action_bright"
android:checkable="true"
material:showAsAction="ifRoom"/>
</menu>
+3
View File
@@ -138,6 +138,9 @@
<string name="bluetooth_connect_fail">Неуспешно свързване с Bluetooth устройство.</string>
<string name="bluetooth_send_fail">Неуспешно изпращане до Bluetooth устройство.</string>
<string name="bluetooth_send_success">Успешно Bluetooth изпращане.</string>
<string name="generation_category">Generation</string>
<string name="brighten_screen">Brighten screen</string>
<string name="brighten_screen_summary">Set brightness to maximum to enhance scanning a barcode from the screen.</string>
<string name="really_remove_scan">Наистина ли искате да премахнете това сканиране?</string>
<string name="really_remove_all_scans">Наистина ли искате да премахнете всички сканирания?</string>
<string name="really_remove_selected_scans">Наистина ли искате да премахнете избраните сканирания?</string>
+3
View File
@@ -138,6 +138,9 @@
<string name="bluetooth_connect_fail">Could not connect to bluetooth device.</string>
<string name="bluetooth_send_fail">Could not send to bluetooth device.</string>
<string name="bluetooth_send_success">Successful bluetooth send.</string>
<string name="generation_category">Generation</string>
<string name="brighten_screen">Brighten screen</string>
<string name="brighten_screen_summary">Set brightness to maximum to enhance scanning a barcode from the screen.</string>
<string name="really_remove_scan">আসলেই এটা মুছবে?</string>
<string name="really_remove_all_scans">আসলেই সব মুছবে?</string>
<string name="really_remove_selected_scans">আসলেই নির্বাচিত সব মুছবে?</string>
+3
View File
@@ -140,6 +140,9 @@
<string name="bluetooth_connect_fail">Nelze se připojit k zařízení Bluetooth.</string>
<string name="bluetooth_send_fail">Nelze odesílat na zařízení Bluetooth.</string>
<string name="bluetooth_send_success">Odesílání přes Bluetooth se zdařilo.</string>
<string name="generation_category">Generation</string>
<string name="brighten_screen">Brighten screen</string>
<string name="brighten_screen_summary">Set brightness to maximum to enhance scanning a barcode from the screen.</string>
<string name="really_remove_scan">Opravdu odstranit sken?</string>
<string name="really_remove_all_scans">Opravdu odstranit všechny skeny?</string>
<string name="really_remove_selected_scans">Opravdu odstranit zvolené skeny?</string>
+3
View File
@@ -138,6 +138,9 @@
<string name="bluetooth_connect_fail">Could not connect to bluetooth device.</string>
<string name="bluetooth_send_fail">Could not send to bluetooth device.</string>
<string name="bluetooth_send_success">Successful bluetooth send.</string>
<string name="generation_category">Generation</string>
<string name="brighten_screen">Brighten screen</string>
<string name="brighten_screen_summary">Set brightness to maximum to enhance scanning a barcode from the screen.</string>
<string name="really_remove_scan">Vil du virkelig fjerne scanningen?</string>
<string name="really_remove_all_scans">Vil du virkelig fjerne alle scanninger?</string>
<string name="really_remove_selected_scans">Vil du virkelig fjerne valgte scanninger?</string>
+3
View File
@@ -138,6 +138,9 @@
<string name="bluetooth_connect_fail">Es kann leider keine Verbindung zum Bluetooth-Gerät hergestellt werden</string>
<string name="bluetooth_send_fail">Senden zum Bluetooth-Gerät fehlgeschlagen</string>
<string name="bluetooth_send_success">Erfolgreich zum Bluetooth-Gerät gesendet</string>
<string name="generation_category">Generation</string>
<string name="brighten_screen">Bildschrim aufhellen</string>
<string name="brighten_screen_summary">Helligkeit auf Maximum stellen um das Scannen eines Barcodes vom Bildschirm zu verbessern.</string>
<string name="really_remove_scan">Code wirklich entfernen?</string>
<string name="really_remove_all_scans">Alle Codes entfernen?</string>
<string name="really_remove_selected_scans">Alle ausgewählten Codes entfernen?</string>
+3
View File
@@ -138,6 +138,9 @@
<string name="bluetooth_connect_fail">No se pudo conectar a un dispositivo bluetooth.</string>
<string name="bluetooth_send_fail">No se pudo enviar a un dispositivo bluetooth.</string>
<string name="bluetooth_send_success">Envío bluetooth completado.</string>
<string name="generation_category">Generation</string>
<string name="brighten_screen">Brighten screen</string>
<string name="brighten_screen_summary">Set brightness to maximum to enhance scanning a barcode from the screen.</string>
<string name="really_remove_scan">¿Eliminar el escaneo seleccionado?</string>
<string name="really_remove_all_scans">¿Eliminar todos los escaneos?</string>
<string name="really_remove_selected_scans">¿Eliminar los escaneos seleccionados?</string>
+3
View File
@@ -138,6 +138,9 @@
<string name="bluetooth_connect_fail">Could not connect to bluetooth device.</string>
<string name="bluetooth_send_fail">Could not send to bluetooth device.</string>
<string name="bluetooth_send_success">Successful bluetooth send.</string>
<string name="generation_category">Generation</string>
<string name="brighten_screen">Brighten screen</string>
<string name="brighten_screen_summary">Set brightness to maximum to enhance scanning a barcode from the screen.</string>
<string name="really_remove_scan">برای برداشتن پویش مطمئنید؟</string>
<string name="really_remove_all_scans">برای برداشتن همهٔ پویش‌ها مطمئنید؟</string>
<string name="really_remove_selected_scans">برای برداشتن پویش‌های برگزیده شده مطمئنید؟</string>
+3
View File
@@ -138,6 +138,9 @@
<string name="bluetooth_connect_fail">Impossible de se connecter à l\'appareil Bluetooth.</string>
<string name="bluetooth_send_fail">Impossible d\'envoyer à l\'appareil Bluetooth.</string>
<string name="bluetooth_send_success">Envoi Bluetooth réussi.</string>
<string name="generation_category">Generation</string>
<string name="brighten_screen">Brighten screen</string>
<string name="brighten_screen_summary">Set brightness to maximum to enhance scanning a barcode from the screen.</string>
<string name="really_remove_scan">Supprimer le scan ?</string>
<string name="really_remove_all_scans">Supprimer tous les scans ?</string>
<string name="really_remove_selected_scans">Supprimer les scans sélectionnés ?</string>
+3
View File
@@ -138,6 +138,9 @@
<string name="bluetooth_connect_fail">Could not connect to bluetooth device.</string>
<string name="bluetooth_send_fail">Could not send to bluetooth device.</string>
<string name="bluetooth_send_success">Successful bluetooth send.</string>
<string name="generation_category">Generation</string>
<string name="brighten_screen">Brighten screen</string>
<string name="brighten_screen_summary">Set brightness to maximum to enhance scanning a barcode from the screen.</string>
<string name="really_remove_scan">Valóban eltávolítja a beolvasást?</string>
<string name="really_remove_all_scans">Valóban eltávolítja az összes beolvasását?</string>
<string name="really_remove_selected_scans">Valóban eltávolítja a kijelölt beolvasásokat?</string>
+3
View File
@@ -137,6 +137,9 @@
<string name="bluetooth_connect_fail">Could not connect to bluetooth device.</string>
<string name="bluetooth_send_fail">Could not send to bluetooth device.</string>
<string name="bluetooth_send_success">Successful bluetooth send.</string>
<string name="generation_category">Generation</string>
<string name="brighten_screen">Brighten screen</string>
<string name="brighten_screen_summary">Set brightness to maximum to enhance scanning a barcode from the screen.</string>
<string name="really_remove_scan">Yakin menghapus pindaian?</string>
<string name="really_remove_all_scans">Yakin menghapus semua pindaian?</string>
<string name="really_remove_selected_scans">Yakin menghapus pindaian yang dipilih?</string>
+3
View File
@@ -138,6 +138,9 @@
<string name="bluetooth_connect_fail">Impossibile connettersi al dispositivo Bluetooth.</string>
<string name="bluetooth_send_fail">Impossibile inviare al dispositivo Bluetooth.</string>
<string name="bluetooth_send_success">Invio via Bluetooth riuscito.</string>
<string name="generation_category">Generazione</string>
<string name="brighten_screen">Schiarisci schermo</string>
<string name="brighten_screen_summary">Imposta luminosità al massimo per migliorare la scansione di un codice a barre dallo schermo.</string>
<string name="really_remove_scan">Vuoi rimuovere la scansione?</string>
<string name="really_remove_all_scans">Vuoi rimuovere tutte le scansioni?</string>
<string name="really_remove_selected_scans">Vuoi rimuovere le scansioni selezionate?</string>
+3
View File
@@ -137,6 +137,9 @@
<string name="bluetooth_connect_fail">Could not connect to bluetooth device.</string>
<string name="bluetooth_send_fail">Could not send to bluetooth device.</string>
<string name="bluetooth_send_success">Successful bluetooth send.</string>
<string name="generation_category">Generation</string>
<string name="brighten_screen">Brighten screen</string>
<string name="brighten_screen_summary">Set brightness to maximum to enhance scanning a barcode from the screen.</string>
<string name="really_remove_scan">このスキャン履歴を削除しても宜しいですか?</string>
<string name="really_remove_all_scans">全てのスキャン履歴を削除しても宜しいですか?</string>
<string name="really_remove_selected_scans">選択されたスキャン履歴を削除しても宜しいですか?</string>
+3
View File
@@ -138,6 +138,9 @@
<string name="bluetooth_connect_fail">Could not connect to bluetooth device.</string>
<string name="bluetooth_send_fail">Could not send to bluetooth device.</string>
<string name="bluetooth_send_success">Successful bluetooth send.</string>
<string name="generation_category">Generation</string>
<string name="brighten_screen">Brighten screen</string>
<string name="brighten_screen_summary">Set brightness to maximum to enhance scanning a barcode from the screen.</string>
<string name="really_remove_scan">ნამდვილად გსურთ სკანირების წაშლა?</string>
<string name="really_remove_all_scans">ნამდვილად გსურთ ყველაფრის წაშლა?</string>
<string name="really_remove_selected_scans">ნამდვილად გსურთ შერჩეული შტრიხ-კოდების წაშლა?</string>
+3
View File
@@ -137,6 +137,9 @@
<string name="bluetooth_connect_fail">Could not connect to bluetooth device.</string>
<string name="bluetooth_send_fail">Could not send to bluetooth device.</string>
<string name="bluetooth_send_success">Successful bluetooth send.</string>
<string name="generation_category">Generation</string>
<string name="brighten_screen">Brighten screen</string>
<string name="brighten_screen_summary">Set brightness to maximum to enhance scanning a barcode from the screen.</string>
<string name="really_remove_scan">Really remove scan?</string>
<string name="really_remove_all_scans">Really remove all scans?</string>
<string name="really_remove_selected_scans">Really remove selected scans?</string>
+3
View File
@@ -138,6 +138,9 @@
<string name="bluetooth_connect_fail">Could not connect to bluetooth device.</string>
<string name="bluetooth_send_fail">Could not send to bluetooth device.</string>
<string name="bluetooth_send_success">Successful bluetooth send.</string>
<string name="generation_category">Generation</string>
<string name="brighten_screen">Brighten screen</string>
<string name="brighten_screen_summary">Set brightness to maximum to enhance scanning a barcode from the screen.</string>
<string name="really_remove_scan">Scan echt verwijderen?</string>
<string name="really_remove_all_scans">Alle scans echt verwijderen?</string>
<string name="really_remove_selected_scans">Geselecteerde scans verwijderen?</string>
+55 -52
View File
@@ -1,28 +1,28 @@
<resources>
<string name="open_url">Otwórz url</string>
<string name="open_url">Otwórz URL</string>
<string name="content">Zawartość</string>
<string name="copied_to_clipboard">Skopiowano do schowka</string>
<string name="copy_to_clipboard">Skopiuj do schowka</string>
<string name="info">Informacje</string>
<string name="vcard_add">Dodaj do kontaktów</string>
<string name="vevent_add">Dodaj do kalendarza</string>
<string name="shortcut_history">History</string>
<string name="shortcut_history">Historia</string>
<string name="shortcut_preferences">Ustawienia</string>
<string name="share">Udostępnij</string>
<string name="share_file">Share as file</string>
<string name="share_file">Udostępnij jako plik</string>
<string name="share_as">Udostępnij jako?</string>
<string name="error_saving_file">Nie można zapisać pliku</string>
<string name="clear_history">Wyczyść historię</string>
<string name="compose_barcode">Utwórz kod kreskowy</string>
<string name="history">Historia</string>
<string name="format">Format</string>
<string name="add_to_history">Add to history</string>
<string name="added_to_history">Added to history</string>
<string name="add_to_history">Dodaj do historii</string>
<string name="added_to_history">Dodano do historii</string>
<string name="export_to_file">Eksportuj do pliku</string>
<string name="file_name">Nazwa pliku</string>
<string name="export_json">Eksportuj jako JSON</string>
<string name="pick_search_engine">Wybierz wyszukiwarkę</string>
<string name="pick_file">Pick a file</string>
<string name="pick_file">Wybierz plik</string>
<string name="pick_image_file">Wybierz plik obrazu</string>
<string name="pick_code_to_scan">Wybierz kod do zeskanowania</string>
<string name="sms_send">Wyślij SMS</string>
@@ -31,19 +31,19 @@
<string name="separator_ruler">Linijka</string>
<string name="scan_code">Skanuj kod</string>
<string name="error_correction_level">Poziom korekcji błędów</string>
<string name="error_correction_level_l" formatted="false">Niski (~7&#37; korekcji)</string>
<string name="error_correction_level_m" formatted="false">Średni (~15&#37; korekcji)</string>
<string name="error_correction_level_q" formatted="false">Kwartyl (~25&#37; korekcji)</string>
<string name="error_correction_level_h" formatted="false">Wysoki (~30&#37; korekcji)</string>
<string name="label">Label</string>
<string name="colors">Fore and background</string>
<string name="colors_black_on_white">Black on white</string>
<string name="colors_white_on_black">White on black</string>
<string name="colors_black_on_transparent">Black on transparent</string>
<string name="colors_white_on_transparent">White on transparent</string>
<string name="sequence_size">Sequence size</string>
<string name="sequence_index">Sequence index</string>
<string name="sequence_id">Sequence ID</string>
<string name="error_correction_level_l" formatted="false">Niski (~7% korekcji)</string>
<string name="error_correction_level_m" formatted="false">Średni (~15% korekcji)</string>
<string name="error_correction_level_q" formatted="false">Kwartyl (~25% korekcji)</string>
<string name="error_correction_level_h" formatted="false">Wysoki (~30% korekcji)</string>
<string name="label">Etykieta</string>
<string name="colors">Przód i tło</string>
<string name="colors_black_on_white">Czarny na białym</string>
<string name="colors_white_on_black">Biały na czarnym</string>
<string name="colors_black_on_transparent">Czarny na przezroczystym</string>
<string name="colors_white_on_transparent">Biały na przezroczystym</string>
<string name="sequence_size">Rozmiar sekwencji</string>
<string name="sequence_index">Indeks sekwencji</string>
<string name="sequence_id">Identyfikator sekwencji</string>
<string name="export_csv_comma">CSV z przecinkami</string>
<string name="export_csv_semicolon">CSV ze średnikami</string>
<string name="shortcut_encode">Stwórz kod kreskowy</string>
@@ -56,7 +56,7 @@
<string name="sms_error">Nie można wysłać SMS-a</string>
<string name="mail_error">Nie można wysłać e-maila</string>
<string name="rotate_image_cw">Obróć obraz zgodnie z ruchem wskazówek zegara</string>
<string name="toggle_free_rotation">Toggle free rotation</string>
<string name="toggle_free_rotation">Przełącz swobodny obrót</string>
<string name="edit_label">Edytuj etykietę</string>
<string name="enter_name_hint">Nazwa skanu</string>
<string name="camera_error">Nie można uzyskać dostępu do kamery, spróbuj ponownie</string>
@@ -69,17 +69,17 @@
<string name="really_remove_selected_scans">Czy naprawdę usunąć wybrane skany?</string>
<string name="binary_data">(dane binarne)</string>
<plurals name="barcode_info">
<item quantity="one">%2$d character, %1$s</item>
<item quantity="few">%2$d characters, %1$s</item>
<item quantity="many">%2$d characters, %1$s</item>
<item quantity="other">%2$d characters, %1$s</item>
<item quantity="one">%2$d znak, %1$s</item>
<item quantity="few">%2$d znaki, %1$s</item>
<item quantity="many">%2$d znaków, %1$s</item>
<item quantity="other">%2$d znaków, %1$s</item>
</plurals>
<string name="show_hex_dump">Pokazuj zrzut szesnastkowy</string>
<string name="show_hex_dump_summary">Pokaż zeskanowaną zawartośc w postaci szesnastkowej</string>
<string name="show_checksum">Show checksum</string>
<string name="no_checksum">No checksum</string>
<string name="show_recreation">Show recreated barcode</string>
<string name="show_recreation_summary">Recreate and show barcode from read content if possible.</string>
<string name="show_hex_dump_summary">Pokaż zeskanowaną zawartość w postaci szesnastkowej.</string>
<string name="show_checksum">Pokaż sumę kontrolną</string>
<string name="no_checksum">Brak sumy kontrolnej</string>
<string name="show_recreation">Pokaż odtworzony kod kreskowy</string>
<string name="show_recreation_summary">Jeśli to możliwe, odtwórz i pokaż kod kreskowy z odczytanej zawartości.</string>
<string name="close_automatically">Wróć po skopiowaniu/udostępnieniu</string>
<string name="close_automatically_summary">Automatycznie powracaj do ekranu skanowania po skopiowaniu lub udostępnieniu przeczytanej zawartości.</string>
<string name="show_meta_data">Pokazuj metadane</string>
@@ -88,16 +88,16 @@
<string name="bulk_mode">Skanuj w sposób ciągły</string>
<string name="bulk_mode_summary">Zawsze rozpoczynaj skanowanie w sposób ciągły.</string>
<string name="bulk_mode_delay">Opóźnienie między kolejnymi skanami</string>
<string name="restrict_format">Restrict format</string>
<string name="remove_restriction">Remove restriction</string>
<string name="scan_format">Scan %s</string>
<string name="restrict_format">Ogranicz format</string>
<string name="remove_restriction">Usuń ograniczenie</string>
<string name="scan_format">Skan %s</string>
<string name="quarter_second">Ćwierć sekundy</string>
<string name="half_second">Pół sekundy</string>
<string name="a_second">Sekunda</string>
<string name="two_seconds">Dwie sekundy</string>
<string name="five_seconds">Pięć sekund</string>
<string name="toggle_flash">Przełącz lampę błyskową</string>
<string name="error_flash">Error toggling flash</string>
<string name="error_flash">Błąd przełączania lampy błyskowej</string>
<string name="wifi_added">Wi-Fi dodane</string>
<string name="zoom_by_swiping">Przybliżaj kamerę, przesuwając w górę/dół</string>
<string name="zoom_by_swiping_summary">Przesuń palcem w górę lub w dół na ekranie aparatu, aby sterować powiększeniem aparatu.</string>
@@ -111,15 +111,15 @@
<string name="use_history_summary">Zapisz rozpoznane kody na swoim urządzeniu.</string>
<string name="vibrate">Wibruj po wykryciu</string>
<string name="vibrate_summary">Włącz tę opcję, jeśli chcesz, aby urządzenie wibrowało po rozpoznaniu kodu.</string>
<string name="beep">Beep on detection</string>
<string name="beep_summary">Enable this if you want your device to beep when a code is recognized.</string>
<string name="beep_tone">Beep tone</string>
<string name="tone_cdma_confirm">CDMA confirm</string>
<string name="tone_sup_confirm">Call supervisory confirm</string>
<string name="tone_sup_radio_ack">Call supervisory radio path acknowledgment</string>
<string name="tone_prop_ack">Positive acknowledgment</string>
<string name="tone_prop_beep">General beep</string>
<string name="tone_prop_beep2">General double beep</string>
<string name="beep">Sygnał dźwiękowy po wykryciu</string>
<string name="beep_summary">Włącz tę opcję, jeśli chcesz, aby urządzenie emitowało sygnał dźwiękowy po rozpoznaniu kodu.</string>
<string name="beep_tone">Sygnał dźwiękowy</string>
<string name="tone_cdma_confirm">Potwierdzenie CDMA</string>
<string name="tone_sup_confirm">Potwierdzenie odbioru połączenia</string>
<string name="tone_sup_radio_ack">Potwierdzenie ścieżki radiowej nadzoru połączenia</string>
<string name="tone_prop_ack">Pozytywne potwierdzenie</string>
<string name="tone_prop_beep">Ogólny sygnał dźwiękowy</string>
<string name="tone_prop_beep2">Ogólny podwójny sygnał dźwiękowy</string>
<string name="open_immediately">Pomiń kontrolę i natychmiast otwórz zawartość</string>
<string name="open_immediately_summary">Pomiń kontrolę i natychmiast otwórz zawartość. Może otwierać szkodliwą zawartość, jeśli jest włączona.</string>
<string name="copy_immediately">Automatycznie skopiuj zawartość do schowka</string>
@@ -130,10 +130,10 @@
<string name="search_web">Szukaj w sieci</string>
<string name="search_scan">Szukaj skanu</string>
<string name="export_database">Eksportuj do bazy danych SQLite</string>
<string name="ignore_duplicates">Ignore duplicates</string>
<string name="ignore_duplicates">Ignoruj duplikaty</string>
<string name="ignore_consecutive_duplicates">Nie zapisuj kolejnych duplikatów</string>
<string name="ignore_any_duplicates">Ignore any duplicates</string>
<string name="accept_duplicates">Accept duplicates</string>
<string name="accept_duplicates">Akceptuj duplikaty</string>
<string name="default_search_engine">Otwórz nieznane dane w</string>
<string name="always_ask">Zawsze pytaj</string>
<string name="open_with_url">Otwieraj nieznane dane za pomocą adresu URL</string>
@@ -143,8 +143,8 @@
<string name="clear_network_suggestions_success">Sugestie dotyczące sieci zostały usunięte</string>
<string name="clear_network_suggestions_nothing_to_remove">Nie ma nic do usunięcia</string>
<string name="send_category">Przekazywanie</string>
<string name="send_scan_active">Forward scans</string>
<string name="send_scan_active_summary">Enable to forward scans to a the given URL</string>
<string name="send_scan_active">Przekazuj skany</string>
<string name="send_scan_active_summary">Umożliwia przekazywanie skanów na podany adres URL.</string>
<string name="send_scan_url">Wyślij każdy skan na adres URL</string>
<string name="send_scan_type">Rodzaj requestu dla każdego skanu</string>
<string name="send_type_get_add_content">GET i po prostu dodaj zawartość</string>
@@ -153,13 +153,16 @@
<string name="send_type_post_json">POST application/json</string>
<string name="send_type_external_browser">Otwórz w zewnętrznej przeglądarce</string>
<string name="test_url">Testuj URL</string>
<string name="send_scan_bluetooth">Forward scans with Bluetooth</string>
<string name="send_scan_bluetooth">Przekazuj skany za pomocą Bluetooth</string>
<string name="send_scan_bluetooth_summary">Enable to forwards scans to a given Bluetooth host.</string>
<string name="send_scan_bluetooth_host">Host</string>
<string name="no_bluetooth_hosts_paired">No Hosts Paired</string>
<string name="no_bluetooth_hosts_paired">Brak sparowanych hostów</string>
<string name="bluetooth_connect_fail">Could not connect to bluetooth device.</string>
<string name="bluetooth_send_fail">Could not send to bluetooth device.</string>
<string name="bluetooth_send_success">Successful bluetooth send.</string>
<string name="generation_category">Generation</string>
<string name="brighten_screen">Brighten screen</string>
<string name="brighten_screen_summary">Set brightness to maximum to enhance scanning a barcode from the screen.</string>
<string name="copy_password">Skopiuj hasło do schowka</string>
<string name="copied_password_to_clipboard">Hasło skopiowane do schowka</string>
<string name="gtin_price">Sugerowana cena</string>
@@ -171,7 +174,7 @@
<string name="follow_system_settings">Zgodny z ustawieniami systemu</string>
<string name="decode_barcode">Dekoduj kod kreskowy</string>
<string name="gtin_add_on">Dodatek UPC EAN</string>
<string name="barcode_version_number">Version</string>
<string name="barcode_version_number">Wersja</string>
<string name="qr_version_and_modules">%1$s (%2$d modules)</string>
<string name="gtin_country">Możliwy kraj produkcji</string>
<string name="encode">ZAKODUJ</string>
@@ -182,9 +185,9 @@
<string name="show_toast_in_bulk_mode_summary">Zwięźle pokazuje zeskanowane dane podczas skanowania ciągłego.</string>
<string name="cannot_resolve_action">Żadna aplikacja nie może tego otworzyć</string>
<string name="size_width_by_height">Rozmiar w pikselach: %1$d×%2$d</string>
<string name="margin_size">Margin in pixels: %1$d</string>
<string name="margin_size">Margines w pikselach: %1$d</string>
<string name="input_content_here">Wprowadź zawartość tutaj</string>
<string name="unescape">Expand escape sequences</string>
<string name="unescape">Rozwiń sekwencje ucieczki</string>
<string name="pick_list_separator">Jak oddzielić elementy listy?</string>
<string name="enter_name">Wprowadź nazwę opisującą skan</string>
<string name="auto_rotate">Rozpoznawaj kody kreskowe 1D pionowo</string>
@@ -203,5 +206,5 @@
<string name="wifi_identity">Tożsamość</string>
<string name="wifi_phase2">Metoda fazy 2</string>
<string name="network_suggestions">Network suggestions</string>
<string name="remove_suggestion">Remove suggestion</string>
<string name="remove_suggestion">Usuń sugestię</string>
</resources>
@@ -139,6 +139,9 @@
<string name="bluetooth_connect_fail">Não foi possível conectar com o dispositivo Bluetooth.</string>
<string name="bluetooth_send_fail">Não foi possível enviar para o dispositivo Bluetooth.</string>
<string name="bluetooth_send_success">Envio Bluetooth com sucesso.</string>
<string name="generation_category">Generation</string>
<string name="brighten_screen">Brighten screen</string>
<string name="brighten_screen_summary">Set brightness to maximum to enhance scanning a barcode from the screen.</string>
<string name="really_remove_scan">Deseja excluir esta digitalização?</string>
<string name="really_remove_all_scans">Deseja excluir todas as digitalizações?</string>
<string name="really_remove_selected_scans">Deseja excluir as digitalizações selecionadas?</string>
@@ -140,6 +140,9 @@
<string name="bluetooth_connect_fail">Невозможно подключиться к bluetooth-устройству.</string>
<string name="bluetooth_send_fail">Невозможно отправить на bluetooth-устройство.</string>
<string name="bluetooth_send_success">Успешно отправлено по bluetooth.</string>
<string name="generation_category">Создание</string>
<string name="brighten_screen">Яркий экран</string>
<string name="brighten_screen_summary">Устанавливать максимальную яркость, чтобы улучшить сканирование штрих-кода с экрана.</string>
<string name="really_remove_scan">Удалить сканирование?</string>
<string name="really_remove_all_scans">Удалить все сканирования?</string>
<string name="really_remove_selected_scans">Удалить выбранные штрих-коды?</string>
+3
View File
@@ -138,6 +138,9 @@
<string name="bluetooth_connect_fail">Bluetooth aygıtına bağlanılamadı.</string>
<string name="bluetooth_send_fail">Bluetooth aygıtına gönderilemedi.</string>
<string name="bluetooth_send_success">Bluetooth aygıtına gönderildi.</string>
<string name="generation_category">Generation</string>
<string name="brighten_screen">Brighten screen</string>
<string name="brighten_screen_summary">Set brightness to maximum to enhance scanning a barcode from the screen.</string>
<string name="really_remove_scan">Tarama gerçekten silinsin mi?</string>
<string name="really_remove_all_scans">Tüm taramalar gerçekten silinsin mi?</string>
<string name="really_remove_selected_scans">Seçili taramalar gerçekten silinsin mi?</string>
+3
View File
@@ -139,6 +139,9 @@
<string name="bluetooth_connect_fail">Неможливо підключитися до пристрою Bluetooth.</string>
<string name="bluetooth_send_fail">Неможливо надіслати на пристрій Bluetooth.</string>
<string name="bluetooth_send_success">Успішно надіслано через Bluetooth.</string>
<string name="generation_category">Генерація</string>
<string name="brighten_screen">Збільшити яскравість екрана</string>
<string name="brighten_screen_summary">Встановіть яскравість на максимум, щоб покращити сканування штрих-коду з екрана.</string>
<string name="really_remove_scan">Дійсно видалити сканування?</string>
<string name="really_remove_all_scans">Дійсно видалити всі сканування?</string>
<string name="really_remove_selected_scans">Дійсно видалити вибрані сканування?</string>
+3
View File
@@ -137,6 +137,9 @@
<string name="bluetooth_connect_fail">Could not connect to bluetooth device.</string>
<string name="bluetooth_send_fail">Could not send to bluetooth device.</string>
<string name="bluetooth_send_success">Successful bluetooth send.</string>
<string name="generation_category">Generation</string>
<string name="brighten_screen">Brighten screen</string>
<string name="brighten_screen_summary">Set brightness to maximum to enhance scanning a barcode from the screen.</string>
<string name="really_remove_scan">Thật sự xoá lần quét này?</string>
<string name="really_remove_all_scans">Thật sự xoá tất cả các lần quét?</string>
<string name="really_remove_selected_scans">Thật sự xoá các lần quét được chọn?</string>
@@ -137,6 +137,9 @@
<string name="bluetooth_connect_fail">无法连接蓝牙设备。</string>
<string name="bluetooth_send_fail">无法将结果发送至蓝牙设备。</string>
<string name="bluetooth_send_success">已通过蓝牙发送。</string>
<string name="generation_category">Generation</string>
<string name="brighten_screen">Brighten screen</string>
<string name="brighten_screen_summary">Set brightness to maximum to enhance scanning a barcode from the screen.</string>
<string name="really_remove_scan">确定删除记录?</string>
<string name="really_remove_all_scans">确定删除全部记录?</string>
<string name="really_remove_selected_scans">确定删除所选记录?</string>
@@ -137,6 +137,9 @@
<string name="bluetooth_connect_fail">無法連線到藍牙裝置</string>
<string name="bluetooth_send_fail">無法傳送到藍牙裝置</string>
<string name="bluetooth_send_success">藍牙傳送完成</string>
<string name="generation_category">Generation</string>
<string name="brighten_screen">Brighten screen</string>
<string name="brighten_screen_summary">Set brightness to maximum to enhance scanning a barcode from the screen.</string>
<string name="really_remove_scan">確定刪除記錄?</string>
<string name="really_remove_all_scans">確定要刪除所有掃描記錄?</string>
<string name="really_remove_selected_scans">確定要刪除選擇的掃描記錄?</string>
+3
View File
@@ -138,6 +138,9 @@
<string name="bluetooth_connect_fail">Could not connect to Bluetooth device.</string>
<string name="bluetooth_send_fail">Could not send to Bluetooth device.</string>
<string name="bluetooth_send_success">Successful Bluetooth send.</string>
<string name="generation_category">Generation</string>
<string name="brighten_screen">Brighten screen</string>
<string name="brighten_screen_summary">Set brightness to maximum to enhance scanning a barcode from the screen.</string>
<string name="really_remove_scan">Really remove scan?</string>
<string name="really_remove_all_scans">Really remove all scans?</string>
<string name="really_remove_selected_scans">Really remove selected scans?</string>
+7
View File
@@ -150,6 +150,13 @@
android:title="@string/clear_network_suggestions"
android:summary="@string/clear_network_suggestions_summary"/>
</PreferenceCategory>
<PreferenceCategory android:title="@string/generation_category">
<android.support.v7.preference.SwitchPreferenceCompat
android:defaultValue="false"
android:key="brighten_screen"
android:title="@string/brighten_screen"
android:summary="@string/brighten_screen_summary"/>
</PreferenceCategory>
<PreferenceCategory android:title="@string/locale_category">
<ListPreference
android:key="custom_locale"
+7
View File
@@ -150,4 +150,11 @@
android:title="@string/clear_network_suggestions"
android:summary="@string/clear_network_suggestions_summary"/>
</PreferenceCategory>
<PreferenceCategory android:title="@string/generation_category">
<android.support.v7.preference.SwitchPreferenceCompat
android:defaultValue="false"
android:key="brighten_screen"
android:title="@string/brighten_screen"
android:summary="@string/brighten_screen_summary"/>
</PreferenceCategory>
</PreferenceScreen>
+7
View File
@@ -145,6 +145,13 @@
android:title="@string/clear_network_suggestions"
android:summary="@string/clear_network_suggestions_summary"/>
</PreferenceCategory>
<PreferenceCategory android:title="@string/generation_category">
<android.support.v7.preference.SwitchPreferenceCompat
android:defaultValue="false"
android:key="brighten_screen"
android:title="@string/brighten_screen"
android:summary="@string/brighten_screen_summary"/>
</PreferenceCategory>
<PreferenceCategory android:title="@string/locale_category">
<ListPreference
android:key="custom_locale"
@@ -0,0 +1,4 @@
* Use maximum brightness when showing a generated barcode
* Allow file input from share menu
* Update multiple translations
@@ -0,0 +1,10 @@
Działa w orientacji pionowej i poziomej, może odczytywać odwrócone kody,
ma wygląd Material Design i może również generować kody kreskowe.
Wykorzystuje bibliotekę skanowania kodów kreskowych ZXing-C++ („Zebra Crossing”).
Obsługiwane formaty kodów kreskowych to: AZTEC, CODABAR, CODE 39, CODE 93, CODE 128,
DATA MATRIX, EAN 8, EAN 13, ITF, PDF417, QR CODE, RSS 14, RSS EXPANDED,
UPC A, UPC E i UPC EAN EXTENSION.
Jest to oprogramowanie otwartoźródłowe:
https://github.com/markusfisch/BinaryEye
@@ -0,0 +1 @@
Kolejny skaner kodów kreskowych dla Androida. Darmowy, bez reklam i otwarty.
+1
View File
@@ -0,0 +1 @@
Binary Eye