If techs.IndexOf("android.nfc.tech.NfcA") > -1 Then
TagTech.Initialize("TagTech", "android.nfc.tech.NfcA" , si)
TagTech.Connect
Else
If techs.IndexOf("android.nfc.tech.Ndef") > -1 Then
TagTech.Initialize("TagTech", "android.nfc.tech.Ndef" , si)
TagTech.Connect
Else
ToastMessageShow("Tag does not support Ndef.", True)
End If
End If
End If