apache/cordova-android — pull request #29 by rburton (2013-03-14 19:24:53+00:00)
Title: Implemented logic to allow video duration to be supported on the Android platform.

The logic implemented, doesn't reply on any SDK specific classes, which is why the string literal value is used instead of the constant provided by the Android platform.

My initial reaction to support this feature was to extend Capture and override the captureVideo method, but this method was marked private and called from multiple sources. If I were to override the calling methods as well, they replied on private state which had no accessors.

Please see this patch as being beneficial to the PhoneGap project and merge it into the core.

Cheers,
Richard L. Burton III