Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-2558] Android (sdk 1.5RC2 & android 1.6) - toRecipients is empty

GitHub Issuen/a
TypeBug
PriorityTrivial
StatusClosed
ResolutionFixed
Resolution Date2011-04-17T01:59:26.000+0000
Affected Version/sn/a
Fix Version/sRelease 1.5.1 M01
ComponentsAndroid
Labelsandroid, createemaildialog, defect, regression, torecipients
ReporterStephane
AssigneeDon Thorp
Created2011-04-15T03:22:41.000+0000
Updated2011-04-17T01:59:26.000+0000

Description

https://developer.appcelerator.com/question/84951/setrecipients-not-working-on-android-emaildialog"> https://developer.appcelerator.com/question/84951/setrecipients-not...

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

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

Comments

  1. Don Thorp 2011-04-15

    Try and replicate.

  2. Stephane 2011-04-15

    here is my TRACE log :

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

  3. Don Thorp 2011-04-15

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

  4. Don Thorp 2011-04-15

    Changing the title to reflect the underlying problem.

  5. Don Thorp 2011-04-15

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

  6. Thomas Huelbert 2011-04-15

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

  7. Stephane 2011-04-15

    This issue is back in 1.6.0

    trace:

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

    code :

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

JSON Source