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 8832427
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T08:31:33+00:00 2026-06-14T08:31:33+00:00

my app makes use of ZXing barcode scanner using the ZXing helper classes IntentIntegrator

  • 0

my app makes use of ZXing barcode scanner using the ZXing helper classes IntentIntegrator and IntentResult.

Now I found there are no longer scanning results submitted from ZXing, the related return values are empty/null.

Thus I updated to latest helper classes http://code.google.com/p/zxing/source/browse/trunk/android-integration/src/com/google/zxing/integration/android/IntentIntegrator.java and http://code.google.com/p/zxing/source/browse/trunk/android-integration/src/com/google/zxing/integration/android/IntentResult.java

Now my onActivityResult method is called immediately after ZXing is started – of course with an empty result again.

My code is quite simple, scanning is started this way:

  if (v==scanButton)
  {
     com.google.zxing.integration.android.IntentIntegrator integrator = new IntentIntegrator(this);
     integrator.initiateScan();
  }

and fetching the results this way:

public void onActivityResult(int requestCode, int resultCode, Intent intent) 
{
  com.google.zxing.integration.android.IntentResult scanResult = IntentIntegrator.parseActivityResult(requestCode, resultCode, intent);
  if (scanResult != null) 
  {
     String format;

     format=scanResult.getFormatName();
     if ((format!=null) && (format.length()>0))
     {
         if ((format.equals("EAN_8")) || (format.equals("EAN_13")) ||(format.equals("UPC_A")) ||(format.equals("UPC_E")))
          getEANData(scanResult.getContents());
     }   
 }
}    

On my android the latest ZXing code is installed. Any ideas why it does not work any more?

  • 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-06-14T08:31:35+00:00Added an answer on June 14, 2026 at 8:31 am

    From what I found out meanwhile: this seems to be an installation-dependent problem. On my Android device I can see that problem but it is not reproducible, other users of my App do not experience this. ZXing code itself wasn’t changed for longer time and there users confirm it works too – so that seems to be a really ugly bug.

    Here it happens with ZXing-code installed from Playstore, haven’t tested it with ZXing included into my app yet…

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

Sidebar

Related Questions

I want an app to use ZXing barcode scanner. I think the ScanningViaIntent is
Possible Duplicate: Using ZXing to create an android barcode scanning app I know it
I'm using an ASP Classic app that makes use of session state. It's got
I have a codeigniter app that makes extensive use of sessions, specifically using database
I've been making an app that makes use of the camera using phonegap. When
I am working on a web app which makes use of a 3rd party
I am creating a Rails 3 app that makes use of a nested form
I am planning to develop an iphone app which makes use of image filters
I am working on a Rails 3.1 app that makes use of CoffeeScript. As
I'm porting an existing app to rails that makes extensive use of stylized anchors

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.