email - Method to detect the event when the e-mail ‘send’ button is pressed in Corona SDK -
i need detect event when the e-mail send button pressed in 1 of corona application. referring composing e-mail , sms (posted on january 3, 2012. written jonathan beebe). can not able find such methods.
the action similar to:
-(void)mailcomposecontroller:(mfmailcomposeviewcontroller*)controller didfinishwithresult:(mfmailcomposeresult)result error:(nserror*)error of objective-c.
edit: i'm adding sample image too:
appreciable...
thanks valuable replies. per research , answers, concluded there no way detect mail send/cancel action in corona sdk till now. i've achieve that: if person pressed send button, scene should changed, else he/she must stay on same page (for further edit).
so, have done trick achieve this. done is:
- created
custom alert. - called alert small delay when trigger
native.showpopup(), alert come under e-mail popup. - while press
send/cancel mail, alert shown , ask person either havesendmail orcancelled.- yes = scene change
- no = stay on same scene.
hope may others fighting same problem...
keep coding......... :)
Comments
Post a Comment