Same issue , just the difference is intent type,
(intent.setType("application/*"), because im sending email with attachments
(pdf or zip). But my problem is with the attachment.The Intent.EXTRA_STREAM
read from sdcard.... but after sending the mail i want to delete it from
sdcard. So i used startActivityForResult and onActivityResult i delete that
file from sdcard. Everything works well except the received mail has no
attachment(not even the file name with 0 size). Think the sending process
done by some other thread rather than a UI thread. and the deletion task is
done from the UI thread even before the sending process is complete.
On Wednesday, September 29, 2010 5:07:07 PM UTC+6, Mark Murphy wrote:
>
> On Wed, Sep 29, 2010 at 7:02 AM, Amit <[email protected]> wrote:
> > When the user has actually send the mail, I want to know whether the
> > mail has been sent or not?
>
> Sorry, but that is not part of the ACTION_SEND system, as far as I know.
>
> --
> Mark Murphy (a Commons Guy)
> http://commonsware.com | http://github.com/commonsguy
> http://commonsware.com/blog | http://twitter.com/commonsguy
>
> Android Training in London: http://skillsmatter.com/go/os-mobile-server
>
>
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en