Commit Graph

25 Commits

Author SHA1 Message Date
Jamie McDonald ccd2faba89 Cleaning & builder interface docs 2015-09-07 15:30:07 +02:00
loki 3a3c404ec8 pick image for fragment 2015-08-17 01:20:58 +09:00
Jamie McDonald cd5ac96ad7 Interface change since output is not optional 2015-04-24 13:23:13 -04:00
Jamie McDonald 02758958be Docs on public interface 2015-04-17 15:36:32 -04:00
nostra13 058b870a13 Support Fragments from support-v4.
Update versions of buildTools and support-v4.
2015-02-19 17:49:43 +03:00
Jamie McDonald c99ef79169 Typos [skip ci] 2015-01-09 14:59:31 +01:00
Jamie McDonald 12421b25d2 Expose generated Intent to allow custom start logic
Fixes #37
2015-01-09 14:55:28 +01:00
Jamie McDonald 1388d09012 Clean builder docs 2015-01-09 12:19:57 +01:00
h46incon 78ae55e24a Allow user to start the intent with custom requestCode.
User may handler result differently according to requestCode.
2014-08-29 14:09:24 +08:00
Jamie McDonald 8d58d01465 Cleaning 2014-04-04 16:16:04 +02:00
Jamie McDonald 97f2401cfd Remove unused constant [skip ci] 2014-04-04 14:31:20 +02:00
nostra13 37c5eec676 Possibility to receive result in fragment. 2014-04-03 19:50:19 +03:00
Jamie McDonald 0d5d48d78f Support some basic customisation via theme 2014-03-21 00:07:35 +01:00
Jamie McDonald 6093f2832d Added option to display guides on thirds of the crop area
This is a bit like what the current Android gallery app crop selection does.
2014-03-20 01:24:40 +01:00
Jamie McDonald 645e8e2cfd Drop support for return data Bitmap & small refactors 2014-03-19 22:54:46 +01:00
Jamie McDonald b2bfd48aef Fixed typo 2014-03-17 23:53:02 +01:00
Jamie McDonald 18db14cba7 Prefix resources to avoid clashes 2014-03-17 22:15:00 +01:00
Jamie McDonald 1d920eb92a Remove pointless dependency 2014-03-17 18:36:15 +01:00
Jamie McDonald d04186515f Setup test project and added Intent builder tests 2014-03-17 16:30:26 +01:00
Jamie McDonald 07c3ca8816 Refined and documented builder
Fixes #5
2014-03-16 18:13:44 +01:00
Jamie McDonald b769a2a461 Return errors with their own result code
No longer just returns the source image if we fail to crop. Fixes #4
2014-03-16 13:25:07 +01:00
Jamie McDonald 6959d31d5a Added support for returning crops in Intent
This is only useful if the max crop size is tiny...
2014-03-16 12:23:18 +01:00
Jamie McDonald 2247c2a769 Moving return options to builder 2014-03-15 12:53:20 +01:00
Jamie McDonald e4cb4a303c Simplified example and added helpers for error handling
The isError() and getError() helpers mean that the calling classes no longer need any internal knowledge of intent extras etc.
2014-03-12 23:07:00 +01:00
Jamie McDonald ce3aa7be3c Builder for crop intents!
This also includes a helper for starting an image picker intent.
2014-03-12 22:34:14 +01:00