Coder Social home page Coder Social logo

android-aadhaar-card-scanner's People

Contributors

rajdeol avatar

Stargazers

 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

android-aadhaar-card-scanner's Issues

NumberFormatException: Invalid BigInteger: <?xml version="1.0" encoding="UTF-8"?>

at java.math.BigInteger.(BigInteger.java:219)
at com.rajdeol.aadhaarreader.utils.SecureQrCode.(SecureQrCode.java:55)
at com.rajdeol.aadhaarreader.HomeActivity.processEncodedScannedData(HomeActivity.java:242)
at com.rajdeol.aadhaarreader.HomeActivity.processScannedData(HomeActivity.java:233)
at com.rajdeol.aadhaarreader.HomeActivity.onActivityResult(HomeActivity.java:148)
at android.app.Activity.dispatchActivityResult(Activity.java:8516)
at android.app.ActivityThread.deliverResults(ActivityThread.java:5188)

Not getting result from the new downloaded aadhaar card scan from the UIDAI site, please help

Hi Raj,
I am not able to get results from scanning the newly downloaded aadhaar card directly from the UIDAI number.Your provided code is working perfectly for pvc card only but it is not working for downloaded eAadhaar. It is given the below error:

Caused by: java.lang.NumberFormatException: Invalid BigInteger:
at java.math.BigInt.invalidBigInteger(BigInt.java:88)
at java.math.BigInt.checkString(BigInt.java:142)
at java.math.BigInt.putDecString(BigInt.java:92)
at java.math.BigInteger.(BigInteger.java:240)
at com.rajdeol.aadhaarreader.utils.SecureQrCode.(SecureQrCode.java:53)
at com.rajdeol.aadhaarreader.HomeActivity.processEncodedScannedData(HomeActivity.java:223)
at com.rajdeol.aadhaarreader.HomeActivity.processScannedData(HomeActivity.java:214)
at com.rajdeol.aadhaarreader.HomeActivity.onActivityResult(HomeActivity.java:129)
at android.app.Activity.dispatchActivityResult(Activity.java:7454)

Converting photo from JP2000 byte array format to jpeg image

Hi,

We have came across this reference to decode secure QR code from Aadhaar card and able to decode everything except photo.

We are facing some issues while converting photo from JP2000 byte array format to jpeg image in Java to display on webpage.

Can anyone quickly help with this?

Thanks in advance,
Bhagwan Sahane

NumberFormatException: Invalid BigInteger

Caused by: java.lang.NumberFormatException: Invalid BigInteger:
at java.math.BigInt.invalidBigInteger(BigInt.java:88)
at java.math.BigInt.checkString(BigInt.java:142)
at java.math.BigInt.putDecString(BigInt.java:92)
at java.math.BigInteger.(BigInteger.java:240)
at com.rajdeol.aadhaarreader.utils.SecureQrCode.(SecureQrCode.java:53)
at com.rajdeol.aadhaarreader.HomeActivity.processEncodedScannedData(HomeActivity.java:223)
at com.rajdeol.aadhaarreader.HomeActivity.processScannedData(HomeActivity.java:214)
at com.rajdeol.aadhaarreader.HomeActivity.onActivityResult(HomeActivity.java:129)
at android.app.Activity.dispatchActivityResult(Activity.java:7454)

mAadhaar QR Code Reader

Hi raj,

I could not able to read data from mAadhaar image,getting BigInteger(direct downloaded from mAadhaar site).But while taking image of Aadhaar card QR code(using snipping tool i created new image), I can able to read data.Could you please help.
Note: Sample code.txt contains BigInteger data
QRCodeReaderTest.txt
Testing.txt
samplecode.txt

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.