I am studing File Provider example because I would like to share files between apps or eventually send email with attached file.
My question is about SharedFoulder. Actually I cant find it in my phone. Where it is ?
Thanks in advance.
Partial code from FileProvider example:
Private Sub btnSendEmail_Click
Dim FileName As String = "b4a.png"
'copy the shared file to the shared folder
File.Copy(File.DirAssets, FileName, Provider.SharedFolder, FileName)
Dim email As Email
email.To.Add("aaa@bbb.com")
email.Subject = "subject"
email.Attachments.Add(Provider.GetFileUri(FileName))
email.Attachments.Add(Provider.GetFileUri(FileName)) 'second attachment
Dim in As Intent = email.GetIntent
in.Flags = 1 'FLAG_GRANT_READ_URI_PERMISSION
StartActivity(in)
End Sub
My question is about SharedFoulder. Actually I cant find it in my phone. Where it is ?
Thanks in advance.