MailTo
MailTo URI parser. Replacement for android.net.MailTo.
This class parses a mailto scheme URI and then can be queried for the parsed parameters. This implements RFC 6068.
Note: scheme name matching is case-sensitive, unlike the formal RFC. As a result, you should always ensure that you write your URI with the scheme using lower case letters, and normalize any URIs you receive from outside of Android to ensure the scheme is lower case.
Functions
Link copied to clipboard
Retrieve all the parsed email headers from the mailto URI
Link copied to clipboard
Retrieve the subject line from the parsed mailto URI.
Link copied to clipboard
Test to see if the given Uri is a mailto URI Note: scheme name matching is case-sensitive, unlike the formal RFC.
Test to see if the given string is a mailto URI Note: scheme name matching is case-sensitive, unlike the formal RFC.