summaryrefslogtreecommitdiff
path: root/sample/src/main/java
AgeCommit message (Collapse)AuthorFilesLines
2020-01-07Camera permission behaviour (#505)Andre Ippisch2-2/+16
* 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
2019-11-17some code cleanupHannes Achleitner5-19/+12
2019-10-17Let visibility of "laser scanner" be set (#503)Andre Ippisch1-0/+5
* 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
2018-11-02Switch to androidx.Ralf Kistner3-15/+17
2018-11-02Add AboutLibaries to the sample app.Ralf Kistner1-0/+5
2018-11-02Merge branch 'master' of github.com:journeyapps/zxing-android-embeddedRalf Kistner1-0/+1
2018-11-02Remove redundant call; set random color on every launch in sample.Ralf Kistner1-1/+3
2018-11-02Merge branch 'change-mask-color-programmatically' of ↵Ralf Kistner1-0/+13
https://github.com/amadeu01/zxing-android-embedded into amadeu01-change-mask-color-programmatically
2018-11-02Merge pull request #383 from CaramelHeaven/feature/update_sampleRalf Kistner1-0/+1
Updated sample
2018-11-02More updates and fixes.Ralf Kistner3-4/+0
2018-10-16Added support for programmatically change ViewfinderView mask colorAmadeu Cavalcante1-0/+13
2018-03-30Updated sampleCaramelHeaven1-0/+1
2018-03-04Make it easier to specify barcode formats.Ralf Kistner2-0/+18
2018-03-04Merge pull request #327 from alpbak/masterRalf Kistner1-1/+7
Added a mixed scan mode to scan inverted and normal barcodes at the same time.
2018-03-04Make requestCode non-static.Ralf Kistner1-16/+14
2017-09-15Revert "Added a mixed scan mode to enable scanning inverted and normal barcodes"alpbak1-3/+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"alpbak1-0/+3
This reverts commit cf4c0dce50e56de1ac17869182621af50c009cac.
2017-09-15Added a mixed scan mode to enable scanning inverted and normal barcodesalpbak1-2/+2
2017-09-14Added a mixed scan mode to enable scanning inverted and normal barcodesalpbak1-0/+6
2017-04-01Redefine the default activity request code for using switch statement.nlv1-0/+18
Add a construct function to set customized activity request code.
2017-03-20Add tabbed scanner example.Ralf Kistner2-64/+117
2017-03-20Close camera before finishing Activity.Ralf Kistner1-0/+188
2016-11-03Added support for inverted scans.Leighton, Michael1-0/+7
2016-10-16Simplify BeepManager. Beep based on media volume only.Ralf Kistner1-2/+13
2016-09-04Fixed deprecationAlec Bickerton2-2/+4
2016-07-04removes unnecessary new linesServus72-2/+0
2016-06-05Merge branch 'next-cleanup'Ralf Kistner4-15/+13
2016-05-11create a new constructor to finish the barcode scan on predefined finish time.Lucas Daniel1-0/+6
2016-03-29Rename CompoundBarcodeView -> DecoratedBarcodeView.Ralf Kistner4-15/+13
2016-02-06Save torch state.Ralf Kistner1-1/+1
2015-12-29Update sample with texture view.Ralf Kistner1-1/+0
2015-10-26Fix centering of texture preview.Ralf Kistner1-1/+4
2015-10-23Experimental SurfaceTexture support.Ralf Kistner2-0/+19
2015-06-21Use "torch" instead of "flashlight" to keep terminology consistent.Ralf Kistner1-7/+6
2015-06-17Refactor method name.Magnum Rocha1-1/+1
2015-06-17Refactor method name.Magnum Rocha1-2/+2
2015-06-17Add to the sample project the custom scanner example.Magnum Rocha2-0/+105
2015-06-10Add option to disable beep via IntentIntegrator.Ralf Kistner1-0/+1
2015-05-20Enable LeakCanary to test for Activity leaks.Ralf Kistner1-0/+16
2015-05-03Add brief explanations on sample Activities.Ralf Kistner3-3/+5
2015-05-03Improve handling of back button in toolbar sample.Ralf Kistner1-1/+6
2015-05-03Rename DefaultBarcodeScannerView to CompoundBarcodeView.Ralf Kistner2-15/+6
2015-05-03Refactor ContinuousCaptureActivity to use the compound barcode view.Ralf Kistner4-41/+20
2015-05-03Sample with AppCompat/Toolbar Activity.Ralf Kistner2-2/+66
2015-05-03Fix some code style issues.Ralf Kistner1-75/+75
2015-04-15Added preview of scanned imageEltsov Maksim1-2/+7
2015-04-05Update readme.Ralf Kistner1-4/+5
2015-04-05Lock display to opening orientation by default.Ralf Kistner2-2/+12
2015-04-04Remove unused resources.Ralf Kistner1-2/+0
2015-04-04New CaptureActivity.Ralf Kistner2-3/+116