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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T00:04:50+00:00 2026-05-31T00:04:50+00:00

Im looking into trying to incorportate QR codes into my java program. I want

  • 0

Im looking into trying to incorportate QR codes into my java program. I want them to be the user input and each code will have a numerical value. For example code_A = 1 and code_B = 5 or something like that. Where can i learn how to do this? Or do any of you have any experience incorporating these QR codes into java.

I was thinking maybe setting up a place to store the value of each QR code, maybe storing them as text documents and then when the QR code is read into the program it tells the program to read the value from the text document. Probably not the most effieient way, but so far it seems the most logical way that I can come up with.

Thanks in advance to anyone who can help!

  • 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-31T00:04:51+00:00Added an answer on May 31, 2026 at 12:04 am

    Like the comments on your question say: I dont really get what you are trying to do.

    ZXing is definitely the right library to use. With it you can create QRCodes as follows.

    Quick and dirty example:

        // create QR code
        BitMatrix bitMatrix = new QRCodeWriter().encode("Text in QRCode", BarcodeFormat.QR_CODE, 15, 15);
        // save as image
        String path = "path/on/disc"
        File img = new File(path);
        FileOutputStream fos = new FileOutputStream(img);
        MatrixToImageWriter.writeToStream(bitMatrix, "gif", fos);
        fos.close();
    

    In the end its your choice what content/source you’ll put in this code (as long as it is a String).

    No offense: You should consider asking questions more general in case you’re not able to give or have enough information.

    Anyway, I hope this helped! Have Fun!

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

Sidebar

Related Questions

I'm a long time C++/Java developer trying to get into Python and am looking
Evening all. I have the following code that I need looking into - basically
I have been looking into the Microsoft.Web.Administration.dll and the ServerManager class, trying to control
I have started looking into iPhone game programming. I want to build a game
I have been looking into refactoring some old code into a new WCF service,
I have been looking into some existing code of the company I am with
I am trying to make nice looking user input buttons for my app. Just
I have been looking into IKVMing Apache's FOP project to use with our .NET
I'm looking into writing a audio syntesizer in Java, and was wondering if anybody
I am looking into using browser sessionStorage for a web application, and was trying

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.