We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
if that possible to use the eu.livotov.labs.android.camview.scanner.decoder.zxing.ZXDecoder decode the image that is picked from the gallery folder?
eu.livotov.labs.android.camview.scanner.decoder.zxing.ZXDecoder
The text was updated successfully, but these errors were encountered:
I have tried this approach but it doesnt get lucky..
@Override protected String doInBackground(File[] params) { byte[] byeImage; String messagew = ""; try { // byeImage = Utilities.readBytesFromFile(params[0]); BitmapFactory.Options options = new BitmapFactory.Options(); options.inJustDecodeBounds = true; BitmapFactory.decodeFile(params[0].getAbsolutePath(), options); ZXDecoder decoder = new ZXDecoder(); decoder.setScanAreaPercent(1.0); String decodedcontent = decoder.decode(options.inTempStorage, options.outWidth, options.outHeight); mRe.extraTaskAfterDecodeQR(decodedcontent); return decodedcontent; } catch (IOException e) { e.printStackTrace(); messagew = e.getLocalizedMessage(); good = false; } catch (Exception e) { messagew = e.getMessage(); good = false; } return messagew; }
the above shows where decodedcontent always gets null as return.
decodedcontent
null
Sorry, something went wrong.
No branches or pull requests
if that possible to use the
eu.livotov.labs.android.camview.scanner.decoder.zxing.ZXDecoder
decode the image that is picked from the gallery folder?The text was updated successfully, but these errors were encountered: