0
0
mirror of https://github.com/markusfisch/BinaryEye.git synced 2024-09-20 03:52:16 +02:00
Commit Graph

1250 Commits

Author SHA1 Message Date
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
Markus Fisch
53fe8b3689 Save zoom level over orientation changes 2017-10-26 22:49:24 +02:00
Markus Fisch
0da9e34e55 Set a default zoom of 1/3 2017-10-26 21:53:12 +02:00
Markus Fisch
db276372b7 Enable back arrow for MainActivity first fragments
MainActivity is a subsequent activity and has always a back
arrow now.
2017-10-26 21:52:52 +02:00
Markus Fisch
c148635c26 Set a modest wallpaper as window background 2017-10-26 21:50:11 +02:00
Markus Fisch
5c99309125 Call onCameraError() when Camera.open() fails too
And remove the Camera argument from onCameraError() as it
wouldn't make sense when Camera.open() fails.
2017-10-24 22:33:46 +02:00
Markus Fisch
2443eb066a Call Thread.interrupt() after InterruptedException
Explicitly try to interrupt the thread after an
InterruptedException.
2017-10-24 21:57:42 +02:00
Markus Fisch
d7281266e4 Add missing permission checking to camera activity
Somehow I forgot to check for the camera permission.
I should pick a device running Marshmallow for testing by now.
2017-10-24 21:54:54 +02:00
Markus Fisch
e8c676ab8c Remove marker source graphic
No longer needed.
2017-10-20 21:26:02 +02:00
Markus Fisch
6c1353596d Use a dedicated camera activity
By removing the camera fragment everything gets much
simpler.
2017-10-20 21:18:55 +02:00
Markus Fisch
ff14130c91 Put a thin horizontal line over scan camera
Makes it easy to align a barcode with the camera.
2017-10-20 21:18:39 +02:00
Markus Fisch
e0147df76c Put flash action into fab
Swap flash with create action.

Originally I put the flash action in the toolbar
because not all devices have a flash. But it makes
more sense to have the flash beside the zoom slider.
2017-10-20 21:18:19 +02:00
Markus Fisch
cbc2b6b8db Remove the locking markers
While the animation is nice, they're not very helpful
for actually scanning a barcode. A simple line is
probably a better to choice.
2017-10-20 21:17:59 +02:00
Markus Fisch
bc727ab45f Add a zoom slider 2017-10-20 21:17:41 +02:00
Markus Fisch
9e8153e8f6 Update CameraView to 1.1.0
Handle camera errors when getting or setting parameters.
2017-10-18 22:58:36 +02:00
Markus Fisch
b9a5687c5a Advanced version number to 1.1.1 2017-09-03 12:35:35 +02:00
Markus Fisch
cbc0ff435f Invert every second frame
Forgot to invert every second frame to also read inverted
barcodes while simplifying image processing.
2017-09-03 12:26:49 +02:00
Markus Fisch
3a650bc0cd Advanced version number to 1.1.0 2017-09-03 12:17:48 +02:00
Markus Fisch
cbcc9591ff Use only Y (lumo) channel from YUV input
Barcode recognition works on contrast so we don't need
color information and can therefore simplify processing
of input images.
2017-09-02 14:22:26 +02:00
Markus Fisch
7578d9b217 Renamed Compose/Result- to Encode/DecodeFragment
Better names.
2017-09-02 13:45:06 +02:00
Markus Fisch
7789c21a96 Open README on GitHub from action menu
To make everybody aware the app's using ZXing and what
that is and what license it has.
2017-09-02 13:35:01 +02:00
Markus Fisch
366548dc2a Use BarcodeFormat instead of strings
And control size of generated barcodes manually.

Also transfer barcode format from ResultFragment
to ComposeFragment.
2017-09-02 13:32:14 +02:00
Markus Fisch
2324c18807 Renamed FragmentAssistant to content_frame
content_frame.kt doesn't contain a class but a bunch
of functions related to the content_frame layout so
it's probably more clear.
2017-09-02 13:30:39 +02:00
Markus Fisch
e7e42694bc Create barcodes from result screen 2017-08-30 20:20:05 +02:00
Markus Fisch
981fb2f0d8 Consider navigation bar on the right side
When laying out lock marks.
2017-08-30 20:07:31 +02:00
Markus Fisch
90036e1ba2 Keep Allocation and Bitmap between frames 2017-08-30 19:59:37 +02:00
Markus Fisch
f0916d55ba Have decoded content editable
This way the user may add/remove something before sharing.
2017-08-30 19:47:57 +02:00
Markus Fisch
07177a0c70 Create barcodes too
Extended Zxing wrapper to create barcodes and added
some simple UI for it.
2017-08-30 19:41:08 +02:00
Markus Fisch
478e8930a8 Added a special debug icon
So it's easy to separate the debug from the release build.
2017-08-27 18:47:41 +02:00
Markus Fisch
2d70b64dd1 Advanced version number to 1.0.1 2017-08-27 18:37:44 +02:00
Markus Fisch
25173bd7c7 Keep proguard from messing with renderscript
Otherwise the release build will miss the renderscript
libraries.
2017-08-27 18:35:46 +02:00
Markus Fisch
9adb5174af Added link to Google Play 2017-08-27 17:26:56 +02:00
Markus Fisch
5f0c00cd55 Added a license 2017-08-27 16:30:32 +02:00
Markus Fisch
37c43959ac Advanced version number to 1.0.0 2017-08-27 15:44:12 +02:00
Markus Fisch
4df4fc8840 Added a simple feature graphic 2017-08-27 15:30:24 +02:00
Markus Fisch
e938b7eef9 Removed transparency from icon edge
And cleaned up SVG document.
2017-08-27 15:29:09 +02:00
Markus Fisch
0ba195a558 Added a privacy policy
Because Google Play requires you to have one when your
app uses the camera.
2017-08-27 15:21:31 +02:00
Markus Fisch
99e70c266e Initial commit 2017-08-27 15:03:22 +02:00