Skip to content
This repository was archived by the owner on Apr 19, 2026. It is now read-only.

Added code for Auto detect barcode without user tap#115

Open
mrigankdembla wants to merge 2 commits into
googlesamples:masterfrom
mrigankdembla:mrigankdembla-patch-1
Open

Added code for Auto detect barcode without user tap#115
mrigankdembla wants to merge 2 commits into
googlesamples:masterfrom
mrigankdembla:mrigankdembla-patch-1

Conversation

@mrigankdembla

Copy link
Copy Markdown

Hi ,

I saw an issue #94 according to which user asked to auto detect barcode without user interaction. So I have added switch/chechbox in the Main activity , which if selected will enable user to auto detect barcode and return its value.

I have made the changes in the following files by which if user wants to auto detect barcode, he/she can directly select switch/checkbox for auto detect on main activity and then barcode will be detected without tap and first detected barcode will be returned.

Please review the changes made in MainActivity,BarcodeCaptureActivity, BarcodeGraphicTracker and BarcodeTrackerFactory along with layout changes in activity_main.xml

Please review the changes made and tell me issues with it if any.

@googlebot

Copy link
Copy Markdown

Thanks for your pull request. It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

📝 Please visit https://cla.developers.google.com/ to sign.

Once you've signed, please reply here (e.g. I signed it!) and we'll verify. Thanks.


  • If you've already signed a CLA, it's possible we don't have your GitHub username or you're using a different email address. Check your existing CLA data and verify that your email is set on your git commits.
  • If you signed the CLA as a corporation, please let us know the company's name.

@mrigankdembla

Copy link
Copy Markdown
Author

I signed it!

@googlebot

Copy link
Copy Markdown

CLAs look good, thanks!

@mrigankdembla

Copy link
Copy Markdown
Author

@claywilkinson please check this.. Thanks! :)

@pchx-zz pchx-zz left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your changes are appearing as new files -- are you sure you've included the right file paths in your commit?

@alibitek

alibitek commented Nov 7, 2016

Copy link
Copy Markdown

@mrigankdembla The changes are commited incorrectly at the root of the project: https://github.com/googlesamples/android-vision/tree/76f6fe5193ad114f787c2863ca976fe9a485ecbf . The files should be placed in the appropriate subdirectory.

@cluelin

cluelin commented Dec 15, 2016

Copy link
Copy Markdown

Thanks! it's working great!

@wanamr87

Copy link
Copy Markdown

?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants