Commit Graph
1646 Commits
Author SHA1 Message Date
Markus Fisch 4672839146 Advance version number to 1.75.0 1.75.0 2026-06-26 19:38:58 +02:00
Markus Fisch 7610fdd386 Forward scans with KDE Connect
Add a KDE Connect forwarding option that sends scan text to the
exported remote input activity via a text/x-keystrokes intent.
2026-06-24 18:29:48 +02:00
Markus Fisch fba7b0d70f Add default camera preference
Let users choose which available camera type the scanner opens with.

Keep the existing overflow camera switch temporary, while persisting
only the startup preference. Populate the setting from available
camera types and fall back to the current back-camera behavior by
default.
2026-06-23 19:27:12 +02:00
Markus Fisch cb48544896 Advance version number to 1.74.3 1.74.3 2026-06-13 19:36:44 +02:00
Markus Fisch 10ceb4ac4e Remove splash screen and window wallpaper
Both features used ?attr/colorSurface as the base layer of
a layer-list drawable set as android:windowBackground. That
attribute is resolved during drawable inflation, before the
theme is fully attached on certain GPU drivers. This is the
root cause of the rendering glitches reported since 1.73.0
in #655.

The proper fix for Material You is to reference ?attr/colorSurface
directly in the theme style, where the framework resolves it
at Activity level. But both backgrounds were layer-lists (color
and bitmap), so keeping them would have required moving the bitmaps
out of the window background and into every affected layout. Which
would have been a significant churn for purely decorative elements.

Removing them is the simpler and more correct outcome: the theme
now sets android:windowBackground to ?attr/colorSurface directly,
which works reliably everywhere and honours Material You dynamic
colours without workarounds.
2026-06-13 19:30:14 +02:00
Markus Fisch a48f67ebd5 Advance version number to 1.74.2 1.74.2 2026-06-10 23:08:33 +02:00
Markus Fisch 328d0d704c Fix FAB lifted twice above the soft keyboard
On SDK < 35 the parent's fitsSystemWindows already shrinks the
FAB container above the soft keyboard, because the deprecated
systemWindowInsets include the IME there.

Adding the IME inset to the container as well lifted the FAB
twice, placing it about twice as high as needed.

Only apply the IME inset on SDK 35+, where the window is
edge-to-edge and the parent is not resized for the keyboard.
2026-06-10 18:36:08 +02:00
Markus Fisch dcecec4d6f Make window inset application idempotent
The inset listener applied the status bar padding only once,
guarded by a paddingTop == 0 check, and grew the toolbar height
incrementally. When the first callback reported wrong insets the
layout stayed stuck with stale values, so affected devices only
settled after several rotations.

Recompute the padded toolbar height from a captured bare height
on every callback and always set the nav bar padding, including
back to zero, so the layout converges on the first correct inset
pass.
2026-06-10 21:19:44 +02:00
Markus Fisch 7546cf25c0 Advance version number to 1.74.1 1.74.1 2026-06-09 21:40:48 +02:00
Markus Fisch bedb0a81d6 Update link to BinaryReceptor 2026-06-09 21:40:22 +02:00
Markus Fisch 658988525a Replace vector drawable background wallpaper
With a PNG because the vector drawable apparently causes
rendering issues on MediaTek devices.

See issue #655.
2026-06-09 19:40:41 +02:00
Markus Fisch 8298ce70ef Allow scanning while device is locked
Show the camera and newly scanned results over the lock screen
while keeping history, media selection, and settings protected.
2026-06-08 20:21:05 +02:00
Markus Fisch ae29a4d207 Advance version number to 1.74.0 1.74.0 2026-06-05 20:46:40 +02:00
Markus Fisch 7fe8126703 Run tests for bundle and release targets 2026-06-05 19:04:40 +02:00
Markus Fisch 4adce7c958 Fix splash lifecycle crash
Use a plain Activity for SplashActivity because it only redirects
to the camera screen and finishes immediately.

This avoids AppCompat lifecycle dispatch crashing on older Android
versions when the activity is destroyed before AndroidX moves it
out of INITIALIZED.
2026-06-05 18:20:07 +02:00
Markus Fisch d11dac7f13 Add content type in history rows
And use some of the parsed content for the content text view.
2026-06-05 18:20:07 +02:00
Markus Fisch f90aaac4f9 Show parsed content types in history
Store content types and use it in the history.
2026-06-05 18:20:07 +02:00
Markus Fisch d5ffcabdd2 Rename "Parsed Data" to "Encoded Data"
Which is a better description.
2026-06-04 19:36:01 +02:00
Markus Fisch 52ca14c9ba Move label input to the top of the screen
Which groups the parsed and the raw content together.
2026-06-04 19:30:23 +02:00
Markus Fisch 6c2c7bef90 Add a section header for meta data 2026-06-04 19:13:51 +02:00
Markus Fisch f285e1d200 Add an addField() extension
To simplify all this repetetive `items.add(Field(…))` calls.
2026-06-05 11:53:26 +02:00
Markus Fisch d7e687871c Make title of parsed data a data item
Which is more structured than using it as a headline/label.

