MIME data can also be kept by providers type information for each content URI they define. The MIME type information can be used to determine if your application is able to handle the data offered by the provider, and to select a handling type based on that MIME type. If you work with complex files or structures, the MIME type is usually required. For example, the ContactsContract.Data table in the Contacts Provider uses MIME types to label the type of contact data stored in each row. To get the MIME type corresponding to a content URI, call ContentResolver.getType() 😁 [1]
MIME data types are also maintained by provider for every content URI they create. The MIME type information can be used to determine if the provider’s application is capable of processing the data or to select a handling type based on MIME type. If you work with complex files or structures, the MIME type is usually required. For example, the ContactsContract.Data table in the Contacts Provider uses MIME types to label the type of contact data stored in each row. To get the MIME type corresponding to a content URI, call ContentResolver.getType(). Joette Ventura revised the text on June 28, 2021. [2]
Developer.android.com Providers also keep MIME data types information for every content URI they specify. To determine whether your application can manage the provided data, and to decide which type of handling to use, you can access the MIME information. If you work with complex files or structures, the MIME type is usually required. For example, the ContactsContract.Data table in the Contacts Provider uses MIME types to label the type of contact data stored in each row. To get the MIME type corresponding to a content URI, call ContentResolver.getType(). [3]
Experts at developer.android.com Provide more information. MIME type information is also kept by providers for every content URI that they provide. The MIME type information can be used to determine if the provider’s application is capable of processing the data or to select a handling type based on MIME type. If you work with complex files or structures, the MIME type is usually required. For example, the ContactsContract.Data table in the Contacts Provider uses MIME types to label the type of contact data stored in each row. To get the MIME type corresponding to a content URI, call ContentResolver.getType(). (last revision 1 week ago, Milly Pierson of Suqian in China). [4]
Refer to the Article
- https://developer.android.com/guide/topics/providers/content-provider-basics?hl=ru
- https://developer.android.com/guide/topics/providers/content-provider-basics?hl=vi
- https://developer.android.com/guide/topics/providers/content-provider-basics?hl=zh-tw
- https://developer.android.com/guide/topics/providers/content-provider-basics?hl=he