List of usage examples for android.nfc.tech Ndef NFC_FORUM_TYPE_1
String NFC_FORUM_TYPE_1
To view the source code for android.nfc.tech Ndef NFC_FORUM_TYPE_1.
Click Source Link
From source file:Main.java
static String translateType(String type) { String translation;//from ww w. jav a 2s . c om if (type.equals(Ndef.NFC_FORUM_TYPE_1)) { translation = "NFC Forum Type 1"; } else if (type.equals(Ndef.NFC_FORUM_TYPE_2)) { translation = "NFC Forum Type 2"; } else if (type.equals(Ndef.NFC_FORUM_TYPE_3)) { translation = "NFC Forum Type 3"; } else if (type.equals(Ndef.NFC_FORUM_TYPE_4)) { translation = "NFC Forum Type 4"; } else { translation = type; } return translation; }