Commit Graph

77 Commits

Author SHA1 Message Date
EddyVerbruggen ce33f74ebd Merge remote-tracking branch 'upstream/master'
# Conflicts:
#	plugin.xml
2015-10-28 20:20:40 +01:00
EddyVerbruggen b4cee77d66 #4 The name of my app on android is now ImagePicker 2015-10-28 18:34:02 +01:00
Dan McNamara 42aafdc23e Merge pull request #79 from kmckee/master
Updated version to 1.0.7
v1.0.7
2015-10-21 20:31:13 -04:00
Dan McNamara 501a0a1c44 Merge pull request #95 from hydrogennz/patch-1
Add compulsory prefix "tmp_" to temporary filename
2015-10-19 10:19:29 -04:00
Daniel Smith e188210a33 Add compulsory prefix "tmp_" to temporary filename
Fixes Issue #86.

The call to `File.createTempFile` causes an `IllegalArgumentException` as it is expecting the filename parameter to be > 3 characters. Therefore a fatal error occurs when filename prefixes are less than 3 characters e.g.: 3.jpg, ab.jpg etc.

To fix this I have added a compulsory prefix to the created temporary file.
2015-10-14 13:03:24 +13:00
Kyle McKee 9712feb410 Updated version to 1.0.7 2015-07-14 16:27:27 -04:00
EddyVerbruggen 959b379ded #1 Cordova-Android 4 compatibility 2015-06-13 23:54:56 +02:00
EddyVerbruggen 1735907af4 Merge branch 'improve-appearance' of https://github.com/JonathanAquino/cordova-imagePicker 2015-06-04 20:14:32 +02:00
EddyVerbruggen 4452872ca7 Merge branch 'master' of https://github.com/shanebdavis/cordova-imagePicker 2015-06-04 20:13:51 +02:00
Robert Abeyta fd055c2cf9 Updated ImagePicker to grab output type from options and pass to plugin intent 2015-05-23 14:56:24 -07:00
Robert Abeyta bfb702546a fixed outputType reference for logic for file or base64 output 2015-05-23 14:49:13 -07:00
Robert Abeyta 92a1b6ba05 added missing constant for outputTypeKey 2015-05-23 14:48:55 -07:00
Robert Abeyta 3e5838eec4 added missing import for base64 2015-05-23 14:48:37 -07:00
Robert Abeyta 0a62ad125f based on outputType option, add base64 string or file uri to output list 2015-05-18 14:10:37 -07:00
Robert Abeyta b772953ea1 added missed import for ByteArrayOutputStream 2015-05-18 14:10:11 -07:00
Robert Abeyta 181e8267f6 added method to getBase64 String from Bitmap 2015-05-18 14:09:44 -07:00
Robert Abeyta 647e28449d store outputType in activity based on options passed in 2015-05-18 14:09:16 -07:00
Robert Abeyta 5e856c82e6 created enum to hold OutputType values 2015-05-18 14:08:52 -07:00
Robert Abeyta 80b4fc396c based on options for outputType, add base64 encoded string or file_uri to resultStrings 2015-05-18 13:34:40 -07:00
Robert Abeyta 8bd64c7181 set outputType from passed in options 2015-05-18 13:34:02 -07:00
Robert Abeyta f15e0b65c0 created enum to hold outputType values inside SOSPicker 2015-05-18 13:30:06 -07:00
Robert Abeyta 6c86ffcfd5 added outputType to SOSPicker header 2015-05-18 13:29:12 -07:00
Robert Abeyta ca844db4ec updated getPictures to validate the outputType and default it to FILE_URI when not passed in. 2015-05-18 13:28:07 -07:00
Robert Abeyta 2bc95161ac added validation method for outputType. If there is an invalid value entered, log to the console and default to FILE_URI 2015-05-18 13:27:26 -07:00
Robert Abeyta ebb74d729c added OutputType to ImagePicker to hold output options 2015-05-18 13:26:57 -07:00
Robert Abeyta a173570688 updated readme with output type example 2015-05-18 13:24:39 -07:00
Shane Brinkman-Davis 623d445a11 fixed bug where some images got a white line on the right or bottom. (ex: 1500x1001 pixel image gets a white line on the bottom) 2015-03-10 08:40:32 -06:00
Andrew Stephan 81876300a3 fix code formatting 2015-03-09 15:22:53 -04:00
Andrew Stephan eb3a90efd0 Merge pull request #40 from panchisco/master
max image selection limit fix for Android
2015-03-09 15:22:31 -04:00
Andrew Stephan ff705001da Merge pull request #44 from mattlewis92/master
Remove tag that prevents build from working on android
2015-03-09 15:17:54 -04:00
Matt Lewis 9012443afe Remove tag that prevents build from working on android 2015-02-10 11:36:30 +00:00
Andrew Stephan 2d01a73b14 update version to 1.0.6 so this can match up with tags correctly v1.0.6 2015-01-20 14:07:49 -05:00
Francisco Hernandez b485ee72e9 max image selection limit fix for Android 2014-12-22 18:38:45 -08:00
Jonathan Aquino 665f351a70 Made appearance closer to the stock Photos app.
I got rid of the lines between the albums. Also I put some padding around the
album thumbnails.

