emailDialog woes
Scenario:
SDK: 1.3.0
Row, with a button, whose Click Event calls emailDialog.
Problem:
EmailDialog is called fine, with all the intended parameters (subject, body, To: is blank so user can pick).
Clicking Send - does nothing. Send button is greyed out, Cancel also.
However, pressing iPhone's Home button, email IS sent.
Problem 2:
Sometimes (with no pattern), clicking Cancel will crash the app, like this:
[DEBUG] Session did end with error (null)
[INFO] Application has exited from Simulator
Anyone else encountered this problem?
Any help appreciated in advance.
2 Answers
-
Accepted Answer
Hi Pedro,
See the link below for a stripped-down sample of code that goes through 2 tableviews to an email dialog. It works here, but does it work for you there?
http://pastie.org/989616
cheers,
Chris. -
Thanks for your input and ideas.
@Kevin: SDK 3.2 final, Titanium 1.3.0 here, too. (i might reinstall though,
just to be sure).@Chris: i -had-, but afterwards i just retried with a very plain title and body (both saying "test").
Same thing happened.Could there be a problem with the "final" emaildialog being a child of a tableview->row->click event->new window->2nd tableview->row->button in row->click button event-> emaildialog?
(this is the full "route" of my app until the email button stage)