email - android know when mail was sent and do action after sending -


im sending email android app

                  intent email = new intent(intent.action_send);                   email.putextra(intent.extra_email, new string[]{ to});                                   email.putextra(intent.extra_subject, subject);                   email.putextra(intent.extra_text, message);                    //attachment                   uri uri = uri.fromfile(new file(environment.getexternalstoragedirectory(), "generato.pdf"));                   email.putextra(intent.extra_stream, uri);                    //need prompts email client                   email.settype("message/rfc822");                    startactivity(intent.createchooser(email, "choose email client :")); 

how can know when "composer" window has been dismissed after sending mail can start action?

thanks!


Comments

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

html - Building a fluid horizontal navigation -