Also simplify using the last parsed data when the user edits
the source.
2026-06-05 11:52:27 +02:00
Markus Fisch 5472993e19 Copy hex data from hex dump
Add a tap handler to the hex dump so binary content can be copied
as a continuous hex string directly from the decode screen.
2026-06-04 18:03:29 +02:00
Markus Fisch 702dc75ddd Show open icon for tracking links
Add the open icon to parsed data values that open an external
link so tracking numbers visibly indicate that tapping them opens
the tracking website.
2026-06-04 18:01:06 +02:00
Markus Fisch 45054c80f8 Avoid crop handle overlapping FAB
Cap the default crop handle position at the FAB-safe home
position so square displays do not place it behind the action
button.
2026-06-04 17:53:45 +02:00
bovirusandGitHub 5a899b5eb3 Update Italian language 2026-06-03 18:16:44 +02:00
Markus Fisch 1d002b645d Update ZXingCpp library to v3.0.2.7 2026-06-02 23:16:15 +02:00
Markus Fisch 456da10f84 Complete missing translations 2026-06-02 22:38:09 +02:00
Markus Fisch 7fbf89380c Use default onClick handler for tracking numbers
So the HTML link doesn't interfere with the copy to clipboard
handling.
2026-06-02 00:19:50 +02:00
Markus Fisch 91a549e96e Make Deutsche Post tracking link a data item 2026-06-02 00:12:09 +02:00
Markus Fisch 3ef6f874b8 Skip parsing data if it's a tracking link
If we already know the data contains a tracking link we
don't need to parse the data for something else.

Unfortunately, the Deutsche Post Matrixcode stamp also
parses as an IDL (International Driver License).
2026-06-01 23:55:16 +02:00
Markus Fisch 45661b75ba Use on-surface color for detector overlay
Match the detector overlay to the theme color used by default
for text and icons.
2026-06-01 23:34:40 +02:00
Markus Fisch cd30a86c69 Fix detector center coordinates
Use view-local coordinates for the detector center because
its drawing, touch handling, and crop ROI math all operate
in the view's own coordinate space.

This avoids offset crop overlays when the view is not laid
out at the parent's origin.
2026-06-01 23:23:30 +02:00
Markus Fisch 13eabaee19 Add an option to choose a custom beep tone
As requested in issue #642.
2026-06-01 22:39:11 +02:00
Markus Fisch 2035c935dc Use consts in PreferencesFragment
Instead of duplicated string literals.
2026-06-01 22:36:20 +02:00
Markus Fisch 1ff170a279 Fix FAB positioning
FAB placement was wrong for the traditional three-button
navigation after the Material You migration.

The bottom inset was applied twice.
2026-05-31 21:57:52 +02:00
Markus Fisch 4fab21c88d Support fido:/ URIs
Recognize spec-style fido:/ URIs and open them with ACTION_VIEW.

Note that FIDO:// URIs already worked before this just fine.
2026-05-31 21:46:56 +02:00
Markus Fisch 1ef9f39978 Remove appendUrlArguments tests
Since appendUrlArguments doesn't exist anymore.
2026-05-31 21:45:02 +02:00
NathanandGitHub 5378e50fe9 Update french translation 2026-05-31 19:01:59 +02:00
Markus Fisch c325713a8c Add a preference to set a custom scanner ID
So a device can be identified if desired.
2026-05-28 21:31:38 +02:00
bovirusandMarkus Fisch a043fba948 Update Italian translation 2026-05-27 21:35:53 +02:00
Markus Fisch 386f882944 Advance version number to 1.73.1 1.73.1 2026-05-27 21:28:49 +02:00
Markus Fisch 65979cbddd Fix stale history row highlighting
Remove ListView choice mode so regular history row taps
no longer persist as checked state after returning from
the scan detail screen.
2026-05-27 21:23:44 +02:00
Markus Fisch 26747d709f Update vdstools library 2026-05-27 21:20:19 +02:00
Markus Fisch 22b6a9f66e Add a note to not update the material library yet
Because the latest version would require minSDK 23, which
is silly, but the usual nonsense from Google, unfortunately.
2026-05-27 21:19:00 +02:00
Markus Fisch ded532c523 Update ZXing-C++ and support Telepen format 2026-05-27 21:17:48 +02:00
Markus Fisch 17c49a4a27 Advance version number to 1.73.0 1.73.0 2026-05-26 23:06:19 +02:00
Markus Fisch 7ff8db0880 Fix deeplink argument parsing
Merge intent extras with parsed deeplink query parameters
in EncodeActivity so app links populate content and format
even when Android supplies an empty extras bundle.

This fixes opened /encode links showing an empty content
field.
2026-05-26 22:48:10 +02:00
Markus Fisch d7837f5795 Migrate to Material You and support dynamic colors
And add a preference toggle to use the original colors
if a user likes that better.
2026-05-26 22:28:13 +02:00
Markus Fisch 1f5c77e802 Add preference to toggle tracking param stripping
Make the URL tracking parameter sanitization introduced opt-out
rather than always-on.
2026-05-26 21:35:58 +02:00