Commit Graph

15 Commits

Author SHA1 Message Date
Clément Vollet 61ba9cca4b Refactor onActivityResult 2014-02-13 13:24:41 -05:00
Kevin Woram 6f4fef8479 CB-5599 Android: Catch and ignore OutOfMemoryError in getRotatedBitmap()
getRotatedBitmap() can run out of memory if the image is very large:

http://simonmacdonald.blogspot.ca/2012/07/change-to-camera-code-in-phonegap-190.html

If this happens, simply do not rotate the image and return it unmodified.  If you do not catch the OutOfMemoryError, the Android app crashes.
2013-12-06 14:50:59 -05:00
Andrew Grieve bc32c501da [CB-4765] Move ExifHelper.java into Camera Plugin 2013-09-09 16:15:16 -04:00
Andrew Grieve df028dd257 [CB-4764] Remove reference to DirectoryManager from CameraLauncher 2013-09-09 16:10:16 -04:00
Andrew Grieve 44517ea93f [CB-4763] Use a copy of FileHelper.java within camera-plugin. 2013-09-09 15:10:40 -04:00
Joe Bowser f33e00083a CB-4633: We really should close cursors. It's just the right thing to do. 2013-09-04 11:34:13 -07:00
Joe Bowser 118ca18d5a No longer causes a stack trace, but it doesn't cause the error to be called. 2013-09-04 11:34:13 -07:00
Andrew Grieve 382e9421e7 [CB-4656] Don't add line-breaks to base64-encoded images. 2013-08-29 14:09:33 -04:00
Andrew Grieve 6846cb04e3 [CB-4417] Move cordova-plugin-camera to its own Java package. 2013-08-14 14:37:25 -07:00
Max Woghiren 648a53647d [CB-1605] Warning cleanup! Removed unused import. 2013-07-11 17:48:12 -04:00
Andrew Grieve 1b27bf0035 [CB-4038] - Remove o.a.c.api namespace 2013-07-10 09:31:32 -04:00
Steven Gill 509991b50f updated CamaeraLauncher.java 2013-06-13 14:43:56 -07:00
Joe Bowser 5455bbeb37 Updating CameraLauncher based on changes in master, read pre-3.0 commit history for author info 2013-05-13 11:42:53 -07:00
Joe Bowser aaef443dc6 Updating Plugin from curent source 2013-04-17 14:22:56 -07:00
Joe Bowser a0bff7b154 Initial Commit 2013-04-01 15:35:43 -07:00