summaryrefslogtreecommitdiff
path: root/zxing-android-embedded/src
AgeCommit message (Collapse)AuthorFilesLines
2022-02-08Support custom colors in BarcodeEncoder.java.Muhammad Saif Ullah Khan1-3/+11
2021-11-17imp: make initializeAttributes publicjuliansteenbakker1-1/+1
2021-10-25ScanOptions and ScanContract.Ralf Kistner4-0/+440
2021-10-25Some cleanup.Ralf Kistner1-2/+1
2021-10-25Fix lint issues.Ralf Kistner2-7/+5
2021-10-25Fix API 19 crash.Ralf Kistner1-2/+8
2021-02-12Merge pull request #587 from ANewGalaxy/masterRalf Kistner1-17/+15
Fixing MediaPlayer warnings;
2021-02-12Move CameraConfigurationUtils to prevent clash with ↵Christian Kollmann2-2/+1
com.google.zxing:android-core
2020-12-12Replaced setAudioStreamType method call with setAudioAttributes call to fix ↵ANewGalaxy1-2/+3
warnings about stream types. Also removed unused import.
2020-12-12Added reset calls before each release callANewGalaxy1-15/+12
2020-01-07Camera permission behaviour (#505)Andre Ippisch4-28/+102
* Remove unused else * Remove SDK version check since we are on minimum 24 already * Add intent key about missing camera permission * Add boolean value to show error dialog - always true for the beginning to keep current behaviour * Make displaying an error dialog for missing camera permissions optional * Add intent extras for Intent initialisation * Initialise camera permission dialog visibility from Intent * Add original intent to IntentResult * Use original intent in IntentResult * Make onRequestPermissionResult public again * Forward onRequestPermissionResult * React on Intent information - for example on the missing camera permission * Revert "Remove SDK version check since we are on minimum 24 already" This reverts commit 8f79f56a * Add missing imports
2020-01-07Merge pull request #527 from yands11/masterRalf Kistner16-56/+56
Apply space convention after 'if'
2020-01-07Merge pull request #519 from bekabot/masterRalf Kistner1-5/+5
Remove unneeded type casts & fix comment typo in DecoratedBarcodeView.java
2020-01-07Apply space convention after 'if'youngseok16-56/+56
2019-12-10remove unneeded type castsbekabot1-4/+4
2019-12-10fix commentbekabot1-1/+1
2019-10-24Merge pull request #504 from anipp100/default-methodRalf Kistner1-1/+4
Use default annotation for optional interface method
2019-10-18Use lambda for standalone RunnablesAndre Ippisch6-70/+19
2019-10-18Use default annotation for optional interface methodAndre Ippisch1-1/+4
2019-10-17Let visibility of "laser scanner" be set (#503)Andre Ippisch1-6/+16
* Add laser visibility attribute * Add laser visibility attribute usage to sample project - set to true to stick with the current behavior - included for didactic reasons * Add laser visibility attribute to ViewfinderView and set it accordingly * Draw "laser scanner" only if wanted * Let laser visibility be changed programmatically * Add sample code to show how laser visibility can be changed programmatically
2019-09-07Internal support for downscaling before decoding.Ralf Kistner8-133/+257
Fix ResultPoint transformation for mirrored camera.
2019-09-07Check scaled preview size even earlier.Ralf Kistner1-11/+9
2019-09-07Merge pull request #463 from lterminiello/fixArithmeticExceptionRalf Kistner1-1/+11
fix ArithmeticException in CameraPreview
2019-09-07Merge pull request #469 from adrianoluis/more-extras-arrayRalf Kistner1-4/+16
Adds support to send Arrays as more extras.
2019-04-02Adds support to send Arrays as more extras.Adriano Rocha1-4/+16
2019-02-27fix ArithmeticException in CameraPreviewLucas Marcelo Terminiello1-1/+11
2018-11-02Switch to androidx.Ralf Kistner4-7/+7
2018-11-02Merge branch 'master' of github.com:journeyapps/zxing-android-embeddedRalf Kistner3-0/+25
2018-11-02Remove redundant call; set random color on every launch in sample.Ralf Kistner1-1/+0
2018-10-16Added support for programmatically change ViewfinderView mask colorAmadeu Cavalcante1-1/+6
2018-06-17torch at camera startupThomas Reusch3-0/+25
add option to enable the torch at camera startup when using IntentIntegrator
2018-03-04Make it easier to specify barcode formats.Ralf Kistner2-5/+43
2018-03-04Cleanup.Ralf Kistner2-12/+9
2018-03-04Merge pull request #327 from alpbak/masterRalf Kistner4-8/+81
Added a mixed scan mode to scan inverted and normal barcodes at the same time.
2018-03-04Make requestCode non-static.Ralf Kistner1-31/+49
2018-03-04Merge branch 'master' of github.com:journeyapps/zxing-android-embeddedRalf Kistner3-10/+30
2018-03-04Merge pull request #287 from tingbob/masterRalf Kistner1-3/+15
Redefine the default activity request code for using switch statement.
2018-03-04Merge pull request #324 from HomerSp/masterRalf Kistner2-7/+15
Request the camera preview on the main ui thread
2018-03-04Simplify code with new minimum SDK version.Ralf Kistner3-22/+8
2018-03-04Fix some lint issues.Ralf Kistner1-1/+5
2017-09-15Revert "Added a mixed scan mode to enable scanning inverted and normal barcodes"alpbak3-28/+0
This reverts commit cf4c0dce50e56de1ac17869182621af50c009cac. # Conflicts: # sample/src/main/java/example/zxing/MainActivity.java # zxing-android-embedded/src/com/google/zxing/client/android/Intents.java # zxing-android-embedded/src/com/journeyapps/barcodescanner/DecoratedBarcodeView.java # zxing-android-embedded/src/com/journeyapps/barcodescanner/DefaultDecoderFactory.java
2017-09-15Revert "Added a mixed scan mode to enable scanning inverted and normal barcodes"alpbak4-0/+74
This reverts commit cf4c0dce50e56de1ac17869182621af50c009cac.
2017-09-15Added a mixed scan mode to enable scanning inverted and normal barcodesalpbak3-17/+31
2017-09-14Added a mixed scan mode to enable scanning inverted and normal barcodesalpbak3-3/+16
2017-09-07Request the camera preview on the main thread, in case the camera instance ↵HomerSp2-7/+15
is being closed at the same time.
2017-07-30Add to Javadoc.橋度朋弥1-0/+1
2017-07-23Added camera setting change.橋度朋弥5-0/+74
2017-04-10just don't add the result points when exceeding maximumVictor Tseng1-7/+2
just don't add at the first place, instead of add and then trim.
2017-04-10don't allocate in ViewfinderView.onDraw()Victor Tseng1-30/+38
don't alloc in onDraw() as indicated by lint, avoids GC. we now draw lastPossibleResultPoints before possibleResultPoints, however it doesn't really matter which one is drawn first, since current ones are going to cover last ones anyway.
2017-04-01Redefine the default activity request code for using switch statement.nlv1-3/+15
Add a construct function to set customized activity request code.