code: protected List<Application> getApplicationTemplate(final byte[] pData) {
  		List<Application> ret = new ArrayList<Application>();
  		// Search Application template
  		List<TLV> listTlv = TlvUtil.getlistTLV(pData, EmvTags.APPLICATION_TEMPLATE);
  		// For each application template
  		for (TLV tlv : listTlv) {
  			Application application = new Application();
  			// Get AID, Kernel_Identifier and application label
  			List<TLV> listTlvData = TlvUtil.getlistTLV(tlv.getValueBytes(), EmvTags.AID_CARD, EmvTags.APPLICATION_LABEL,
  					EmvTags.APPLICATION_PRIORITY_INDICATOR);
  			// For each data
  			for (TLV data : listTlvData) {
  				if (data.getTag() == EmvTags.APPLICATION_PRIORITY_INDICATOR) {
  					application.setPriority(BytesUtils.byteArrayToInt(data.getValueBytes()));
  				} else if (data.getTag() == EmvTags.APPLICATION_LABEL) {
  					application.setApplicationLabel(new String(data.getValueBytes()));
  				} else {
  					application.setAid(data.getValueBytes());
  					ret.add(application);
  				}
  			}
  		}
  		return ret;
  	}
docs: Method used to get the application list, if the Kernel Identifier is
  defined, <br>
  this value need to be appended to the ADF Name in the data field of <br>
  the SELECT command.
  
  @param pData
  FCI proprietary template data
  @return the application data (Aid,extended Aid, ...)