Commit 23a9e23
committed
Add comprehensive regex-based barcode filtering system (v1.29)
🔍 Advanced Barcode Filtering System
• Implemented real-time regex pattern matching for selective barcode capture
• Added foldable "Filtering" section in settings with enable checkbox and regex input
• Integrated filtering with SharedPreferences and managed configuration support
• Enhanced camera activity with live regex validation during barcode detection
⚙️ Filtering Capabilities
• Numeric-only filtering for UPC/EAN codes
• URL pattern matching for QR codes
• Product code format validation
• Serial number filtering
• Custom regex pattern support
📚 Comprehensive Documentation
• Created extensive regex pattern library (16-Common-Regex-Expressions.md)
• Added 200+ regex patterns for:
- Web URLs, IP addresses, MAC addresses
- Protocol-specific URIs (FTP, SSH, SMTP, etc.)
- Android system schemes and popular app deep links
- Government IDs and social security numbers (22 countries)
- Device identifiers (IMEI, phone numbers)
- Industry standards (ISBN, ISIN, UPC, etc.)
• Updated Android configuration guide with filtering setup
• Added symbologies reference table with 46+ barcode types
🛠 Technical Implementation
• Constants.java: Added filtering preference constants
• SettingsActivity.java: Implemented filtering UI and persistence
• CameraXLivePreviewActivity.java: Added real-time regex filtering
• ManagedConfigurationReceiver.java: Enterprise filtering configuration
• app_restrictions.xml: Updated managed config schema
• Updated strings.xml and activity_setup.xml for UI components
🏢 Enterprise Features
• Full MDM/EMM integration for remote filtering configuration
• Real-time policy updates without app restart
• Robust error handling with fallback behavior
• Performance-optimized regex processing
This release transforms the application into a precision tool for selective barcode capture, perfect for quality
control, inventory management, and specialized data collection workflows.
Files modified:
- README.md, CHANGELOG.md (version documentation)
- Constants.java, SettingsActivity.java, CameraXLivePreviewActivity.java
- ManagedConfigurationReceiver.java, app_restrictions.xml
- strings.xml, activity_setup.xml, arrays.xml
- wiki/07-Android-App-Configuration.md
- wiki/16-Common-Regex-Expressions.md (new)1 parent 3a7257f commit 23a9e23
File tree
15 files changed
+1094
-105
lines changed- AI_MultiBarcodes_Capture
- src/main
- java/com/zebra/ai_multibarcodes_capture
- helpers
- java
- managedconfig
- settings
- res
- layout
- values
- xml
- wiki
15 files changed
+1094
-105
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | | - | |
| 17 | + | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
220 | 220 | | |
221 | 221 | | |
222 | 222 | | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
223 | 230 | | |
Lines changed: 85 additions & 25 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
142 | 142 | | |
143 | 143 | | |
144 | 144 | | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
145 | 149 | | |
146 | 150 | | |
147 | 151 | | |
| |||
394 | 398 | | |
395 | 399 | | |
396 | 400 | | |
397 | | - | |
| 401 | + | |
398 | 402 | | |
399 | 403 | | |
400 | | - | |
| 404 | + | |
401 | 405 | | |
402 | 406 | | |
403 | 407 | | |
404 | 408 | | |
405 | 409 | | |
406 | | - | |
| 410 | + | |
407 | 411 | | |
408 | 412 | | |
409 | 413 | | |
410 | | - | |
| 414 | + | |
411 | 415 | | |
412 | 416 | | |
413 | 417 | | |
414 | 418 | | |
415 | 419 | | |
416 | 420 | | |
417 | | - | |
| 421 | + | |
418 | 422 | | |
419 | 423 | | |
420 | 424 | | |
421 | 425 | | |
422 | 426 | | |
423 | 427 | | |
424 | 428 | | |
425 | | - | |
| 429 | + | |
426 | 430 | | |
427 | 431 | | |
428 | 432 | | |
429 | | - | |
430 | | - | |
| 433 | + | |
| 434 | + | |
431 | 435 | | |
432 | | - | |
| 436 | + | |
433 | 437 | | |
434 | | - | |
| 438 | + | |
435 | 439 | | |
436 | 440 | | |
437 | 441 | | |
| |||
440 | 444 | | |
441 | 445 | | |
442 | 446 | | |
443 | | - | |
| 447 | + | |
444 | 448 | | |
445 | 449 | | |
446 | 450 | | |
447 | 451 | | |
448 | 452 | | |
449 | 453 | | |
450 | 454 | | |
451 | | - | |
| 455 | + | |
452 | 456 | | |
453 | 457 | | |
454 | | - | |
| 458 | + | |
455 | 459 | | |
456 | 460 | | |
457 | 461 | | |
458 | 462 | | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
| 494 | + | |
| 495 | + | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
| 500 | + | |
459 | 501 | | |
460 | 502 | | |
461 | 503 | | |
| |||
696 | 738 | | |
697 | 739 | | |
698 | 740 | | |
699 | | - | |
700 | | - | |
701 | | - | |
702 | | - | |
703 | | - | |
704 | | - | |
705 | | - | |
| 741 | + | |
| 742 | + | |
| 743 | + | |
| 744 | + | |
| 745 | + | |
| 746 | + | |
| 747 | + | |
| 748 | + | |
| 749 | + | |
| 750 | + | |
| 751 | + | |
| 752 | + | |
| 753 | + | |
| 754 | + | |
| 755 | + | |
| 756 | + | |
| 757 | + | |
| 758 | + | |
706 | 759 | | |
707 | | - | |
708 | | - | |
709 | 760 | | |
710 | 761 | | |
711 | 762 | | |
| |||
826 | 877 | | |
827 | 878 | | |
828 | 879 | | |
829 | | - | |
| 880 | + | |
| 881 | + | |
| 882 | + | |
| 883 | + | |
830 | 884 | | |
831 | 885 | | |
832 | 886 | | |
| |||
897 | 951 | | |
898 | 952 | | |
899 | 953 | | |
900 | | - | |
901 | | - | |
| 954 | + | |
| 955 | + | |
| 956 | + | |
| 957 | + | |
| 958 | + | |
| 959 | + | |
| 960 | + | |
| 961 | + | |
902 | 962 | | |
903 | 963 | | |
904 | 964 | | |
| |||
Lines changed: 55 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
91 | 108 | | |
92 | 109 | | |
93 | 110 | | |
| |||
96 | 113 | | |
97 | 114 | | |
98 | 115 | | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
99 | 124 | | |
100 | 125 | | |
101 | 126 | | |
| |||
233 | 258 | | |
234 | 259 | | |
235 | 260 | | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
236 | 288 | | |
237 | 289 | | |
238 | 290 | | |
239 | 291 | | |
240 | 292 | | |
241 | 293 | | |
242 | 294 | | |
243 | | - | |
244 | | - | |
| 295 | + | |
| 296 | + | |
245 | 297 | | |
246 | | - | |
| 298 | + | |
247 | 299 | | |
248 | 300 | | |
249 | 301 | | |
| |||
0 commit comments