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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T15:15:55+00:00 2026-06-04T15:15:55+00:00

I currently develop a bookmarking application. So I used the zxing project to scan

  • 0

I currently develop a bookmarking application. So I used the zxing project to scan the ISBN, however I don’t know why after integrating the scanner it seems not working well. Sometimes, it catch well the barcode, but when I repeat it takes long time and gets wrong number. It seems odd to compare with this app Reading Progress. The application also request user to download an external Barcode Scanner from xzing, and it works very well. So did I integrate the Barcode Scanner in wrong way (Im not using zxing as a lib).

This is my code:

    public void scan(View view) {
        Intent intent = new Intent("com.google.zxing.client.android.SCAN");
        intent.putExtra("SCAN_MODE", "ISBN");
        startActivityForResult(intent, 0);
    }

    public void onActivityResult(int requestCode, int resultCode, Intent intent) {
        if (requestCode == 0) {
            if (resultCode == RESULT_OK) {
                String isbn = intent.getStringExtra("SCAN_RESULT");

                Intent i = new Intent(MainActivity.this, ResultActivity.class);

                i.putExtra("isbn", isbn);
                startActivity(i);

            } else if (resultCode == RESULT_CANCELED) {
                Toast.makeText(this, "You messed up", Toast.LENGTH_SHORT).show();
            }
        }
    }

I used the mode “QR_CODE_MODE” but it even doesn’t work at all so I change to ISBN mode

  • 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-04T15:15:56+00:00Added an answer on June 4, 2026 at 3:15 pm

    The sacn mode use both QRMODE,1D MODE

    intent.putExtra("SCAN_MODE","ONE_D_MODE,QR_CODE_MODE");
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I currently develop an application hosted at google app engine. However, gae has many
I currently develop an application in C# with framework .NET 3.5 SP1. In my
I am currently planning to develop a music streaming application. And i am wondering
Here's my problem. I'm currently trying to develop a .Net Compact Framework 2.0 application
Currently, I'm trying to develop a rich internet application using Flash Builder 4 Beta
I need some help with GUI Iphone development I am currently develop iphone application
currently I develop a C#.Net application in which I'm using a custom control I
I'm currently trying to develop an android application in eclipse(java) which shows some jokes
I currently develop a server application which has to receive serialized data from clients,
I'm currently trying to develop a project based upon Firemonkey. I'm using Firemonkey for

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.