rajdeol / android-aadhaar-card-scanner Goto Github PK
View Code? Open in Web Editor NEWScan QR code of aadhaar card and save information on android device
Scan QR code of aadhaar card and save information on android device
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)
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)
hello raj, shiv tyagi here
unable to get the mobile number.. only the hex value i get
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
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)
Hi is there a way to capture the Aadhaar image and store in the app?
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.