public static boolean isAddToHomeIntentSupported(Context context){
  PackageManager pm=context.getPackageManager();
  Intent i=new Intent(INSTALL_SHORTCUT);
  List<ResolveInfo> receivers=pm.queryBroadcastReceivers(i,PackageManager.GET_INTENT_FILTERS);
  return !receivers.isEmpty();
}

public static boolean isAddToHomeIntentSupported ( Context context ) { PackageManager pm = context . getPackageManager ( ) ; Intent i = new Intent ( INSTALL_SHORTCUT ) ; List < ResolveInfo > receivers = pm . queryBroadcastReceivers ( i , PackageManager . GET_INTENT_FILTERS ) ; return ! receivers . isEmpty ( ) ; }
utility method to check if a shortcut can be added to the home screen .
