{ "id": "63190", "key": "TIMOB-2558", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "11232", "name": "Release 1.5.1 M01", "archived": true, "released": true, "releaseDate": "2010-12-20" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-04-17T01:59:26.000+0000", "created": "2011-04-15T03:22:41.000+0000", "priority": { "name": "Trivial", "id": "5" }, "labels": [ "android", "createemaildialog", "defect", "regression", "torecipients" ], "versions": [], "issuelinks": [], "assignee": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-04-17T01:59:26.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "{html}

\nhttps://developer.appcelerator.com/question/84951/setrecipients-not...

\n

Width Android 1.6 (sdk 1.5RC2) : toRecipients is empty

\n

var emailDialog =\nTitanium.UI.createEmailDialog({toRecipients:['test@test.com'], subject:'Test'});

{html}", "attachment": [], "flagged": false, "summary": "Android (sdk 1.5RC2 & android 1.6) - toRecipients is empty", "creator": { "name": "stephane", "key": "stephane", "displayName": "Stephane", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "stephane", "key": "stephane", "displayName": "Stephane", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "128762", "author": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Try and replicate.

{html}", "updateAuthor": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:22:43.000+0000", "updated": "2011-04-15T03:22:43.000+0000" }, { "id": "128763", "author": { "name": "stephane", "key": "stephane", "displayName": "Stephane", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

here is my TRACE log :

\n

[TRACE] I/ActivityManager( 53): Starting\nactivity: Intent { act=android.intent.action.SEND typ=text/plain\nflg=0x3000000 cmp=com.android.mms/.ui.ComposeMessageActivity (has\nextras) } [TRACE] I/ActivityManager( 53): Displayed\nactivity com.android.mms/.ui.ComposeMessageActivity: 5744 ms (total\n6546 ms)

{html}", "updateAuthor": { "name": "stephane", "key": "stephane", "displayName": "Stephane", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:22:43.000+0000", "updated": "2011-04-15T03:22:43.000+0000" }, { "id": "128764", "author": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

(from [803aa7bb3740f63081837f1d8e8f868a76a247ea])\n[#2558 state:fixed-in-qa] Moving to the new kroll\nwe didn't catch the fact that we were expecting a String array as\nan argument. Now we just check for object array and create the\nstring arrays to pass through the intent. \nhttps://github.com/appcelerator/titanium_mobile/commit/803aa7bb3740...

{html}", "updateAuthor": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:22:43.000+0000", "updated": "2011-04-15T03:22:43.000+0000" }, { "id": "128765", "author": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Changing the title to reflect the underlying problem.

{html}", "updateAuthor": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:22:44.000+0000", "updated": "2011-04-15T03:22:44.000+0000" }, { "id": "128766", "author": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

(from [1a59cc3e35219d743e9d50558eb33560ba5bcd13])\n[#2558 state:fixed-in-qa] Moving to the new kroll\nwe didn't catch the fact that we were expecting a String array as\nan argument. Now we just check for object array and create the\nstring arrays to pass through the intent. \nhttps://github.com/appcelerator/titanium_mobile/commit/1a59cc3e3521...

{html}", "updateAuthor": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:22:44.000+0000", "updated": "2011-04-15T03:22:44.000+0000" }, { "id": "128767", "author": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

confirmed on a G2 (2.2) and a G1 (1.6) using
\nTiMobile sdk version [INFO] Titanium SDK version: 1.5.1\n(12/15/10 08:16 1a59cc3)

{html}", "updateAuthor": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:22:44.000+0000", "updated": "2011-04-15T03:22:44.000+0000" }, { "id": "128768", "author": { "name": "stephane", "key": "stephane", "displayName": "Stephane", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

This issue is back in 1.6.0

\n

trace:

\n

[TRACE] I/ActivityManager( 54): Starting\nactivity: Intent { act=android.intent.action.SEND typ=text/plain\nflg=0x3000000 cmp=com.android.mms/.ui.ComposeMessageActivity (has\nextras) } [TRACE] I/ActivityManager( 54): Displayed\nactivity com.android.mms/.ui.ComposeMessageActivity: 410 ms (total\n514 ms)

\n

code :

\n

var emailDialog =\nTitanium.UI.createEmailDialog({toRecipients:['test@test.com'], subject:'Test'});
\nemailDialog.open();

{html}", "updateAuthor": { "name": "stephane", "key": "stephane", "displayName": "Stephane", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:22:44.000+0000", "updated": "2011-04-15T03:22:44.000+0000" } ], "maxResults": 7, "total": 7, "startAt": 0 } } }