Reading default email client attachment files in android 2.1Support

Last Updated:

  1. ramyavaidya

    ramyavaidya New Member


    I configured email account in android2.1 emulator and download the .docx files from mail attachment I get the path content://

    I am invoking the "open" file in email client from my app.

    if look into the eclipse file explorer files are stored at path /data/data/

    I tried to read using openInputStream() on ContentResolver , its reading binary data.

    how to get the file name of the attachment and and how to access the files both in device and emulator in readable format ?

    I have set the permission in manifest as
    <uses-permission android:name="" ></uses-permission>
    <uses-permission android:name=""></uses-permission>

    Thank you.



Share This Page