Markus Fisch
5f5bd913d6
Move content EditText to the top
...
As this is probably the most important input field.
2023-10-13 11:47:36 +02:00
Markus Fisch
92fe4dd55f
Reformat code with Android Studio
...
And apply the latest style changes.
2023-10-12 20:32:01 +02:00
Markus Fisch
dab95176f0
Remember last selected margin for generation
...
More convenient.
Maybe we should store these settings for each barcode format.
2023-10-12 20:29:23 +02:00
Markus Fisch
650503ba70
Update camera library to latest version
2023-10-08 20:17:58 +02:00
solokot
61078f214e
Update Russian translation
2023-10-02 13:33:45 +02:00
Markus Fisch
a4b639edfe
Add margin parameter for encoding barcodes
2023-09-20 13:46:34 +02:00
Markus Fisch
f37878dbb8
Replace toUpperCase() with uppercase()
...
Because toUpperCase(Locale) is deprecated.
2023-09-19 22:19:35 +02:00
Markus Fisch
10fde7c3d6
Add intent for MIUI fingerprint shortcut
...
So it's possible to start BinaryEye from the MIUI of Xiaomi devices.
2023-09-19 14:46:34 +02:00
Markus Fisch
a098fcb48c
Always save and use rawBytes from ZXingCpp
...
If available.
Because the text member may already be UTF-8 encoded, and this
cannot simply be converted back into a byte array for the hex dump.
So for ContentType.GS1, ContentType.ISO15434 and ContentType.TEXT
there could be inconsistencies between the displayed content and the
hex dump, because the latter was generated from the (already encoded)
content.
2023-09-15 19:08:29 +02:00
m_s_
f162977640
Update Brazilian Portuguese translation
2023-09-03 20:18:50 +02:00
Oleg Koretsky
66cab58d7b
Fix missing Copy button for binary QRs
2023-08-31 13:54:29 +02:00
John Veness
e99e2d7dcc
Update English strings
2023-08-20 11:23:53 +02:00
Sergiy Stupar
9045a27a5d
Update Ukrainian translation
2023-08-14 12:00:14 +02:00
Markus Fisch
9e1208c72b
Update ZXing C++ wrapper
2023-08-13 19:09:32 +02:00
Markus Fisch
90410f232a
Update Kotlin version
2023-08-13 18:09:29 +02:00
ddarfantasy
6769fa7e37
Update zh-CN translation
2023-08-13 17:50:26 +02:00
Markus Fisch
72444f5081
Update ZXing C++ wrapper
2023-07-06 12:40:12 +02:00
Markus Fisch
9a3ca4ffa3
Update ZXing C++ wrapper
2023-05-20 14:24:34 +02:00
Markus Fisch
f572923720
Add changelog for latest version for f-droid
2023-05-19 18:57:15 +02:00
Markus Fisch
4971f58f44
Advance version number to 1.60.3
2023-05-19 18:55:49 +02:00
m_s_
0bf24080a8
Update Brazilian Portuguese translation
2023-05-19 18:49:51 +02:00
Markus Fisch
04a21f71ef
Update Kotlin version
2023-05-11 20:37:39 +02:00
Unknownman820
e22a215863
Update Chinese translation
2023-05-04 12:10:51 +02:00
Markus Fisch
881829e7b2
Fix saving custom language
...
This preference needs to be committed so it is written to disk
immediately.
Otherwise the app will restart before this preference is presisted.
2023-05-03 20:48:40 +02:00
Kryštof Černý
2ad261f3b6
Update Czech localisation
2023-05-01 19:25:05 +02:00
Kryštof Černý
e0fdda78b3
Fix library name in en-US/full_description.txt
2023-05-01 19:24:42 +02:00
solokot
9c3710c56d
Update Russian translation
2023-04-28 12:11:22 +02:00
bovirus
ddcab46d47
Update Italian language
2023-04-25 21:20:15 +02:00
Markus Fisch
076da26075
Advance version number to 1.60.2
2023-04-25 19:28:27 +02:00
Markus Fisch
dbc37714f9
Remember checkbox state for unescaping input
2023-04-24 23:22:00 +02:00
Markus Fisch
50e57eaf25
Expand escape sequences in encoding input
...
So escape sequences can be used when encoding a barcode.
2023-04-24 23:14:58 +02:00
Markus Fisch
340f7f9d1d
Remove lateinit for BT members
...
And use safe calls (?.) instead of catching the NullPointerException.
If something can be null, we should use the appropriate type for it
to make things explicit.
2023-04-19 21:13:05 +02:00
Unknownman820
a42bd793bb
Update Taiwan translation
2023-04-04 08:56:49 +02:00
KamaleiZestri
6e531f5395
Fix crash when not connected to a Bluetooth server
2023-03-29 12:06:20 +02:00
Markus Fisch
79b3fddcf8
Set BT results from return values
...
So the result variables can be immutable.
And use simpler terms for their names to make this easier to
read and understand.
2023-03-28 21:28:22 +02:00
Markus Fisch
09f3c8f193
Use "when" instead of "if/else"
...
More Kotlin idiomatic.
Also use full words instead of abbreviations for clarity.
2023-03-28 21:26:37 +02:00
Markus Fisch
5f82f216fd
Advance version number to 1.60.1
2023-03-27 22:11:43 +02:00
Markus Fisch
8424e3ea31
Add Bluetooth permissions to PRIVACY
...
And explain why these are required.
2023-03-27 22:05:31 +02:00
Markus Fisch
15ce34aa92
Add legacy Bluetooth permissions for SDK < 12
...
According to the docs, BLUETOOTH and BLUETOOTH_ADMIN are required
for Android versions below SDK 31.
See:
https://developer.android.com/guide/topics/connectivity/bluetooth/permissions
2023-03-27 22:02:09 +02:00
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
f2ac1e77bb
Update gradle wrapper
2023-03-15 20:53:18 +01:00