Hallo,

first of all, there is no code in your catch statements. Second, for
instance the writeNdefMessage() would throw a TagLostException if the
tag is no longer available during write. None of your catch statements
handles this type of exception. You could use a try-catch block like
this to figure out what type of exception you get:

  try {
    ...
  } catch (Exception e) {
    Log.d("MyApp", e.toString());
  }

br
Michael

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to