Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-1031] provide selected type for camera (video or camera) when both options are available

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2011-04-17T01:55:00.000+0000
Affected Version/sn/a
Fix Version/sRelease 1.4.0
ComponentsiOS
Labelsn/a
ReporterNolan Wright
AssigneeBlain Hamon
Created2011-04-15T02:41:57.000+0000
Updated2011-04-17T01:55:00.000+0000

Description

see http://helpdesk.appcelerator.net/tickets/2729">http://helpdesk.appcelerator.net/tickets/2729

need a property in the success event object - something like mediaType or selectedMediaType

Comments

  1. Stephen Tramer 2011-04-15

    We already return mediaType as part of the success event. See -[TiMedia imagePickerController:didFinishPickingMediaWithInfo:].

    Don't have a video-capable device to test this on so somebody else will have to take the reins to see if this is invalid or not.

  2. Stephen Tramer 2011-04-15

    Blain said he'll test this tomorrow since he's got all the gadgets. Here's what needs to be done:

    • Pass mediaTypes:[MEDIA_TYPE_VIDEO, MEDIA_TYPE_PHOTO] to the picker and make sure the selection slider is displayed.
    • Check mediaType value returned on success.
  3. Jeff Haynie 2011-04-15

    (from [4b5ab128c1f7d7205c649ff32bc1472c00254f1c]) Closes #1031 . The functionality was already present, but Kitchen Sink did not properly reflect this functionality. Photo Gallery and Camera basic tests now allow for usage of video, but the tests do not make use of video yet beyond only giving images to the image view. http://github.com/appcelerator/titanium_mobile/commit/4b5ab128c1f7d7205c649ff32bc1472c00254f1c"> http://github.com/appcelerator/titanium_mobile/commit/4b5ab128c1f7d...

  4. kosso 2011-04-15

    Does this mean that we can get a thumbnail back after picking/taking a video now?

JSON Source