Android Question Email used to work

Dogbonesix

Active Member
Licensed User
Longtime User
I had a routine to send an Email with an attachment as below

Dim Message As Email
Message.To.Add(Value)
Message.Body = "Message"
Message.Subject = EditText1.text
Message.Attachments.add(File.Combine(Main.StaticFolder_Pics, Label8.text)
StartActivity(Message.GetIntent)

It worked well but targetSdkVersion="26"/ required a different scheme for permissions which I have solved some issues but not all. I have changed the manifest and added RunTime permissions and so forth. I have tried many different times without success. Any help appreciated.
 

DonManfred

Expert
Licensed User
Longtime User
Upvote 0

Dogbonesix

Active Member
Licensed User
Longtime User
Thanks for the reply.
1. I am not clear on the usage of Tags. I did look in the etiquette and it mentions Tags but not on how to use them - maybe obvious.
2. Main.StaticFolder_Pics is a local folder where multiple modules can access images without writing the explicit path for every occurrence
3. Good question. I have worked on this issue - changed the manifest - trying to be consistent with new permission but I am missing some details. In fact in the app (or at least some other one) the log says rp is never assigned any value. But the apps works. The the app just creates a local folder and includes External Write permission at runtime - so I don't know what is happening.

Thanks for any help.
 
Upvote 0
Top