시스템에서 인텐트가 사용가능한지 검사하는 코드. 안드로이드에서 가장 독특한 것 중에 하나가 바로 인텐트 시스템입니다. 다른 어플리케이션이 지원하는 인텐트들을 사용하여 쉽게 새로운 어플리케이션을 만들수가 있습니다. 그러나 내장된 인텐트가 아닌 경우 먼저 해당 인텐트가 사용가능한지를 검사해야합니다. 만약 인텐트가 없을 경우, 해당 기능을 사용하지 못하게 막거나 안드로이드 마켓에서 관련된 어플리케이션을 다운로드 받을 수 있도록 연결하면 됩니다.

인텐트 여부 검사
/**
* Indicates whether the specified action can be used as an intent. This
* method queries the package manager for installed packages that can
* respond to an intent with the specified action. If no suitable package is
* found, this method returns false.
*
* @param context The application's environment.
* @param action The Intent action to check for availability.
*
* @return True if an Intent with the specified action can be sent and
*         responded to, false otherwise.
*/
public static boolean isIntentAvailable(Context context, String action) {
    final PackageManager packageManager = context.getPackageManager();
    final Intent intent = new Intent(action);
    List<ResolveInfo> list =
            packageManager.queryIntentActivities(intent,
                    PackageManager.MATCH_DEFAULT_ONLY);
    return list.size() > 0;
}

사용예제 - 인텐트가 사용가능 않은 경우 메뉴 Disable
@Override
public boolean onPrepareOptionsMenu(Menu menu) {
    final boolean scanAvailable = isIntentAvailable(this,
        "com.google.zxing.client.android.SCAN");

    MenuItem item;
    item = menu.findItem(R.id.menu_item_add);
    item.setEnabled(scanAvailable);

    return super.onPrepareOptionsMenu(menu);
}

출처 : 안드로이드 개발자 블로그
http://android-developers.blogspot.com/2009/01/can-i-use-this-intent.html