i have a pdf file in /data/data/mypkg/pdfs/myfile.pdf
i am using this url debugged and saw it.
it is world_readable
(how to verify in adb shell, BTW)
i use following code to send attachment
but mail reaches with a pdf file attached with 0kb size
what could be the issue ? i can adb pull and
Dear Jag,
I have the same problem when send an attachment to the email. I solved
this by saving the pdf file in the sd card.
Regards
Deepesh
On Thu, May 31, 2012 at 1:15 AM, Jags jag...@gmail.com wrote:
i have a pdf file in /data/data/mypkg/pdfs/myfile.pdf
i am using this url debugged and
try this code for sending email- with attachment
import java.io.File;
import android.app.Activity;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.os.Environment;
import android.util.Log;
import android.view.View;
import
3 matches
Mail list logo