public static ResolveInfo resolveActivity(Intent intent){
  try {
    Context context=ApplicationStatus.getApplicationContext();
    PackageManager pm=context.getPackageManager();
    return pm.resolveActivity(intent,0);
  }
 catch (  RuntimeException e) {
    logTransactionTooLargeOrRethrow(e,intent);
  }
  return null;
}

public static ResolveInfo resolveActivity ( Intent intent ) { try { Context context = ApplicationStatus . getApplicationContext ( ) ; PackageManager pm = context . getPackageManager ( ) ; return pm . resolveActivity ( intent , 0 ) ; } catch ( RuntimeException e ) { logTransactionTooLargeOrRethrow ( e , intent ) ; } return null ; }
retrieve information about the activity that will handle the given intent .
