There was a wonderful day scanning QR code. Error: Java.lang.SecurityException:Unab

Source: Internet
Author: User

After the multi-party search, finally found in the StackOverflow answer: http://stackoverflow.com/questions/18096607/ Using-crop-intent-getting-java-lang-securityexception-unable-to-find-app-for-ca

 
This log means the Your app is has trouble handling a comm Unication Intent. Sometimes problems like this can is cause by sending a intent with big extras. Try to reduce the dimension of the image or, and the "The best", save your image on the SD and put in the extras onl Y the Uri of the that image

Translation:

It means that you carry the extras in the process of jumping activity with pictures of the bitmap, the application to minimize the size of the image, you should save the image to the SD card or through the URI to pass the picture parameters.

Sure enough removed the Resultintent.putextra ("bitmap", bitmap), after this sentence will not error.

Thus, the picture transmission and other large files or data, do not pass this way.

There was a wonderful day scanning QR code. Error: Java.lang.SecurityException:Unab

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.