I am using NDEF nfc cards and my application is reading the data in the card. Everything works great. However as part of the payload I am also getting the language type in it.
If the NFC string is "Hello"
String text = new String(records.get(k).getNdefRecord().getPayload());
Output is "enHello"
I am sure I can use substring to remove the first two characters but is there a way to get Payload message only without getting the language string in it?
Any help will be very appreciated. Thank you in advance!!