private boolean launchSuggestion ( int position , int actionKey , String actionMsg ) { Cursor c = mSuggestionsAdapter . getCursor ( ) ; if ( ( c != null ) && c . moveToPosition ( position ) ) { Intent intent = createIntentFromSuggestion ( c , actionKey , actionMsg ) ; // launch the intent launchIntent ( intent ) ; return true ; } return false ; }
Launches an intent based on a suggestion .