public static byte[] select(String aid){
  byte aidLength=(byte)(aid.length() / 2);
  String selectApdu=SELECT_HEADER + encodeHex(aidLength) + aid;
  return decodeHex(selectApdu);
}

public static byte [ ] select ( String aid ) { byte aidLength = ( byte ) ( aid . length ( ) / 2 ) ; String selectApdu = SELECT_HEADER + encodeHex ( aidLength ) + aid ; return decodeHex ( selectApdu ) ; }
builds the select command apdu from a cardlet ' s aid : - builds a select command concatenating the header , aid lenght and aid
