Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-79] EmailDialog not handing content urls correctly. (Android)

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2011-04-17T01:51:54.000+0000
Affected Version/sn/a
Fix Version/sRelease 0.6.1
ComponentsAndroid
Labelsandroid
ReporterDon Thorp
AssigneeDon Thorp
Created2011-04-15T02:23:24.000+0000
Updated2011-04-17T01:51:54.000+0000

Description

Found in 0.6.0

If the attachment argument in dlg.addAttachment is an image blob which contains a content url, the image fails to attach correctly because the mimeType was not found using a content resolver.

Also due to a change before release of 0.6.0 the addAttachment method gets an undefined error because it was expecting an object of the form {file: } not just or string.

Comments

  1. Don Thorp 2011-04-15

    (from [4aa91da3a118059bcc9a60746a2881df9def6ff9]) [#79 state:resolved] Fixed problem with email attachments
    http://github.com/appcelerator/titanium_mobile/commit/4aa91da3a118059bcc9a60746a2881df9def6ff9"> http://github.com/appcelerator/titanium_mobile/commit/4aa91da3a1180...

JSON Source