Commit Graph

120 Commits

Author SHA1 Message Date
Vladimir Kotikov
f3cfadb19e CB-7378 Adds support for windows platform 2014-09-05 11:07:49 -07:00
Suraj Pindoria
b2403c6076 Added support for the browser 2014-08-29 15:14:41 -07:00
Bryan Higgins
d53a7770d9 CB-7286 [BlackBerry10] Use getUserMedia if camera card is unavailable 2014-08-12 11:42:18 -04:00
Shazron Abdullah
42bf5d2983 CB-7180 - Update Camera plugin to support generic plugin webView UIView (which can be either a UIWebView or WKWebView) 2014-08-11 23:13:15 -07:00
Willy Aguirre
c696f6e0b3 update CameraProxy.js 2014-07-28 20:42:43 -05:00
Andrew Grieve
e4ab155fd0 CB-7071 android: Fix callback firing before CROP intent is sent when allowEdit=true 2014-07-03 13:21:52 -04:00
Dominik Pesch
543c4198d8 CB-6875 android: Handle exception when SDCard is not mounted
close #29
2014-06-27 13:55:18 -04:00
Andrew Grieve
1650dce693 ios: Delete postImage (dead code) 2014-06-27 13:49:56 -04:00
Manu Garcia Urreta
5b8324e984 Prevent NPE on processResiultFromGallery when intent comes null
close #22
2014-06-27 13:33:03 -04:00
Vladimir Kotikov
06ecc91fd1 Removes File plugin dependency from windows8 code. 2014-06-16 10:51:45 +04:00
Vladimir Kotikov
ffd46c4ef5 Use WinJS functionality to resize image instead of File plugin functionality 2014-06-11 12:49:58 +04:00
Andrew Grieve
7b60a0b6d1 Remove deprecated symbols for iOS < 6 2014-06-04 14:22:41 -04:00
Maxim Ermilov
8ff4d3f16e ubuntu: use application directory for images 2014-06-03 14:25:01 -07:00
Jesse MacFadyen
707426ece2 Merge branch 'CB-6613' of https://github.com/MSOpenTech/cordova-plugin-camera 2014-05-08 15:31:46 -07:00
Vladimir Kotikov
9e0d943971 CB-6612 camera.getPicture now always returns encoded JPEG image 2014-05-05 09:27:45 +04:00
Vladimir Kotikov
87a5030771 CB-6613 Use WinJS functionality to get base64-encoded content of image instead of File plugin functionality 2014-05-02 12:46:45 +04:00
RemeR
0c9de56da5 CB-6576 - Returns a specific error message when app has no access to library.
Signed-off-by: Shazron Abdullah <shazron@apache.org>
2014-04-30 16:03:37 -07:00
Andrew Grieve
d899d7a4b8 CB-6546 android: Fix a couple bugs with allowEdit pull request
- Don't set width/height when they are not specified
- photolibrary returns null from getData when image is cropped
2014-04-29 00:51:09 -04:00
Andrew Grieve
c7d88e8b34 CB-6546 android: Add support for allowEdit Camera option
GitHub: Close #12
2014-04-29 00:49:29 -04:00
Jesse MacFadyen
85a986f589 CB-6422 [windows8] use cordova/exec/proxy 2014-04-08 15:53:51 -07:00
Jesse MacFadyen
4c2c567fd8 WP8 When only targetWidth or targetHeight is provided, use it as the only bound 2014-04-08 12:19:44 -07:00
Jesse MacFadyen
fe6dc72a75 Remove rotation test value 2014-04-08 12:03:22 -07:00
Jesse MacFadyen
ae2acd9ab2 cleanup, finalize implementations/consolidations 2014-04-07 18:13:57 -07:00
Jesse MacFadyen
f6e8548381 combining callbacks, removing lots of dupe code 2014-04-07 16:32:21 -07:00
Jesse MacFadyen
e7a3d70fe9 Fix camera issues, cropping, memory leaks CB-4027, CB-5102, CB-2737, CB-2387 2014-04-07 15:00:12 -07:00
James Jong
91d6e10b29 CB-6212 iOS: fix warnings compiled under arm64 64-bit
-one update to CDVCamera.m
2014-03-13 10:16:30 -04:00
James Jong
c9bab1f94c CB-6212 iOS: fix warnings compiled under arm64 64-bit 2014-03-13 09:51:47 -04:00
Andrew Grieve
f3a704b59d CB-1826 Android: Guard against content provider not supplying orientation 2014-02-24 14:30:28 -05:00
Clément Vollet
4ae4414856 CB-1826 Catch OOM on gallery image resize 2014-02-13 13:26:48 -05:00
Clément Vollet
61ba9cca4b Refactor onActivityResult 2014-02-13 13:24:41 -05:00
Herm Wong
ab1281fb25 remove unrequired FFOS file 2014-01-15 10:23:37 -08:00
Piotr Zalewa
464c37eb50 getPicture via web activities 2014-01-14 12:25:28 -08:00
James Long
76eb49da95 reference the correct firefoxos implementation 2014-01-10 11:52:51 -08:00
Jesse MacFadyen
2437c40fe7 CB-2442 CB-2419 Use Windows.Storage.ApplicationData.current.localFolder, instead of writing to app package. 2013-12-09 17:35:18 -08: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
James Long
3424ddb39c fix camera for firefox os 2013-12-03 13:10:25 -08:00
Piotr Zalewa
e8e420895e getPicture via web activities 2013-12-03 13:09:27 -08:00
Steven Gill
a6736cda71 added ubuntu support 2013-12-02 15:11:12 -08:00
Maxim Ermilov
b44ea1c69f add ubuntu platform 2013-10-26 06:17:04 +04:00
Shazron Abdullah
4e6cf5cc2e CB-4958 - iOS - Camera plugin should not show the status bar 2013-10-15 10:29:54 -07:00
Anis Kadri
6a1a558e81 CB-4889 renaming core inside cameraProxy 2013-09-25 15:34:11 +02:00
purplecabbage
f5a521f5ea [Windows8] commandProxy has moved 2013-09-25 15:02:30 +02:00
Herm Wong
3a3bbb1cc9 added Camera API for FirefoxOS 2013-09-18 16:22:13 -07:00
James Jong
9bcf725e39 [CB-4823] Fix XCode 5 camera plugin warnings 2013-09-16 15:13:35 -04:00
Andrew Grieve
224e7cfb20 Fix compiler warnings 2013-09-09 16:21:30 -04: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
lorinbeer
df3141fef4 [CB-4432] copyright notice change 2013-08-20 13:55:43 -07:00
Andrew Grieve
6846cb04e3 [CB-4417] Move cordova-plugin-camera to its own Java package. 2013-08-14 14:37:25 -07:00
James Jong
b702aaf440 [CB-3482] Allow image metadata to be saved to album on iOS
-pass in metadata when saving to album using ALAssetsLibrary
2013-08-14 13:10:24 -07:00
James Jong
5f98661e0d [CB-3453] Save original picture to photo library
- saves original picture when the following camera options are set for no edits (i.e. allowEdit is false, correctOrientation is false, targetWidth/targetHeight are not specified)
- this mirrors cordova-android behavior
- testing done with mobile-spec auto and manual tests
2013-08-14 13:10:24 -07:00
purplecabbage
fe35a3ce65 [Windows8] added support for Windows8 2013-07-29 19:04:44 -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
Jesse MacFadyen
c8c201b4ce [CB-4110] remove dupe code 2013-07-08 14:52:17 -07:00
Benn Mapes
380630624d [CB-3656] first pass wp8 support 2013-06-24 14:11:43 -07:00
lorinbeer
f02ae7697e [CB-3652] camera plugin breakout blackberry10 initial commit 2013-06-21 14:16:01 -07:00
James Jong
a9b79ebb44 [CB-3757] camera.getPicture from photolib fails on iOS
-set data pointer properly when there's no controller metadata
2013-06-17 17:48:15 -04:00
Steven Gill
509991b50f updated CamaeraLauncher.java 2013-06-13 14:43:56 -07:00
Benn Mapes
69525b9b98 first pass at wp7 support 2013-06-07 11:37:25 -07:00
Steven Gill
f8948fb0bc fixed another mistake 2013-05-23 16:00:39 -07:00
Steven Gill
0b6342e56c updated plugin.xml, native src files 2013-05-23 14:51:18 -07:00
hermwong
fc2c9bd082 add iOS classes to plugin 2013-05-21 12:10:15 -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