@Override public void onItemClick(AdapterView<?> parent,View view,int position,long id){
  setSelection(position);
}

@ Override public void onItemClick ( AdapterView < ? > parent , View view , int position , long id ) { setSelection ( position ) ; }
user selected an application . sets the current selection and redraws the list view to highlight the selected item .
