Commit Graph

29 Commits

Author SHA1 Message Date
Matthew Kuntz 6a3a2bcdcb remove translations 2015-12-30 15:52:51 -05:00
Matthew Kuntz 96b04427eb ignore missing translations 2015-12-30 15:44:22 -05: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
Andrew Stephan 81876300a3 fix code formatting 2015-03-09 15:22:53 -04:00
Francisco Hernandez b485ee72e9 max image selection limit fix for Android 2014-12-22 18:38:45 -08:00
CSullivan102 992f8cf3cd Merge pull request #24 from DATAWERK/image_listing_oom
Out of memory exception on image listing
2014-09-04 09:42:43 -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 e600e5e43b handled some memory problems and handled image orientation 2014-05-15 20:50:14 -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 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
Andrew Stephan 42877933f6 Remove unnecessary and trouble causing MINs. #3 2014-03-28 00:10:10 -04:00
Volker Schmitt b9ccf058db Fix for ICS (Api Level < 16)
The Fix enables MultiImageChooserActivity for ICS builds.
because on Api Level < 16 setImageAlpha() has to be replaced
with setAlpha
2014-03-20 14:51:36 +01:00
Andrew Stephan d94747cc7a add license to plugin.xml and remove unnecessary header in SOSpicker.m 2014-03-16 19:41:55 -04:00
CSullivan102 b49b7e6eb8 Updated to correct icon 2014-03-12 13:10:10 -04:00
Andrew Stephan d6bf3d1c10 plugin should now work when added to any project 2014-03-03 14:14:36 -05:00
Andrew Stephan 41c6bfd4d6 sorted images correctly, made the theme light, and added an alert saying when no more pictures can be added 2014-03-03 13:31:06 -05:00
Andrew Stephan e00327dae7 android imagepicker now working. Need to generalize the layout stuff and make it lighter still 2014-02-28 17:30:13 -05:00
Andrew Stephan f641587ca4 added android code for resizing images before sending back the urls 2014-02-27 19:23:26 -05:00
Andrew Stephan 37c91fcaed runs in android now but doesn't work yet 2014-02-27 12:00:53 -05:00
CSullivan102 e6d0426a51 Simplified full size image logic to take full size whenever height and width are each 0 (the default) 2014-01-13 18:04:29 -05:00
CSullivan102 ea5d3baafd Added fullSizeImage option to return full size images. Updated docs 2014-01-11 12:42:39 -05:00
CSullivan102 df4c2247bc Updated documentation and removed returnsOriginalImage parameter, setting that always to true for now 2014-01-10 19:59:23 -05:00
CSullivan102 a30d6ea81f Updated to take correct parameters, allow for 0 in width/height to size to a specific dimension, and updated controller/delegate to work correctly with updated ELCPicker 2014-01-10 19:33:44 -05:00
CSullivan102 99c5688e9d Initial commit including ELCImagePicker and cordova plugin structure 2014-01-10 11:47:05 -05:00