[TIMOB-2558] Android (sdk 1.5RC2 & android 1.6) - toRecipients is empty
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Trivial |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-04-17T01:59:26.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 1.5.1 M01 |
Components | Android |
Labels | android, createemaildialog, defect, regression, torecipients |
Reporter | Stephane |
Assignee | Don Thorp |
Created | 2011-04-15T03:22:41.000+0000 |
Updated | 2011-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'});
Try and replicate.
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)
(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...
Changing the title to reflect the underlying problem.
(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...
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)
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();