List of usage examples for android.nfc.tech Ndef NFC_FORUM_TYPE_2
String NFC_FORUM_TYPE_2
To view the source code for android.nfc.tech Ndef NFC_FORUM_TYPE_2.
Click Source Link
From source file:Main.java
static String translateType(String type) { String translation;/*from w ww . j a v a2s .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; }