Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-2019] Android: Media Callbacks Fail Inside a TabGroup

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2011-04-17T01:57:50.000+0000
Affected Version/sn/a
Fix Version/sRelease 1.5.0
ComponentsAndroid
Labelsandroid, defect
ReporterDon Thorp
AssigneeMarshall Culpepper
Created2011-04-15T03:08:16.000+0000
Updated2011-04-17T01:57:50.000+0000

Description

showCamera, openPhotoGallery, and previewImage fail to pass the result back from the Activity started for result. Results are only returned to Activities that don't have a parent. See http://stackoverflow.com/questions/2497205/how-to-return-a-result-startactivityforresult-from-a-tabhost-activity"> http://stackoverflow.com/questions/2497205/how-to-return-a-result-startactivityforresult-from-a-tabhost-activity.

This has been duplicated on 1.4.X and 1.5.X. This ticket is specifically for 1.5.

Comments

  1. Marshall Culpepper 2011-04-15

    (from [670eb33c38a24990a86757bcda3164d94d4cc2de]) use the invocation context for Media callbacks, this fixes the issue with using tab groups and camera / photo gallery methods. Enabled the android module in the ant build [#2019 state:fixed-in-qa] http://github.com/appcelerator/titanium_mobile/commit/670eb33c38a24990a86757bcda3164d94d4cc2de"> http://github.com/appcelerator/titanium_mobile/commit/670eb33c38a24...

JSON Source