you could create an intent object with necessary component info and then check if the intent is callable or not . concode_field_sep String TAG concode_field_sep void call concode_elem_sep void showReleaseHashKeyForFacebook concode_elem_sep void hideShowSoftKeyboardFromFocusedView concode_elem_sep void sendEmail concode_elem_sep void toastShort concode_elem_sep void toastLong concode_elem_sep void share concode_elem_sep int getAppVersion concode_elem_sep void hideShowSoftKeyboardFromView
boolean function ( Context arg0 , Intent arg1 ) { List < ResolveInfo > loc0 = arg0 . getPackageManager ( ) . queryIntentActivities ( arg1 , PackageManager . MATCH_DEFAULT_ONLY ) ; return loc0 . size ( ) > 0 ; }