views:

109

answers:

1

We are starting the e-mail intent of the user's choice (createChooser) and sending a zip file. This zip file is created right before the email sends, but we need to make sure the file is there until the email actually gets sent. Once the e-mail is sent, it would be nice to have this file deleted instead of sitting around eating SD card storage. Is this possible? (it can't be done in onActivityResult, e-mail intents don't actually finish, they cancel and thread the sending in a background service...so when onActivityResult gets called the e-mail might not have sent yet).

Any ideas?

A: 

I too am facing the exact same problem. Could anybody please shed some light on this??

vikas