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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T02:09:07+00:00 2026-05-24T02:09:07+00:00

I am using ZXing via intent to scan 1D bar-codes. ZXing sends me back

  • 0

I am using ZXing via intent to scan 1D bar-codes. ZXing sends me back the type of 1D barcode that was scanned (UPC-A, Code 39, etc…) and the string that is encoded in the barcode. I would like to take the type and string and generate and image of the 1D barcode and display it in an ImageView in an activity.

I am also open to displaying the barcode in a TextView using a font similar to “Free 3 of 9”, but I cannot figure out how to do this.

I noticed that there is an activity in ZXing called EncodeActivity that can perform what I need, but only for QR codes.

Any help would be appreciated.

Thanks.

  • 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-24T02:09:07+00:00Added an answer on May 24, 2026 at 2:09 am

    Using ZXing IntentIntegrator and IntentResult classes!

        String data = "123456789";
    
        Intent intent = new Intent("com.google.zxing.client.android.ENCODE");  
    
        intent.addCategory(Intent.CATEGORY_DEFAULT); 
    
        intent.putExtra("ENCODE_FORMAT", "CODE_128");  
    
        intent.putExtra("ENCODE_DATA", data);  
    
        startActivity(intent); 
    

    It only works if you have the Barcode reader installed on your Android

    If you need help, ask me!

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

Sidebar

Related Questions

I am using Zxing Barcode scanner app to scan bar codes using Intent intent
The application currently I am using has a main functionality to scan QR/Bar codes
In Android, Using ZXing we can scan a QR code through phone camera and
I'm using Zxing bar code scanner in an application and I want to change
I'm using the zxing C# port to decode a QR barcode. The code is
I am new to Zxing. I am doing barcode conversion using zxing in my
I am using a tutorial to implement the zxing code into my own application.
I am using Zxing client for developing BarCode Scanner for android. But I guess
Possible Duplicate: Using ZXing to create an android barcode scanning app I know it
I'm making a Android application to scan 2D barcodes. I'm using the Zxing source

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.