mirror of
https://github.com/jfoucry/Pilldroid.git
synced 2024-11-10 07:51:20 +01:00
Add scanOptions for QRCode light on dark background
This commit is contained in:
parent
94e625db26
commit
b0dc51dd60
1 changed files with 1 additions and 0 deletions
|
@ -251,6 +251,7 @@ public class DrugListActivity extends AppCompatActivity {
|
||||||
//options.setTimeout(3600);
|
//options.setTimeout(3600);
|
||||||
options.setCaptureActivity(CustomScannerActivity.class);
|
options.setCaptureActivity(CustomScannerActivity.class);
|
||||||
options.addExtra(Intents.Scan.SCAN_TYPE, Intents.Scan.MIXED_SCAN);
|
options.addExtra(Intents.Scan.SCAN_TYPE, Intents.Scan.MIXED_SCAN);
|
||||||
|
options.addExtra(Intents.Scan.SCAN_TYPE, Intents.Scan.INVERTED_SCAN);
|
||||||
barcodeLauncher.launch(options);
|
barcodeLauncher.launch(options);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue