Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6073231
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T10:14:55+00:00 2026-05-23T10:14:55+00:00

I want to integrate bar-code scannerin my Android application. I attempted to add the

  • 0

I want to integrate bar-code scannerin my Android application.

I attempted to add the zxing library, but all my app does is show the camera view without scanning.

http://code.google.com/p/zxing/

Is there a simple way to integrate barcode scanning functionality?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T10:14:55+00:00Added an answer on May 23, 2026 at 10:14 am

    This is waaaay too open-ended of a question. Long and short of it is that the Android app parts of ZXing are a bit monolithic and can be hard to copy into your existing app unless you’re very familiar with it — I’d actually suggest starting from the ZXing source and getting that up and running, then hacking out the parts you don’t need and adding your apps code into ZXing, rather than the other way around (changing the package names and such, adding your activities to the manifest, etc.).

    The key code you’ll want to start changing is in CaptureActivity.java‘s handleDecode/handleDecodeInternally methods; that’s what gets called when the scanner picks up a valid barcode.

    Once you’re more familiar with the source, you might try putting all the core zxing classes in a JAR file, since you’ll rarely need to touch those and they operate reasonably independently of the Android app parts (since they’re shared with the other non-Android Java zxing versions).

    Also, be sure to weigh the inconvenience of having to maintain your ZXing code whenever a buggy new device comes out — the ZXing guys do that work for you automatically if you just integrate via the Intents instead of copy-pasting their code.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to integrate the zxing source code to my Android application. I have
I want to integrate the iPhone sms like chat bubbles in my application. But
I want to integrate the iTunes library into my application so the user can
I have an android application and I need to integrate QR code within it.On
I want to integrate some existing Perl code with ASP.NET. I see plenty examples
I want to integrate photologue with my Django app and use it to display
I am creating a web application to integrate with Chargify . I want to
i want integrate admob ads to my palm pre application.can you please suggest me
I want to integrate AdMob ads in my iPhone app. I'm using IB way
I want to integrate a report writer in our web application. Right now ,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.