What is a “MIME type”, what does it consist of, and what is it used for?
MIME is an acronym for Multi-purpose Internet Mail Extensions. It is used as a standard way of classifying file types over the Internet. Web servers and browsers have a defined list of MIME types, which facilitates transfer of files of a known type, irrespective of operating system or browser. A MIME type actually has two parts: a type and a subtype that are separated by a slash
How to make a list immutable ?
You can make a list unmodifiable by List al = new ArrayList(); List l= Collections.unmodifiableList(al); here the l reference can't modify the list. But changes made to the al variable can still be visible in the l.
What is a ContentProvider and what is it typically used for?
A ContentProvider manages access to a structured set of data. It encapsulates the data and provide mechanisms for defining data security. ContentProvider is the standard interface that connects data in one process with code running in another process.