When a user approaches an NFC tag using their mobile device, the mobile operating system reads its contents and tries to find the best way of processing it.

When running, the PROCE55 Mobile run-time environment takes the NFC tag value from the operating system and is ready to use it. You can easily put the NFC tag value into any screen UI element or a variable using a simple JavaScript function, which is automatically called by the PROCE55 Mobile RTE everytime an NFC tag value is detected:


function onNFCRead(CurrentScreen, NFCValue) {

if (CurrentScreen === 's1') {
PROCE55_GetElementByName('s1_i1').ElementValue = NFCValue;
document.getElementById('s1_i1').value = NFCValue;
}

}

 

Skip to toolbar