Markus Fisch
282d2499a8
Shorten encoding a barcode
2022-04-25 20:17:53 +02:00
Markus Fisch
a6cc8ed32f
Add sample for AndroidX Activity's to README
...
Because `startActivityForResult()` is deprecated there.
2022-04-25 18:11:12 +02:00
Markus Fisch
7b155369fd
Fix closing end tag in Japanese translation
2022-04-24 15:16:54 +02:00
NPL
55a69db2c5
Update Japanese translation
2022-04-24 15:14:17 +02:00
Balázs Úr
170878a795
Update Hungarian translation
2022-04-17 11:15:11 +02:00
Markus Fisch
18ade0fe33
Update icon and feature graphic for F-Droid
2022-04-10 13:30:37 +02:00
Markus Fisch
4565848344
Add changelog for latest version for f-droid
2022-04-08 12:12:37 +02:00
Markus Fisch
353e1b5494
Update tools version
2022-04-08 12:11:25 +02:00
Markus Fisch
9986a4ffb5
Advance version number to 1.49.2
2022-04-08 12:09:43 +02:00
Markus Fisch
c464b7de02
Optimize latest vector drawables with avocado
2022-04-07 22:48:46 +02:00
Markus Fisch
e588405413
Change icon design
...
Because Google thinks my original design would "impersonate someone
else".
I have absolutely no idea.
Well, in order to make the app available again as soon as possible,
and because there have already been complaints about the icon not
being "intuitive", and because it's probably pointless to argue with
Google's bots and minions, I'm just changing the design a bit.
2022-04-07 22:47:31 +02:00
mezy sinc
fdaf20fd45
Fix pt-br translation
2022-04-02 19:32:33 +02:00
mezy sinc
7c8fdb8ea1
Update pt-br translation
2022-04-02 13:53:54 +02:00
Markus Fisch
bb9d556c16
Advance version number to 1.49.1
2022-03-31 20:50:50 +02:00
Vixb
9e395d1928
Update Simplified Chinese translation
2022-03-31 19:11:01 +02:00
Markus Fisch
95f12e7c31
Return directly to caller for deep links
...
If this app was invoked via a deep link, but without a return URI,
we never want to return to the camera screen after scanning, but
to the caller.
2022-03-30 20:11:44 +02:00
Markus Fisch
9dac0b13fb
Fix getting ORIENTATION member from meta data
...
Was UPC_EAN_EXTENSION instead.
2022-03-30 19:57:00 +02:00
Markus Fisch
7939a728bc
Make isReturnUrl() a String extension
...
And thereby remove Intent from the scope of the function.
2022-03-30 19:51:19 +02:00
Markus Fisch
b6ca20d813
Move Cursor extensions to a separate file
2022-03-30 19:48:43 +02:00
Markus Fisch
fe7e36804e
Advance version number to 1.49.0
2022-03-29 19:56:31 +02:00
Markus Fisch
8cf1c35029
Enable forwarding by default
...
To keep forwarding intact when updating an app.
This has no effect for new installations because initially there's
no forwarding URL set. Forwarding works only when this toggle is
enabled *and* if there was a forwarding URL set.
2022-03-29 19:44:05 +02:00
Markus Fisch
62ca2299a0
Clean up preprocessor test
...
And move creating RenderScript out of loop.
No need to re-create this for every sample.
2022-03-25 20:10:43 +01:00
Markus Fisch
2423586c8c
Make Y in encodeYUV420SP() lower case
...
To comply with the Kotlin style guide.
And simply use s/t for x/y.
2022-03-24 19:49:21 +01:00
Markus Fisch
29b1f44bb9
Update getting Vibrator on Android S+
...
VIBRATOR_SERVICE is deprecated.
2022-03-24 19:18:36 +01:00
Markus Fisch
acee18e016
Replace context getter with local variable
...
It's there anyway and we shouldn't run a function multiple times
where it's enough to do it once and go with the result.
2022-03-21 22:39:21 +01:00
Markus Fisch
f798dce832
Make setZoom() a Camera extension
2022-03-21 22:31:09 +01:00
Markus Fisch
97838ec7c4
Remove unnecessary type declarations
2022-03-22 13:51:27 +01:00
Markus Fisch
767860ab07
Remove body of decodeLuminanceSource()
...
And use the single expression syntax instead.
2022-03-22 13:51:27 +01:00
Markus Fisch
f8fd00f21b
Use apply scope function to set ContentValues
...
A bit more elegant.
2022-03-22 13:51:27 +01:00
solokot
2cf6aa0812
Update Russian translation
2022-03-22 12:00:31 +01:00
Markus Fisch
197554fd1b
Add a toggle to quickly enable/disable forwarding
...
Easier than clearing the URL, especially if you want to keep the
URL for later.
2022-03-21 21:56:06 +01:00
Markus Fisch
3dc35ac60d
Only play error peep when not in silent mode
...
The app shouldn't play any sound when the phone is set to silent.
2022-03-21 21:33:42 +01:00
Markus Fisch
fd05209f57
Enable/disable torch mode according to parameters
...
And show an error toast in case setting flash parameters fails.
2022-03-21 19:48:59 +01:00
Markus Fisch
6d5aed816f
Break very long lines in IAction
...
Improves readability for my taste.
2022-03-18 20:44:55 +01:00
Markus Fisch
268c395043
Configure new Intent with apply scope function
...
Instead of declaring a variable beforehand.
2022-03-18 20:41:36 +01:00
Markus Fisch
867dc36811
Desugar Java 8 language features for ZXing 3.4
...
Add desugaring support to reverse translate Java 8 language features
in order to use the latest ZXing without having to increase minSdk.
ZXing 3.4 doesn't work on SDK levels below 24 anymore, see:
https://github.com/zxing/zxing/issues/1170
Many thanks to @TheLastProject for showing me the way:
cbcf1bcd99
2022-03-16 21:44:20 +01:00
Markus Fisch
e6e9b912b6
Improve german translation
2022-03-15 20:15:15 +01:00
Markus Fisch
152b4e50fc
Update Kotlin version
2022-03-15 20:15:02 +01:00
Markus Fisch
93070f38c9
Update Kotlin coroutines library
2022-03-15 20:14:39 +01:00
Markus Fisch
7a162d6fb0
Update JUnit version
2022-03-15 20:14:15 +01:00
solokot
9c03e83d3a
Update Russian translation
2022-03-15 09:28:44 +01:00
Markus Fisch
4be9421b44
Advance version number to 1.48.1
2022-03-11 15:21:16 +01:00
Markus Fisch
b895997967
Fix broken detection of binary content
...
And simplify detection and handling of binary data.
2022-03-11 15:16:43 +01:00
Markus Fisch
b5bbe659db
Advance version number to 1.48.0
2022-03-10 12:04:34 +01:00
Markus Fisch
bb7715455a
Add an item to remove the format restriction
...
If it is set.
2022-03-09 19:53:37 +01:00
Markus Fisch
5283acee8f
Add a menu item to restrict recognized formats
...
Only temporarily as long as the instance is used.
This allows to quickly restrict scanning to a certain format
without having to fiddle with all the formats in settings.
2022-03-09 19:47:33 +01:00
Markus Fisch
315abfb1dd
Show alnum characters in binary data
...
And condense all non-alnum characters to just "…".
This may give a glimpse at the readable content and is probably
better to read than the hex dump for non-technical users.
2022-03-09 18:57:58 +01:00
Markus Fisch
05c776168e
Make parseAndNormalizeUri() an extension function
2022-03-09 18:46:58 +01:00
Markus Fisch
880b8e0b24
Catch unsupported encodings in urlEncode()
...
And just return the original string in that case.
Invalid data shouldn't crash the app.
2022-03-09 18:43:33 +01:00
Markus Fisch
1597adb284
Fix showing binary data label for history scans
...
A scan's (String) "content" will be an empty string when read
from the database because I don't want to save the content twice
(binary data is already saved in the "raw" field).
2022-03-09 18:39:32 +01:00