GoodMorning,
I have in my Android Emulator one file PNG call File.Png (/sdcard/File.png).
When a click on my button, I have this code below.
This code must generate one email whith my email address and attach my file on it. The emulator show the new form email where the body and subject is ok, but there isn't no file attach on it.
Dim Message As Email
Message.To.Add("[email protected]")
Message.Body = "Ciao"
Message.Subject = "This Is My File.PNG."
Message.Attachments.Add(File.Combine(File.DirRootExternal, "Firma.PNG"))
StartActivity(Message.GetIntent)
I don't know what's is the wrong code part.
I use the example show on the documentation.
My Emulator platform is Android 2.1 update 1.
Thanks :sign0085:
I have in my Android Emulator one file PNG call File.Png (/sdcard/File.png).
When a click on my button, I have this code below.
This code must generate one email whith my email address and attach my file on it. The emulator show the new form email where the body and subject is ok, but there isn't no file attach on it.
Dim Message As Email
Message.To.Add("[email protected]")
Message.Body = "Ciao"
Message.Subject = "This Is My File.PNG."
Message.Attachments.Add(File.Combine(File.DirRootExternal, "Firma.PNG"))
StartActivity(Message.GetIntent)
I don't know what's is the wrong code part.
I use the example show on the documentation.
My Emulator platform is Android 2.1 update 1.
Thanks :sign0085: