Pickers

Some applications interact with users by allowing them to select (pick) from lists of information. There are two types of picker elements: one to select from a list of files and another to select from a list of user-entered contact names.

The following table provides additional information with image examples.

Type Description Example
File This is a full-screen compound element that allows the user to attach files or choose one or more files for use in an application. Specify criteria if you want to only include specific file types for use in your application. Implemented by using the Pickers API.

Example: The Email application uses the file picker to allow users to browse files for attaching to an email message. By default, it shows every file type (e.g., pictures, movies, songs, and files) and provides controls for selecting them.
People This allows your application to display a list of records from the Contacts application. It allows the user to add, associate, and use their data in your application. It auto-filters a typed list, or the user can scroll through the list to select a name. Implemented by using the Mojo.Widget.PeoplePicker API.

Example: In the Contacts application, tap a name for whom you have information coming in from two different accounts (e.g., Corporate Server and Facebook®), and then tap "Link more profiles" (the list you see is a people picker). Type letters to filter the list. Choose another profile to attach to the current contact (Shar Bannet).