Git Product home page Git Product logo

barcodescanner-lib-aar's People

Contributors

eddyverbruggen avatar gczudowskifitatu avatar honza-c avatar imgx64 avatar rudloff avatar simonemsr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

barcodescanner-lib-aar's Issues

Request for new tag containing 5 commits to master

Edit: Looks like you may also need to merge this patchset before creating a new tag: #29

@EddyVerbruggen Please will you create a new tag containing 5 commits to master since 2.1.6:
https://github.com/EddyVerbruggen/barcodescanner-lib-aar/releases

Specifically I am interested in this patchset:
3c6d747 Bumped gradle deps

I am getting this build error when trying to build version 2.1.6:

$ ./gradlew clean assemble
[…]
Resource missing. [HTTP GET: https://jcenter.bintray.com/com/android/support/appcompat-v7/23.0.1/appcompat-v7-23.0.1.pom]
Resource missing. [HTTP HEAD: https://jcenter.bintray.com/com/android/support/appcompat-v7/23.0.1/appcompat-v7-23.0.1.jar]

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring project ':barcodescanner'.
> Could not resolve all dependencies for configuration ':barcodescanner:_debugCompile'.
   > Could not find com.android.support:appcompat-v7:23.0.1.
     Searched in the following locations:
         https://jcenter.bintray.com/com/android/support/appcompat-v7/23.0.1/appcompat-v7-23.0.1.pom
         https://jcenter.bintray.com/com/android/support/appcompat-v7/23.0.1/appcompat-v7-23.0.1.jar
     Required by:
         BarcodeScanner:barcodescanner:unspecified

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Cannot Find some QR Codes

Problematic QR Code:
image

Finding (also changing the angle of the QR code to 45° scans successfully):
image

BackPressed issue

Hi Folks,

when the user clicks the back button on the barcode scanning screen, the onKeyDown (in CaptureActivity) will react to it and the activity will be closed.
But the next Activity will capture the onBackPressed event, therefore it will be closed as well.
So with one back click, 2 Activity are closed.

With this modification we get the expected result:
So we handle the exit on the onBackPressed and not on the onKeyDown:

@OverRide
public void onBackPressed() {
if (source == IntentSource.NATIVE_APP_INTENT) {
setResult(RESULT_CANCELED);
finish();
}
if ((source == IntentSource.NONE || source == IntentSource.ZXING_LINK) && lastResult != null) {
restartPreviewAfterDelay(0L);
}
super.onBackPressed();
}

@OverRide
public boolean onKeyDown(int keyCode, KeyEvent event) {
switch (keyCode) {
/* case KeyEvent.KEYCODE_BACK:
if (source == IntentSource.NATIVE_APP_INTENT) {
setResult(RESULT_CANCELED);
finish();
return true;
}
if ((source == IntentSource.NONE || source == IntentSource.ZXING_LINK) && lastResult != null) {
restartPreviewAfterDelay(0L);
return true;
}
break;*/
case KeyEvent.KEYCODE_FOCUS:

Project license

Hello, could you please provide information about license of the barcodescanner-lib-aar library? We would like to use this library in a commercial project and we need to know if (and how) it is legally possible and the kind of license. Thank you.

Publish on Maven Central

Hello,

I'm an F-Droid contributor.
We recently packaged an app that uses this library.

Our policy is to build everything from source or get it from a trusted repository like Maven Central or jCenter.
So for now we are building barcodescanner from source but it would be easier for us to get it from a trusted repository with Gradle.

Do you think the library could be published on Maven Central?

(I first reported this here: phonegap/phonegap-plugin-barcodescanner#670)

Enlarge scanning area

Hello, Please can you Enlarge the scanning area. when you open the camera to scan a bar-code ,the scanning area is very small especially on tablet.

Barcode scanning issue

Hi Guys.
Barcode-reader reading barcodes outside the red line, and returning a lot of #¤%&/ characters in barcode.
Please give a tip why this happen. we are using 2.1.6 version.

Between 2.0.1 and 2.1.0 barcode scanning speed (at least for CODE_39) has decreased on android

iOS has no issue but Android is noticeably slower. Every once in awhile it will pick it up right away but most of the time you can see the barcode clear as day and it won't pick it up. I use this library through using the cordova barcode scanning library and noticed the decrease going from 6.0.3 and 6.0.4. I have tried the latest version of this library in cordova and it still exhibits the same issues.

Library not generated correct

Hi.
I generated .aar library according to your steps that you provided at front page. But when paste this .aar file in Bar code scanner plugin code then received Null Pointer exception when building android app in ionic project.
I received following exception every time:
Execution failed for task ':mergeDebugAssets'. > java.lang.NullPointerException (no error message)

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.