Djones4822 commented on pull request #1385:
URL: https://github.com/apache/cordova-android/pull/1385#issuecomment-1068396055


    was using your hotfix.zip archive to hook the camera intent, I noticed that 
the pictures being uploaded were unusually small - only 150x200px. I believe 
this is because you are accessing the "thumbnail data" instead of the full 
picture data.
   
   I base this on the sample code provided in the android documentation here: 
https://developer.android.com/training/camera/photobasics#java
   
   Within the `onActivityResult()` definition, you define `Bundle bundle = 
data.getExtras();` on line 288, and then on line 313 you create the bitmap 
using `Bitmap bmp = (Bitmap) bundle.get("data");` - this is exactly how they 
access the thumbnail with the warning 
   
   I will update as I continue research. Thanks for your work toward this 
problem! 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to