[TIMOB-2019] Android: Media Callbacks Fail Inside a TabGroup
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | Medium |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2011-04-17T01:57:50.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | Release 1.5.0 |
| Components | Android |
| Labels | android, defect |
| Reporter | Don Thorp |
| Assignee | Marshall Culpepper |
| Created | 2011-04-15T03:08:16.000+0000 |
| Updated | 2011-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.
(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...