Using advanced Intent features
Intent object is designed to indicate a single action as requested by the user. It's a self-contained request, and in some ways it is quite similar to an HTTP request, containing both, the action to carry out, and the resource upon which the action should be carried out, and any additional information that may be required.
In order to find the
Activity (service or broadcast receiver) that will handle an
Intent, the system makes use of intent-filters (as we discussed briefly earlier). Each intent-filter indicates a single type of action that could be carried out by the
Activity. When two or more
Activity implementations match an
Intent, the system sends out an
ACTION_PICK_ACTIVITY Intent to allow the user (or some ...