Coder Social home page Coder Social logo

Comments (9)

rusfearuth avatar rusfearuth commented on May 19, 2024

It scans different formates.

For instance,

@OverRide
public void handleBarcode(Result result, Bitmap arg1, float arg2) {
Toast.makeText(HelloAndroidActivity.this, result.getText(), Toast.LENGTH_LONG).show();
xf.restartScanningIn(200);
}

result contains information about format. Could you checkout result output and write it here?

from zxing-lib-extended.

jodaka avatar jodaka commented on May 19, 2024

At first I tried using original ZXing and after much struggling with integration into my app, it does scanned different formats. Though there was no portrait mode, so I decided to try this lib.

When I'm trying to scan a barcode on the product nothing happens. No callback gets fired. That red line keeps blinking for ever. I was able to scan exactly the same barcode almost instantly with original zxing.

And this lib seems to react only on QRcodes.

from zxing-lib-extended.

rusfearuth avatar rusfearuth commented on May 19, 2024

You're wrong about "And this lib seems to react only on QRcodes". Could I get more information about you code?

from zxing-lib-extended.

rusfearuth avatar rusfearuth commented on May 19, 2024

I don't know how to you connect this library, but in my test app everything is fine.

http://dl.dropbox.com/u/10179307/%D0%92%D1%8B%D0%B4%D0%B5%D0%BB%D0%B5%D0%BD%D0%B8%D0%B5_007.bmp

from zxing-lib-extended.

jodaka avatar jodaka commented on May 19, 2024

Could you maybe post your test app on github so I could compare and see what am I doing wrong?

from zxing-lib-extended.

rusfearuth avatar rusfearuth commented on May 19, 2024

@jodaka okay, but I see that problem from your side.

from zxing-lib-extended.

jodaka avatar jodaka commented on May 19, 2024

Yep, I'm pretty sure the problem is somewhere in my code, but I can't figure out where exactly. And since it's not my personal project, I can't just share code :(

from zxing-lib-extended.

rusfearuth avatar rusfearuth commented on May 19, 2024

https://gist.github.com/rusfearuth/d064ea6eb0b5497285a5

from zxing-lib-extended.

rusfearuth avatar rusfearuth commented on May 19, 2024

@jodaka Did library return any barcode? Probably, bug is in adding callback.

from zxing-lib-extended.

Related Issues (4)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.