Private Sub ExportDb_Request
Dim FileToSend As String = Main.appDataBase
File.Copy(File.DirInternal,Main.appDataBase, Provider.SharedFolder, FileToSend)
Dim in As Intent
in.Initialize(in.ACTION_SEND, "")
in.SetType("text/plain")
in.PutExtra("android.intent.extra.STREAM", Provider.GetFileUri(FileToSend))
in.Flags = 1 'FLAG_GRANT_READ_URI_PERMISSION
StartActivity(in)
End Sub