See this screenshot for the improvements:
http://monosnap.com/image/wcBd9YW65Y0AWFAVhUy0xgLoUx0pV5

I have created a similar pull request for the original ELCImagePickerController
project: https://github.com/B-Sides/ELCImagePickerController/pull/98
2014-10-29 14:29:56 -07:00
CSullivan102 992f8cf3cd Merge pull request #24 from DATAWERK/image_listing_oom
Out of memory exception on image listing
v1.0.5
2014-09-04 09:42:43 -04:00
CSullivan102 635b661b3a Merge pull request #23 from wymsee/android_oom
Out of memory exception on rotate of images
2014-09-04 09:42:05 -04:00
CSullivan102 1f60a6dd08 Pass back the actual error string when an error occurs picking images 2014-09-04 09:39:50 -04:00
CSullivan102 9ed29afefd Added the ability to return errors in resizeImagesTask, so that failed attempts to import will call return as errors, differently than cancelling. Also some whitespace fixing. 2014-09-04 09:27:22 -04:00
Florin Peter fae8c7d0aa automatic clear the cache on OutOfMemoryError 2014-09-02 06:19:09 +02:00
Florin Peter 5f07f932f3 set HARD_CACHE_CAPACITY to 0
added try catch for OOM in ImageFetcher
2014-09-02 06:19:03 +02:00
CSullivan102 6e3437bac2 If the smallest sample we want to use still can't be loaded, throw an IOException for now to avoid crashing 2014-08-29 10:48:23 -04:00
CSullivan102 62f33d4d16 Catch out of memory exception when forced to rotate the bitmap, if out of memory, try to load a smaller subsample 2014-08-29 00:11:03 -04:00
Andrew Stephan 1ec4242c4f updated plugin.xml v1.0.4 2014-05-19 10:46:39 -04:00
Andrew Stephan 64bd0bcf63 Merge pull request #10 from wymsee/memoryAndRotate
Orientation and Memory Management
2014-05-19 10:19:09 -04:00
Andrew Stephan e600e5e43b handled some memory problems and handled image orientation 2014-05-15 20:50:14 -04:00
Andrew Stephan 1b56726993 updated version number in plugin.xml v1.0.3 2014-04-30 10:43:47 -04:00
Andrew Stephan 0e507e3d66 Merge pull request #5 from wymsee/peak_memory
Updated in iOS to reduce peak memory footprint. Also updated cancel plug...
2014-04-30 10:24:40 -04:00
CSullivan102 85f1e7a75b Updated in iOS to reduce peak memory footprint. Also updated cancel plugin result to an empty array in iOS. 2014-04-29 20:50:18 -04:00
Andrew Stephan 13eea796fc updated version v1.0.2 2014-04-08 16:41:03 -04:00
Andrew Stephan f51d59a0f6 Moved resizing images to a background thread and showed a progress dialog until they are done 2014-04-01 18:59:51 -04:00