1. Are you ready for the Galaxy S20? Here is everything we know so far!

Email intent - "All apps associated with this action have been turned off, blocked, or not installed

Discussion in 'Android Lounge' started by Nate_Android_Dev, Oct 8, 2018.

  1. Nate_Android_Dev

    Thread Starter

    My app is sending an email with an attachment using an Intent:

    Code (Text):
    1.  Intent emailIntent = new Intent(Intent.ACTION_SEND); Uri emailUri = new FileHelper().getUri(file, context);
    2. emailIntent.putExtra(Intent.EXTRA_STREAM, emailUri);
    3. emailIntent.setFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION);
    4. // set other stuff like to and from address
    5. context.startActivity(Intent.createChooser(emailIntent, message.chooserMessage));
    A user is reporting that when performing this action, he gets the message "All apps associated with this action have been turned off, blocked, or not installed". I happen to have the same type of phone and tested with no problems, so it is specific to some kind of configuration on his device. He says he has three email apps installed (default, GMail, and something called Blue Mail) and all are configured and work properly. I have looked through everything I can find online about this error and can't find anything applicable to my situation. Anyone have ideas on what to try other than telling him to factory reset?
     


  2. KBU2

    KBU2 Android Expert

    It would help a great deal sharing the name and model of the device so AF members can help troubleshoot your issue with that particular device.
     
  3. Nate_Android_Dev

    Thread Starter

    It's a Samsung Galaxy Note 8.
     
Loading...

Share This Page

Loading...