Markus Fisch
a8fd37e4e4
Run setFocusArea() for ACTION_UP events only
2018-05-29 20:58:32 +02:00
Markus Fisch
17f11ea2de
Improved RenderScript processing
2018-05-29 20:58:14 +02:00
Markus Fisch
f6a582e4f7
Include aar of CameraView library
...
Because you simply cannot rely on JitPack.
2018-05-29 19:47:28 +02:00
Markus Fisch
6e645a567a
Use XML drawable for launcher background
...
Much smaller.
2018-05-27 21:35:22 +02:00
Markus Fisch
e87dc35372
Downsample camera frame to soften artifacts
...
Because ZXing has problems recognizing barcodes when there
are screen artifacts in the image. Makes it hard to scan a
QR code from a screen.
2018-05-27 21:29:35 +02:00
Markus Fisch
75f4f3eadc
Use property access syntax
2018-05-27 21:23:39 +02:00
Markus Fisch
64e1d722d5
Route raw YUV data to ZXing
...
And don't convert it into a Bitmap just to read the
pixels back from it.
2018-05-20 15:31:40 +02:00
Markus Fisch
05a206384c
Add a comment explaining that !!
operator
2018-05-20 14:48:21 +02:00
Markus Fisch
04790e2b57
Rename YuvToGray to Preprocessor
...
This class does more than just converting from
YUV to gray so this is a better name.
2018-05-20 13:45:38 +02:00
Markus Fisch
aa3c4a17e9
Rename function files to use camel humps
...
According to the Kotlin Coding Conventions
(https://kotlinlang.org/docs/reference/coding-conventions.html )
files that contain only top-level declarations should also
use camel humps with an uppercase first letter.
2018-05-20 13:33:03 +02:00
Markus Fisch
5968ae01eb
Add adaptive icon for Android 8+
2018-05-14 21:06:01 +02:00
Markus Fisch
57500b7700
Decrease default zoom to 10%
2018-05-09 22:50:47 +02:00
Markus Fisch
4e17a21e5f
Update camera library and use orientation listener
...
To handle landscape to landscape rotations.
2018-05-07 20:12:51 +02:00
Markus Fisch
605dc51d50
Update Kotlin version
2018-05-06 14:45:43 +02:00
Markus Fisch
b17d29ba28
Increase size of logo on splash screen
2018-04-30 11:01:54 +02:00
Markus Fisch
9afc7fcc62
Update Kotlin and tools version
2018-04-28 11:54:11 +02:00
Markus Fisch
d5543d0c39
Update gradle plugin and tools version
2018-04-15 15:37:25 +02:00
Markus Fisch
96fea1f343
Start decoding only when preview has started
2018-03-03 18:33:32 +01:00
Markus Fisch
bc4d9f7148
Update to latest CameraView
2018-03-03 18:32:56 +01:00
Markus Fisch
4abacf030b
Include CameraView library over jitpack
...
Also update to CameraView 1.4.0 and use 'implementation'
instead of 'compile' because Gradle 4 says so.
2018-03-01 14:34:45 +01:00
Markus Fisch
279c988464
Apply Kotlin Coding Conventions
...
From:
https://kotlinlang.org/docs/reference/coding-conventions.html
2018-02-27 14:22:41 +01:00
Markus Fisch
a6449b50e9
Update build tools and Kotlin version
2018-02-27 10:44:16 +01:00
Markus Fisch
b4e6449dac
Decrease default magnification to 20%
2018-02-27 10:38:54 +01:00
Markus Fisch
c3dfadd9e6
Move Java static class into Kotlin function file
...
All methods of SystemBarMetrics can be static so it's
better to get rid of that empty container class.
2017-12-18 21:37:49 +01:00
Markus Fisch
bad5225024
Clean up supported screen settings
...
According to the docs, `resizeable` is deprecated and
`smallScreens`, `normalScreens`, `anyDensity` are true
by default.
2017-12-16 13:31:56 +01:00
Markus Fisch
aa9b4927b0
Update to latest CameraView
2017-12-10 18:06:45 +01:00
Markus Fisch
69d12910cd
Remove Travis CI integration
...
Apparently, at least for Android builds, Travis CI just doesn't
cut the mustard.
After updating the SDK version to 27, Travis CI *always* fails
to build the project because the android-27 license is not accepted.
I've done everything https://docs.travis-ci.com/user/languages/android/
told me to but still, it won't build.
So I've got enough of Travis CI and that's it. If that thing can't
build a standard Android project, it's simply not useful to me.
2017-12-09 12:44:57 +01:00
Markus Fisch
ee0f7c4529
Advance version number to 1.3.2
2017-12-08 22:28:41 +01:00
Markus Fisch
1b296ff83e
Update to latest CameraView
2017-12-08 22:26:26 +01:00
Markus Fisch
1a635af7b7
Update to gradle 4
2017-12-08 22:07:05 +01:00
Markus Fisch
568530d470
Use safe calls instead of explicit null checks
...
Do it the Kotlin way.
2017-12-07 22:01:24 +01:00
Markus Fisch
6248b46fc8
Advance version number to 1.3.1
2017-11-13 21:10:10 +01:00
Markus Fisch
3083d2b625
Change primary colors
...
Was rejected because the launcher icon was too close to
another app with almost the same primary colors.
2017-11-13 21:03:37 +01:00
Markus Fisch
e02420d446
Advance version number to 1.3.0
2017-11-12 21:43:55 +01:00
Markus Fisch
e63fe0d601
Save chosen zoom level permanently
2017-11-12 21:42:54 +01:00
Markus Fisch
0803fdcac8
Check Intent.getStringExtra() for null before use
2017-11-12 21:36:05 +01:00
Markus Fisch
e64dd2e972
Update to latest Kotlin version
2017-11-12 21:20:38 +01:00
Markus Fisch
418edd34a5
Support tap to focus
...
Focus that exact spot a user taps on. Helps getting a clear
image on some devices. After 3 seconds the app will return
to the best possible auto focus.
2017-11-12 21:14:51 +01:00
Markus Fisch
af2a1dc940
Update CameraView library to latest version
2017-11-12 21:14:27 +01:00
Markus Fisch
e0c420c29f
Update ZXing to latest version 3.3.2
2017-11-11 14:11:50 +01:00
Markus Fisch
0ba41ca863
Advanced version number to 1.2.0
2017-11-04 22:52:27 +01:00
Markus Fisch
ed1826679e
Link CI badge with corresponding Travis page
2017-11-04 22:38:07 +01:00
Markus Fisch
bd75b5b71d
Updated to latest version of CameraView
2017-11-04 22:37:24 +01:00
Markus Fisch
bbdf724bbb
Update CameraView library to lastest version
...
Fixes two formal issues some static analyzers will complain
about.
2017-10-28 18:21:06 +02:00
Markus Fisch
0ace08c8b4
Add SonarQube rule to Makefile
...
To run SonarQube before committing.
2017-10-28 18:07:39 +02:00
Markus Fisch
41164c31f1
Add SonarQube integration again
...
Reading through the docs it became clear that the secure
token is repository specific so that was the mistake.
2017-10-28 17:54:03 +02:00
Markus Fisch
9f3288e7a8
Revert "Add SonarQube integration"
...
Somehow SonarQube always says not authorized but the token
is valid and works in another project. May be that SonarQube
cloud allows only one project per organization ...
This reverts commit 26a19a9657
.
2017-10-27 09:27:26 +02:00
Markus Fisch
a61fc63fa6
Add a Build Passing icon to the README
2017-10-26 23:06:54 +02:00
Markus Fisch
26a19a9657
Add SonarQube integration
2017-10-26 23:05:31 +02:00
Markus Fisch
a0d157551a
Add Travis CI
2017-10-26 22:59:46 +02:00