I'm trying to save attachment (mms and GMail)
Uri uri;
uri = Uri.parse("content://mms/part/" + mmsPartId);
uri = Uri.parse("content://gmail-ls/messages/[email protected]/messageId/attachments/0.1/BEST/true");
InputStream inputStream = getContentResolver().openInputStream(uri);
openInputStream works fine for mms, but for GMail i got error: "open attachments that are on the sd card with the direct path to the attachment"
I don't understand what "direct path to the attachment"?