Fix for #2547 -- regression in photo attachments on Android: bug http://status.net...
authorBrion Vibber <brion@pobox.com>
Thu, 26 Aug 2010 20:17:47 +0000 (13:17 -0700)
committerBrion Vibber <brion@pobox.com>
Thu, 26 Aug 2010 20:17:47 +0000 (13:17 -0700)
commitca723a87b5296cf450b3d18b0a85ded759bb5ac6
treea0d6a040b03a5c95a39ff40ad7648451e24bebfd
parent706204533a616576ce35183e0b20b643172dec91
Fix for #2547 -- regression in photo attachments on Android: bug status.net/open-source/issues/2547

Appcelerator support suggested a workaround for upstream bug #1595 https://appcelerator.lighthouseapp.com/projects/32238-titanium-mobile/tickets/1595-openphotogallery-showcamera-callbacks-fail-when-showing-modal-window-on-android
to use a local context in the heavyweight window and pass data back through application events; we're using temporary files since blobs can't pass between contexts.

Needed another fix which affected blobs being passed around; upstream fix in f2eca06d8aafaaaec9eeed2f436b8efddafa2835 -- big thanks to Marshall for the diagnosis help and quick fix!
StatusNet Mobile/Resources/statusnet_photo_helper.js [new file with mode: 0644]
StatusNet Mobile/Resources/view/statusnet_newnoticeview.js