Markus Fisch
379256a7fe
Share selected scans only from history
...
If there is a selection. Otherwise use the search filter as before.
2023-11-26 19:54:08 +01:00
Markus Fisch
180339269f
Advance version number to 1.61.2
2023-11-22 19:16:16 +01:00
v72807647
49af17cba8
Fix quick setting tile failed to launch on Android 14
...
SDK 34 deprecates startActivityAndCollapse(Intent), making it
throws an UnsupportedOperationException on Android 14 devices
instead of launching the app.
Added new function call for API 34, tested with Android 14 and
Android 9 devices.
2023-11-22 09:24:30 +01:00
Markus Fisch
a03a187d2d
Escape apostrophes in french translation
...
Apostrophe characters need to be escaped in XML.
2023-11-20 10:55:29 +01:00
solokot
84806e70d7
Update Russian translation
2023-11-20 10:09:02 +01:00
Nathan
058de5a141
Update french locale
2023-11-18 12:28:07 +01:00
Kryštof Černý
d330fbd195
Update CZ translation
2023-11-16 13:45:59 +01:00
Markus Fisch
f5bc6f664f
Fix Xiaomi MIUI lockscreen barcode shortcut
2023-11-15 22:07:50 +01:00
Markus Fisch
464279807c
Advance version number to 1.61.1
2023-11-14 23:10:09 +01:00
Markus Fisch
f7e5ef473a
Add menu item to share scanned contents as a file
...
Because when sharing plain text via Bluetooth, Android explicitly
converts anything to HTML, which is not always what we want.
Details here:
https://stackoverflow.com/q/29907030
This feature is also useful to share binary contents more easily.
2023-11-13 20:26:31 +01:00
Markus Fisch
ff733ef59e
Fix opening recreated barcodes with binary content
...
Use the raw bytes not only for the recreated image but also
when opening the barcode in BarcodeFragment.
2023-11-10 21:16:05 +01:00
Markus Fisch
35b110a472
Fix key of general format restriction preference
...
Makes this setting have an effect again.
I somehow forgot to update the keys in the XMLs as well.
2023-11-08 20:41:32 +01:00
Markus Fisch
58eabf4754
Update to SDK 34
2023-11-01 18:12:57 +01:00
Markus Fisch
1f273a48a5
Catch IAE when parsing a WIFI configuration
...
Because some arguments may be out of range.
For example, SSIDs cannot be longer than 32 characters in some
versions of Android.
See: https://github.com/markusfisch/BinaryEye/issues/402
2023-10-29 13:53:58 +01:00
solokot
785a64725d
Update Russian translation
2023-10-24 08:56:32 +02:00
Markus Fisch
7a42e1de73
Recreate binary barcodes too
...
Since this is easily possible now.
2023-10-23 21:11:01 +02:00
7heMech
9856ab7b6b
Add Bulgarian translation and Brave search engine
2023-10-20 14:14:36 +02:00
Markus Fisch
746ff143d8
Advance version number to 1.61.0
2023-10-13 23:49:38 +02:00
Markus Fisch
b0d4d94973
Add test for a VCARD with an explicit TYPE
...
And make the other tests fail if null was returned.
2023-10-13 21:11:22 +02:00
Markus Fisch
c604ad5ef2
Fix type regex for VCARDs
...
The previous regex captured just the first letter of the type argument
because it was modified to be not greedy.
2023-10-13 21:08:01 +02:00
Markus Fisch
91c2b324ac
Refactor pick_file to pick_image_file
...
And use `pick_file` to pick any file, not just an image.
2023-10-12 22:23:27 +02:00
Markus Fisch
df59fd7446
Update Kotlin and coroutines library version
2023-10-12 22:15:19 +02:00
Markus Fisch
449fd1f26c
Limit read binary data for encoding
...
And use just the first 4096 bytes, which is way too optimistic
as there is no barcode format available that can save that much
data.
This is just to avoid an OutOfMemoryError. Maybe it's better to
just show an error message for files that are too big?
2023-10-13 13:16:24 +02:00
Markus Fisch
72d839c6e2
Support encoding binary data from a file
...
So binary data can finally be re-encoded too.
2023-10-13 12:48:13 +02:00
Markus Fisch
ab8c993a81
Add padding for spinners on encode fragment
...
Enlarges the touch area and makes the spinners easier to use.
2023-10-13 11:47:36 +02:00
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