Test to see if the given string is a mailto URI Note: scheme name matching is case-sensitive, unlike the formal RFC. As a result, you should always ensure that you write your URI string with the scheme using lower case letters, and normalize any URIs you receive from outside of Android to en
(@Nullable String uri)
| 71 | * @return true if the string is a mailto URI |
| 72 | */ |
| 73 | public static boolean isMailTo(@Nullable String uri) { |
| 74 | return uri != null && uri.startsWith(MAILTO_SCHEME); |
| 75 | } |
| 76 | |
| 77 | /** |
| 78 | * Test to see if the given Uri is a mailto URI |