Markus Fisch
8dfc1e37c0
Assign sendScanBluetooth properly
...
getBoolean() returns the current value.
2023-03-27 21:41:42 +02:00
Markus Fisch
a0d3b7ba87
Catch SecurityExc when BT permission is missing
...
Make sure not to crash the app because the bluetooth permission is
missing. The app should gracefully handle this situation. It's
perfectly okay when the app doesn't have the permission to use
bluetooth. This is really a very niche use-case.
2023-03-27 19:04:39 +02:00
Markus Fisch
a234dc3a9a
Only ask for BT permission on activation
...
Doesn't make sense to ask for permssion when we deactivate bluetooth.
Also simplify this code a bit.
2023-03-27 19:04:39 +02:00
Markus Fisch
a00f70e25b
Check bluetooth permission before using API
...
Without this check, the app will crash as soon as the PreferencesFragment
is initialized when the user didn't already grant Bluetooth permission.
Always make sure to check the permissions.
2023-03-27 21:17:30 +02:00
Markus Fisch
ef555c0153
Disable bluetooth sending by default
...
This is a pretty niche use-case and so it should be disabled by
default. Especially because it requires runtime permissions.
2023-03-27 21:14:37 +02:00
Markus Fisch
9fffb53f73
Remove stray character from Italian translation
2023-03-16 23:05:13 +01:00
bovirus
b82c6200c0
Update italian language
2023-03-16 23:03:16 +01:00
solokot
5bb347c392
Update Russian translation
2023-03-16 18:34:30 +01:00
bovirus
f8033614fa
Update italian language
2023-03-16 00:23:21 +01:00
Markus Fisch
46cc2fb1a1
Make showResult an extension of Activity
...
And remove all the "activity." prefixes.
2023-03-15 20:57:10 +01:00
Markus Fisch
352fe07850
Remove useless class wrapping for BluetoothSender
...
Since all members and properties are static so it's more idiomatic
to make them simple top-level functions.
2023-03-15 20:51:38 +01:00
Markus Fisch
00abe33314
Add new string resources to translations
...
Otherwise lint will fail.
2023-03-15 20:37:30 +01:00
Markus Fisch
142df25d7e
Only check BLUETOOTH_CONNECT on Android S+
...
This symbol doesn't exist before Android S.
2023-03-15 20:31:01 +01:00
Markus Fisch
021d775835
Clean up new additions
...
Fix indent, apply auto format, remove commented out code, etc.
2023-03-15 20:29:44 +01:00
KamaleiZestri
06df0c4d64
Support sending scans via bluetooth
...
Makes it possible to send scanned codes to a bluetooth device.
Should work with any bluetooth receiver that shares it's UUID
of "8a8478c9-2ca8-404b-a0de-101f34ab71ae".
2023-03-15 12:09:06 +01:00
Markus Fisch
32c70af812
Remove plural for one for Korean translation
...
Because lint tells me it's not required for Korean.
2023-03-01 21:42:10 +01:00
Markus Fisch
7cc1777e7a
Add barcode_info plurals for polish translation
...
With the default strings, silly enough.
Otherwise Lint will throw an error (!) because these plurals
are missing.
Now, I doubt I will ever meet the person who thought it would
be wise to throw an error if a plurals tag is missing in a
translation, but I sure hope this person will learn to make
better decisions some day.
2023-03-01 21:36:45 +01:00
Anthony Ryan
23e0564594
Losslessly compress PNG images
...
Using Efficient-Compression-Tool we can reduce the size by 254.17KB (15.8405%)
without changing visual appearance.
2023-03-01 21:29:50 +01:00
Markus Fisch
b4d66e28e2
Fix resolving EC level letter for recreation
...
While ZXing C++ reports the QR Code error correction level with four
letters (following the spec), it expects the level for encoding as an
integer in a range from 0 to 8.
2023-02-28 21:09:52 +01:00
Markus Fisch
ee1c56d99f
Update ZXing C++ wrapper
2023-02-23 20:03:04 +01:00
Markus Fisch
33ef78443e
Advance version number to 1.59.0
2023-02-22 18:37:57 +01:00
Markus Fisch
9f1e34b06d
Add setting error correction for AZTEC/PDF417 too
...
Because ZXing C++ supports setting an error correction level for
these formats too.
2023-02-20 20:04:01 +01:00
Markus Fisch
24766f55d4
Fix setting error correction level for QR Codes
...
ZXing C++ expects the error correction level to be in a range from
0 to 8, so the four possible values for QR codes need to be translated
into this range.
2023-02-19 18:59:11 +01:00
Markus Fisch
7d8c6016db
Optimize monochrome launcher icon with avocado
2023-02-09 22:19:37 +01:00
KamaleiZestri
3d923035e3
Follow beep settings for error beeps too
2023-02-06 10:18:52 +01:00
Markus Fisch
a489f3aa22
Remove finishing string resource
...
And show the more generic `camera_error` message instead.
This message makes no sense anymore now that the app isn't
finished.
2023-02-05 20:30:55 +01:00
Markus Fisch
7dfd7a1303
Remove finishing activity if camera is unavailable
...
While the camera is the main feature of the camera acitvity,
there are other features that are still useful even if the
camera is not available.
So it's better not automatically finish the camera activity
but let the user decide.
2023-02-05 18:03:32 +01:00
Markus Fisch
9abc01fc4f
Advance version number to 1.58.2
2023-01-31 12:36:32 +01:00
Markus Fisch
d10a33c1b7
Check string is not empty before calling last()
...
Because `String.last()` will throw a NoSuchElementException when
the string is empty.
2023-01-31 10:51:18 +01:00
Markus Fisch
357b2b5d59
Advance version number to 1.58.1
2023-01-31 10:51:18 +01:00
Markus Fisch
dfd64405da
Fix design of monochrome launcher icon
...
Monochrome icons don't use any color, not even black or white.
2023-01-30 18:41:56 +01:00
Markus Fisch
045daf9deb
Remove committing preferences
...
This made only sense when this app used RenderScript, which could
cause the app to crash before settings were saved.
2023-01-25 20:31:11 +01:00
Tom Xin
46b9ef516c
Update zh-rCn translation
2023-01-21 20:52:19 +01:00
Markus Fisch
0265909fd7
Advance version number to 1.58.0
2023-01-19 20:28:25 +01:00
Markus Fisch
ceef92bb7c
Alternate binarizers to improve detection
...
By default, ZXing uses LOCAL_AVERAGE, but this does not work well
with inverted barcodes on low-contrast backgrounds.
Of course, it would be better to improve ZXing's HybridBinarizer
(which is used for LOCAL_AVERAGE), but this is not trivial.
2023-01-19 20:16:49 +01:00
Markus Fisch
46785bab01
Update ZXing C++ wrapper for DecodeHints
...
The latest version makes all native `DecodeHints` available
to the JVM.
2023-01-19 20:12:54 +01:00
Markus Fisch
ccbb0f9e8a
Fix terminating string tag in italian translation
2023-01-19 18:01:27 +01:00
bovirus
833d8e93d3
Update italian language
2023-01-19 17:53:41 +01:00
Markus Fisch
0b3dfe93cf
Silently try openUrl() for OpenOrSearchAction
...
Avoid using `execShareIntent()` for OpenOrSearchAction because it
will toast a message when it fails.
2023-01-11 19:21:54 +01:00
Markus Fisch
e79ad49d15
Remove converting charset for PDF417
...
This is handled by ZXing C++ now.
Converting the text again destroys it.
2023-01-08 17:35:57 +01:00
chreddy
38f7ba1ec6
Add Danish translation
2023-01-08 17:35:43 +01:00
NPL
4d268240fd
Update Japanese translation
2023-01-03 09:22:56 +01:00
Markus Fisch
1131f749a9
Make database migrations extension functions
...
Simpler and more Kotlin idiomatic.
2023-01-02 12:12:43 +01:00
Markus Fisch
93a3cd2620
Migrate version number to version string
...
Because ZXing C++ did switch to a String to support versions
with letters.
2023-01-02 12:10:02 +01:00
Mystery0 M
a866a2eab3
Add fillAlpha for monochrome icon
2022-12-29 13:58:22 +01:00
Markus Fisch
c5d6bfa4b2
Respect setting to ignore duplicates for bulk scan
...
Before this, the previously scanned code was _always_ ignored for
bulk scans to avoid scanning the same code twice. But this isn't
always desirable, and the setting to ignore duplicates should have
an effect to give the user control over this behaviour.
2022-12-21 18:24:00 +01:00
Markus Fisch
6a63bc4e06
Increase the duration of the vibration
...
Because 100ms is too short for some devices and the vibration
cannot be felt.
This should fix https://github.com/markusfisch/BinaryEye/issues/334
2022-12-21 18:17:03 +01:00
solokot
45a2ac0647
Update Russian translation
2022-12-20 13:06:40 +01:00
Markus Fisch
425f3a7b80
Advance version number to 1.57.0
2022-12-19 20:45:36 +01:00
Markus Fisch
f895b42cfe
Allow removing individual network suggestions
...
From Android R on, because `WifiManager.getNetworkSuggestions()`
is not available on Q.
2022-12-19 20:29:04 +01:00
Markus Fisch
ecd4c487e3
Update pt-br translation
...
Thanks to m_s_
2022-12-18 12:39:05 +01:00
Markus Fisch
750671c408
Remove carriage returns from string resource
2022-12-17 13:27:24 +01:00
Markus Fisch
34f14d0ff0
Update to latest ZXing C++ version
2022-12-16 10:19:28 +01:00
motive0604
1b21297d83
Add Korean language
2022-12-13 09:38:34 +01:00
solokot
53cb6fe007
Update Russian translation
2022-12-11 22:44:17 +01:00
Markus Fisch
f1daa19056
Add optional audio feedback for scanning
...
And also support a couple of signal noises.
2022-12-10 13:52:39 +01:00
Markus Fisch
bd9da5889c
Add a semicolon to WIFI strings if it is missing
...
Because many generators don't terminate the expression.
2022-12-07 12:21:22 +01:00
Markus Fisch
d5949e557a
Add a RequiresApi annotation
...
To make clear `addNetworkFromBuilder` is only ever called
on Android Q+.
2022-12-06 20:09:41 +01:00
Markus Fisch
09f3368bf0
Update ScalingImageView library
2022-12-06 20:06:22 +01:00
Markus Fisch
84e03e3cc8
Fix typo in german translation
2022-12-06 20:03:20 +01:00
Markus Fisch
cff299771a
Remove resource references from vector drawables
...
Resource references will not work correctly in images generated
for vector icons for API < 24.
2022-12-06 20:00:43 +01:00
Markus Fisch
7a327ab7c4
Fix transferring shared text to encode fragment
2022-12-03 21:37:18 +01:00
Markus Fisch
72b8924574
Fix parsing a WiFi network on Android Q
...
`WifiConnector.parse()` still returned a `WifiNetworkSuggestion`
on Android Q but `WifiConnector.addNetwork()` is now expecting a
`WifiNetworkSuggestion.Builder` :8
Anyway, this code wasn't very good to start with. Having the exact
same check in two different places with the exact same meaning is
bad. This bug is a good example of that ;)
So now, `WifiConnector.addNetwork()` checks what type of object it
got and does the right thing with it.
Thanks to @JacobKochems who found this bug and made me aware of it.
2022-12-01 19:23:17 +01:00
Markus Fisch
527b7a6a59
Use deprecated WiFi API on Android Q
...
Because WifiManager.getNetworkSuggestions() is only available from
Android R (API level 30) on. So added network suggestions cannot be
queried on Android Q (API level 29) which will be important to allow
removing them individually.
2022-11-30 21:07:05 +01:00
Markus Fisch
e9267e4e5a
Accept lower case for E, PH and T in WiFi configs
...
While the spec demands upper case here, it's probably best to
be liberal and accept lower case values as well.
2022-11-30 12:11:29 +01:00
Tom Xin
ac18733368
Update Chinese translation
2022-11-22 12:17:05 +01:00
Markus Fisch
300c3bfd26
Advance version number to 1.56.3
2022-11-21 13:04:19 +01:00
Markus Fisch
6449d9962d
Simplify RegEx to recognize URLs
...
Because the current expression leads to an infinite loop for some
inputs. For example, this string was reported to make the app crash:
com.taobao.arthas.boot.ProcessUtils.findJavaHome(ProcessUtils.java:222)
The problem seems to be somehow related to case insensitivity as the
expression works when insensitivity is removed. Also, the infinite
loop only occurs on an Android device - not in unit tests.
Anyway, the current expression was too complex anyway, and this
simpler one should be good enough.
2022-11-21 12:37:15 +01:00
Markus Fisch
12554e63e2
Remove deep linking intent filter
...
Was just added to make Lint happy but is no longer necessary.
2022-11-17 19:21:28 +01:00
Markus Fisch
af60ee6edb
Fix indent in chinese translation
2022-11-17 16:17:20 +01:00
grenagit
fe31fc6df2
Update french translation
2022-11-17 14:07:36 +01:00
Markus Fisch
6d4f3cafbf
Update pt-br translation
2022-11-14 18:06:17 +01:00
Oğuz Ersen
fa23b8078c
Update Turkish translation
2022-11-13 12:49:20 +01:00
jhih_yu
e3c0fe8857
Update zh_TW
2022-11-11 09:45:58 +01:00
Markus Fisch
fa568686b6
Advance version number to 1.56.2
2022-11-09 20:34:08 +01:00
Markus Fisch
304357b43c
Update to latest ZXing C++ wrapper
...
To fix generating text output of 1D barcodes.
2022-11-09 18:27:06 +01:00
Markus Fisch
1e76b14038
Advance version number to 1.56.1
2022-11-08 20:33:08 +01:00
Markus Fisch
d0777350a2
Allow pinching to size in device pixels
...
To allow small codes to be small on screen.
This makes it easier to use a generated barcode in place of a small
printed barcode. There are scanners out there that expect a barcode
to be of a certain (small) size.
2022-11-08 20:28:41 +01:00
Markus Fisch
c7c1e74240
Update to latest ZXing C++ wrapper
...
To fix handling of tab characters.
2022-11-08 20:27:23 +01:00
Markus Fisch
c793e1399b
Fix view/frame transformation matrix
...
The view offset needs to be translated first - not last, where the
matrix is no longer in view space.
2022-11-08 20:27:23 +01:00
zmni
c550a6ff51
Update indonesian translation
2022-11-08 20:27:00 +01:00
solokot
05b0f719e0
Updated Russian translation
2022-11-07 18:22:34 +01:00
Markus Fisch
4326df5069
Advance version number to 1.56.0
2022-11-03 19:05:06 +01:00
Markus Fisch
ba24287f04
Update to latest ZXing C++ wrapper
...
To fix getting UTF-8 strings from the JVM.
2022-11-03 19:00:49 +01:00
Markus Fisch
bd8f1b17dd
Remove double action item for forward/next
2022-11-02 21:57:32 +01:00
Markus Fisch
2c21aeb83a
Set FAB background to @null
...
To silence this warning:
> I/FloatingActionButton: Setting a custom background is not supported.
Details:
https://github.com/material-components/material-components-android/issues/283
2022-11-03 12:30:05 +01:00
Markus Fisch
9ccff808bc
Replace properties with functions in Barcode
...
We should only prefer read-only properties over of functions if the
underlying algorithm…
* does not throw
* is cheap to calculate (or cached on the first run)
* returns the same result over invocations if the object state
hasn't changed
See:
https://kotlinlang.org/docs/coding-conventions.html#functions-vs-properties
But `ZXing.encodeAs*` may throw and may also not be that cheap to
calculate. So functions are a better fit here.
Also, because these functions will always return the same result,
it makes sense to cache their outputs.
2022-11-02 21:49:08 +01:00
Markus Fisch
32e936dd71
Optimize new drawables with avocado
2022-11-02 21:06:17 +01:00
Markus Fisch
58eebacd4f
Use forward arrow for FAB in picking activity
...
Hopefully this makes it more clear that you have to tap on the
FAB to actually read the found barcode.
2022-11-02 21:06:17 +01:00
Markus Fisch
75b945e842
Remove unused forceCompat preference
...
Obsolete since we use the ZXing C++ fork.
2022-11-02 21:06:17 +01:00
Markus Fisch
a9ea77f74f
Add an action item to lock/unlock free rotation
...
When scanning a barcode from an image.
Free rotation may not always be desirable.
2022-11-02 21:06:17 +01:00
Markus Fisch
3df658165b
Support setting fore and background colors
...
When creating AZTEC, DATA MATRIX or QR Codes.
2022-11-02 21:06:17 +01:00
Markus Fisch
40a6a77b8d
Advance version number to 1.55.0
2022-10-30 14:21:01 +01:00
Markus Fisch
301a33a176
Update to latest ZXing C++ wrapper
2022-10-30 14:17:18 +01:00
Giovanni
8d6623786c
Update an Italian string
2022-10-27 22:59:07 +02:00
Markus Fisch
a225eab6f2
Make recreated barcode interactive
...
This way the barcode can easily be exported, too.
Also live update the data views and clean up the DecodeFragment.
2022-10-26 21:45:06 +02:00
Markus Fisch
9f2efeb001
Advance version number to 1.54.1
2022-10-25 22:51:11 +02:00
Markus Fisch
105c81d409
Treat GS1 and ISO15434 content types as text
...
And use the HRI formatted text ZxingCpp provides.
2022-10-25 22:05:29 +02:00
Markus Fisch
4e1eb28ca4
Enable auto rotate by default
...
With ZXingCpp this is hardly noticeable. So enable it for new users.
2022-10-24 22:07:00 +02:00
Markus Fisch
b72ed746bf
Go back to VIBRATOR_SERVICE for Android 4
...
Use the deprecated `VIBRATOR_SERVICE` on all versions to fix a
`VerifyError` on Android 4.
For reasons beyond my interests, compiling with `VIBRATOR_MANAGER_SERVICE`
leads to a very cryptic `java.lang.VerifyError: r0/b` on Android 4.
Even though this symbol is never actually used under SDK 31.
This is probably a Proguard/R8 issue, but I don't want to waste more
time just to get rid of the deprecation warning. So let's use the old
`VIBRATOR_SERVICE` and wait for Google to fix their stuff.
2022-10-24 21:57:00 +02:00
solokot
1aaee3c85a
Update Russian translation
2022-10-24 20:49:37 +02:00
Oğuz Ersen
eb0218e733
Update Turkish translation
2022-10-23 20:42:01 +02:00
Giovanni
bef7365f28
Update Italian translation
2022-10-22 21:25:50 +02:00
Markus Fisch
c72b6a2e5f
Advance version number to 1.54.0
2022-10-21 23:39:30 +02:00
Markus Fisch
a7e358852c
Complete search engines for fa locale
2022-10-21 23:33:34 +02:00
Markus Fisch
7cf8cbe6d8
Recreate barcode on result fragment
...
It's sometimes very helpful to easily recover read barcodes.
2022-10-21 23:31:30 +02:00
Markus Fisch
e379e55570
Use new Html.fromHtml() on Nougat+
2022-10-21 22:41:53 +02:00
Markus Fisch
a55795a7b6
Use new getParcelable() method on Tiramisu+
2022-10-21 22:40:34 +02:00
Markus Fisch
83c0cd0293
Only use EXTRA_IS_SENSITIVE on Tiramisu+
...
And clean up that Pyramid of Death.
2022-10-21 21:23:30 +02:00
Markus Fisch
d138148cb8
Refactor string extension functions
...
And put them where they belong instead of having a dump file.
According to the Kotlin Coding Conventions we should avoid creating
files just to hold extensions.
2022-10-21 21:14:52 +02:00
Markus Fisch
c3c08879e0
Move ellipsize() from Toast to Data
...
Because it's used in more than one place now.
2022-10-21 17:25:17 +02:00
Markus Fisch
d0f02faca7
Add german domains for search engines
...
To open the .de domains for Google, ebay, Amazon, etc.
2022-10-21 19:33:01 +02:00
Markus Fisch
c9db3514d1
Add ebay, Amazon and barcodelookup.com
...
To the list of search engines.
2022-10-21 19:31:35 +02:00
Markus Fisch
f4de041407
Advance version number to 1.53.1
2022-10-20 09:38:36 +02:00
Markus Fisch
73ba2914e8
Fix proguard configuration for ZXing C++
2022-10-20 09:37:45 +02:00
Markus Fisch
2907c8c49c
Advance version number to 1.53.0
2022-10-19 22:27:21 +02:00
Markus Fisch
f28f956a8d
Only generate barcode output when required
2022-10-19 21:45:15 +02:00
Markus Fisch
972eb6a0b0
Update to latest ZXing C++ wrapper
2022-10-19 21:43:48 +02:00
Markus Fisch
08bb3f2127
Replace RelativeLayout with LinearLayout
...
In decoding fragment.
All children were layed out linearly anyway and it's simpler
and more clear this way.
2022-10-19 19:54:33 +02:00
Markus Fisch
b28e939f58
Refactor resolveFormat() and make it an extension
2022-10-19 13:04:48 +02:00
solokot
2edb8112b7
Update Russian translation
2022-10-19 13:04:06 +02:00
Markus Fisch
cf5a6dc8b8
Hide setting a custom locale from API 33 on
...
Android 13 allows to set per-app language preferences, so this
setting is no longer required from there on.
See:
https://developer.android.com/guide/topics/resources/app-languages
2022-10-15 18:43:40 +02:00
Markus Fisch
3ec6f18fe0
Hide sensitive content from clipboard
...
At the moment, this affects just the WiFi password.
See:
https://developer.android.com/about/versions/13/behavior-changes-all#copy-sensitive-content
2022-10-15 18:38:14 +02:00
Markus Fisch
65c7fe52ee
Fix closing Cursor's below JELLY BEAN
...
Unfortunately, Cursor cannot be cast to Closeable below API level 16
JELLY BEAN. So we can't just use Kotlin's ".use" extension function
because it would implicitly cast Cursor to a Closeable.
So this adds a simple drop-in replacement that does exactly what ".use"
is doing but without casting Cursor.
Of course, this should be removed as soon as minSDK is increased to at
least JELLY_BEAN.
2022-10-13 23:02:32 +02:00
Markus Fisch
5d3b3eb195
Fix generating a date time string below API 18
...
Before API level 18, there was no 'H' but only 'k', which was
incorrectly implemented to produce what we now know as 'H'.
2022-10-13 22:39:52 +02:00
Markus Fisch
0e4c2963a5
Catch ParseException when parsing scan dates
2022-10-13 22:38:04 +02:00
Markus Fisch
c04b08ab87
Update to latest ZXing C++ wrapper
...
Which adds a ContentType so we can distinguish between text
and binary content.
2022-10-12 21:47:54 +02:00
Markus Fisch
f07c4ac0f4
Update to latest Kotlin and coroutines version
2022-10-11 23:43:30 +02:00
Markus Fisch
05d63bd73f
Fix vector image fill color for API < 21
...
`fillColor` cannot have Android resources below API 21.
2022-10-11 23:37:29 +02:00
Markus Fisch
558fd5212d
Remove double support annotation
2022-10-11 23:34:54 +02:00
Markus Fisch
b918be76e4
Fix getting version number from database
2022-10-11 23:33:59 +02:00
Markus Fisch
2136a8c73e
Show version code for all supported barcodes
...
And the module count if it's a QR Code.
2022-10-11 23:29:59 +02:00
Markus Fisch
959c6e7d4d
Always show QR Code version and remove setting
...
This comes no longer with a cost so it can be always there.
2022-10-11 23:02:47 +02:00
Markus Fisch
50930d07a6
Show binary data placeholder in edit name dialog
...
To show something instead of nothing in the dialog title.
Still not perfect, of course.
2022-10-11 22:47:14 +02:00
Markus Fisch
36e7aab27c
Update to latest ZXing C++ AAR
...
Fixes getting HRI formatted result text instead of the real thing.
2022-10-11 22:39:14 +02:00
Markus Fisch
bb4fc8ed08
Enable multi-select in history listing
2022-10-11 21:53:15 +02:00
Markus Fisch
7a33ebd1a3
Remove MicroQR from list of writable codes
...
ZXing C++ doesn't contain a writer for this format, yet.
2022-10-11 20:41:18 +02:00
solokot
c8444b8935
Update Russian translation
2022-10-10 12:22:06 +02:00
Markus Fisch
4c6d66a4aa
Migrate to ZXing-C++
...
Replace the ZXing Java implementation with the C++ fork.
The C++ fork is faster, actively maintained and supports the MicroQR
Code barcode format.
The original Java implementation is in "Maintenance Mode Only",
what means that no new features or barcodes will be accepted.
Because the C++ fork is much faster, we can now drop RenderScript
which has been deprecated by Google anyway. Also, this removes a lot
of complications. RenderScript was never very robust.
2022-10-09 18:46:50 +02:00
Markus Fisch
39f95a1c04
Remove shortcut extra from EncodeFragment
...
And make it possible to open the EncodeFragment without content.
2022-10-04 21:19:47 +02:00
Markus Fisch
9e30b108e7
Reformat code and optimize imports
...
Let Android Studio clean up.
2022-09-29 18:42:00 +02:00
Markus Fisch
1b6b1cefe3
Convert charset for PDF417 in an extension
...
And run it from PickActivity too to apply this conversion when
scanning from still images too.
2022-09-29 18:39:01 +02:00
Mladen Milinkovic
b634370a0b
Fix PDF-417 UTF-8 text encoding
...
This fixes reading PDF-417 barcodes containing international UTF-8 characters.
2022-09-29 18:23:07 +02:00
gon
f32d44c3a1
Update spanish translation
2022-09-27 20:59:12 +02:00
Markus Fisch
2e060d1ca8
Add Persian to list of custom languages
...
That can be changed in the app independently from the system settings.
2022-09-11 23:01:31 +02:00
Andreas Korb
6acdce32f2
Add multidex dependency
...
Required on some systems/Android Studio versions.
2022-09-10 21:33:04 +02:00
Markus Fisch
092ec694f6
Fix terminating string tag in persian translation
2022-09-10 19:12:03 +02:00
Eshagh
7fed7877a0
Add persian translation
...
Co-authored-by: eshagh79 <eshagh094@gmail.com>
2022-09-10 19:09:05 +02:00
Markus Fisch
b17393d5ef
Invert plain text output
...
Because plain text will most likely end up being black text on a
white background on a mobile device.
But with night mode we can never be sure. So there's an "inverted"
parameter now if the text is bright on a dark background.
2022-08-21 00:36:49 +02:00
Markus Fisch
319ae53b3b
Make conditional an argument
...
To avoid the repetition of the function invocation.
Also make bt a constant variable because it can be.
2022-08-20 19:03:29 +02:00