Android: How do I attach a temporary, generated image to an email?
My problem really consisted of two parts: context.getCacheDir() is private to your app. You can’t put something there and expect another app to be able to access it. I misunderstood what MIME type I should have been using. Even though I was sending email text, I really needed to specify image/png for the sake of … Read more