Android Question Android 9 Emulator and Intent

Discussion in 'Android Questions' started by Scantech, Apr 17, 2019.

  1. Scantech

    Scantech Well-Known Member Licensed User

    Code:
    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.
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    This means that there is no app that can handle this intent. Test it on a real device.
     
    Scantech likes this.
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice