Add native Android barcode scanner app for Datalogic terminals#5
Draft
Add native Android barcode scanner app for Datalogic terminals#5
Conversation
Co-authored-by: flandi <6390322+flandi@users.noreply.github.com>
Co-authored-by: flandi <6390322+flandi@users.noreply.github.com>
… handle Android 10+ storage Co-authored-by: flandi <6390322+flandi@users.noreply.github.com>
…vior Co-authored-by: flandi <6390322+flandi@users.noreply.github.com>
Co-authored-by: flandi <6390322+flandi@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Implement barcode scanning for data collection
Add native Android barcode scanner app for Datalogic terminals
Jan 12, 2026
Collaborator
|
@copilot where do I find the projct files? Can you convert to be compiled in Android Studio? |
Co-authored-by: flandi <6390322+flandi@users.noreply.github.com>
Author
The project files are in the To open in Android Studio:
I've added a comprehensive Android Studio Setup Guide with detailed instructions including:
The Gradle configuration has been modernized to use the latest plugin syntax for better Android Studio compatibility. Commit: fbeb370 |
Co-authored-by: flandi <6390322+flandi@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implements a native Android application for Datalogic terminals to scan barcodes, collect quantities, and export data to text files in the Download folder.
Implementation
Core Functionality
MainActivity.java: ImplementsReadListenerfor Datalogic SDK barcode scan eventsStorage Strategy
getExternalFilesDir()) - no permissions requiredWRITE_EXTERNAL_STORAGEUI Components
Android Studio Compatibility
The project is fully compatible with Android Studio and uses modern Gradle configuration:
android-app/folder in Android Studiolocal.properties.examplefor SDK path configurationFile Structure
Output Format
Note: Requires Datalogic SDK (pre-installed on Datalogic devices) for barcode scanning functionality. Build configuration uses
compileOnlydependency since SDK is provided at runtime by device firmware.Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.