Android Question Android 9 Emulator and Intent

Scantech

Well-Known Member
Licensed User
Longtime User
B4X:
        Dim email As Email
        email.Subject = "Hebrew Bible Tools Suggestion"
        email.Body = spnHBBook.SelectedItem & " " & spnHBChapter.SelectedItem & ":" & spnHBVerses.SelectedItem & Chr(10) & Chr(10) & txtHBBibleVerses.text & Chr(10) & Chr(10) & "--------Type below for correction--------" & Chr(10)
        email.To.Add("-----")

        Dim in As Intent = email.GetIntent
        in.Flags = 1 'FLAG_GRANT_READ_URI_PERMISSION
        StartActivity(in)

This is the error with above codes.
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…