Properties (ATTRIBUTES):
Android:host
This property user defines the host part of the URI authorization, unless the filter also specifies the scheme attribute of the <data> element, otherwise this property has no meaning.
Note: In the Android framework, the host name match is case-sensitive and is not the same as the RFC format. Therefore, always use lowercase letters to specify the host name.
Android:mimetype
This property is used to set the MIME type of the data, such as: Image/jpeg or Audio/mpeg4-generic. Its subtypes can be substituted with the asterisk wildcard character (*), indicating that it is able to match any subtype.
Note: In the Android framework, the matching of MIME types is case-sensitive and is not the same as RFC format. Therefore, you always use lowercase letters to specify MIME types.
Android:path
Android:pathprefix
Android:pathpattern
This three attribute is used to specify the path portion of a URI. The Path property specifies a complete path that matches the path in the intent object. The Pathprefix property specifies only a partial path, which matches the initial part of the path in the intent object. The Pathpattern property specifies a full path to match the path in the intent object, but the path can contain the following wildcard characters:
1. Asterisk (*) wildcard, the * asterisk in the path represents the character before any number of asterisks, such as a *, can be followed by a, AA, AAA, AAAA 、... String matches.
2. The combination of dots with the asterisk (. *) wildcard character, which can be matched with any string, such as. *html, can be used with abchhtml, cHTML, HTML, dssf.html 、... such as string matching.
Because the system reads the string from the XML, the ' \ ' symbol is used as a forced escape character, so it needs to be escaped two times. For example, the symbol "*" to be written as "\\*", the symbol ' \ ' to be written as "\\\\". This is basically the same as in Java code.
For more information about these three modes, see the description of Pattern_literal, Pattern_prefix, Pattern_simple_glob in the Patternmatcher class.
Http://developer.android.com/reference/android/os/PatternMatcher.html
Android:port
This property is used to define the port portion of the URI authorization. This property makes sense only when the scheme and the host property are specified for the filter.
Android:scheme
This property is used to set the scheme portion of the URI. It is the most basic property set for the specified URI, at least one scheme property is set for the filter, otherwise the other URI attribute is meaningless.
Scheme attribute value does not end with ":" sign (for example, HTTP, not http:)
If the filter has a data type (set the MimeType property), but the scheme attribute is not set, then the system assumes that scheme is content: and file:
Note: In the Android framework, scheme matches are case-sensitive and not the same as RFC format. Therefore, always use lowercase letters to specify scheme.
Meaning of all attributes in the data tag in Androidmanifest.xml