Back to project page wherewithal.
The source code is released under:
GNU General Public License
If you think the Android project wherewithal listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.curchod.domartin; //from w w w.j av a 2 s . c o m import android.nfc.NdefMessage; public class TagDescription { public String title; public NdefMessage[] msgs; public TagDescription(String title, byte[] bytes) { this.title = title; try { msgs = new NdefMessage[] {new NdefMessage(bytes)}; } catch (final Exception e) { System.err.println("Failed to create tag description: "+title); e.printStackTrace(); } } @Override public String toString() { return title; } }