{ "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...
\nWidth Android 1.6 (sdk 1.5RC2) : toRecipients is empty
\nvar emailDialog =\nTitanium.UI.createEmailDialog({toRecipients:['test@test.com'], subject:'Test'});
Try and replicate.
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)
(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...
Changing the title to reflect the underlying problem.
(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...
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)
This issue is back in 1.6.0
\ntrace:
\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)
\ncode :
\nvar emailDialog =\nTitanium.UI.createEmailDialog({toRecipients:['test@test.com'], subject:'Test'});
\nemailDialog.open();