summaryrefslogtreecommitdiff
path: root/sample/src/main/java/example/zxing/CustomScannerActivity.java
AgeCommit message (Collapse)AuthorFilesLines
2020-01-07Camera permission behaviour (#505)Andre Ippisch1-0/+8
* 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 Achleitner1-3/+3
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-02Remove redundant call; set random color on every launch in sample.Ralf Kistner1-1/+3
2018-10-16Added support for programmatically change ViewfinderView mask colorAmadeu Cavalcante1-0/+13
2016-07-04removes unnecessary new linesServus71-1/+0
2016-03-29Rename CompoundBarcodeView -> DecoratedBarcodeView.Ralf Kistner1-4/+4
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 Rocha1-0/+101