i have an image id i want to attach it with my email in javamail API.
Thant image is placed in drawable folder.
I didn't have image path in the form of string.
Can any one help me for this.
i have an image id i want to attach it with my email in javamail API.
Thant image is placed in drawable folder.
I didn't have image path in the form of string.
Can any one help me for this.
To extract image you can refer this http://developer.android.com/guide/topics/resources/drawable-resource.html
And if you have attachment code then its fine. otherwise let me know i will give you code for it.you have to just replace path. it may help you. Also follow my ans. given to this how to getAuth token and send email in background?