Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Method to detect the event when the e-mail ‘send’ button is pressed in Corona SDK

I need to detect the event when the the e-mail send button is pressed in one of my Corona application. I was referring from Composing E-mail and SMS (Posted on January 3, 2012. Written by Jonathan Beebe). But can not able to find any such methods.

The action is something similar to:

-(void)mailComposeController:(MFMailComposeViewController*)controller 
 didFinishWithResult:(MFMailComposeResult)result error:(NSError*)error

of Objective-C.

Edit: I'm adding a sample image too:

enter image description here Any help is appreciable...

like image 572
Krishna Raj Salim Avatar asked Nov 03 '22 17:11

Krishna Raj Salim


1 Answers

If you're using native.showPopup() I don't believe there is a way to detect if the send button or cancel button was pressed back in your app.

like image 179
Rob Miracle Avatar answered Nov 15 '22 03:11

Rob Miracle