title: Read data from NFC tag (IsoDep)
body: <p>I am newbie in Android <strong>NFC</strong> API. </p>
  
  <p>Currently, I have a NFC tag, I am making an Android app to read data from it. My simple App is launched when my phone get closer enough to the NFC Tag. But I have no idea how to read the data inside the NFC Tag. The tag uses <strong>IsoDep</strong> technology. </p>
  
  <p>My current code:</p>
  
  <pre><code>@Override
  protected void onResume (){
      super.onResume();
  
      Intent intent = getIntent();
      Tag tag = intent.getParcelableExtra(NfcAdapter.EXTRA_TAG);
  
      IsoDep isoDep = IsoDep.get(tag);
  
      // How to read data from IsoDep instance?
  </code></pre>
  
  <p>I googled on internet, I notice people are sending commands to <code>IsoDep</code> to get response from NFC Tag, I suppose from the response, we can parse the data in the tag, I saw people doing this:</p>
  
  <pre><code> //What is the 'command' ? How to define the command?
   //e.g.:
   byte command = (byte) 0x6A
   isoDep.transceive(command)
  </code></pre>
  
  <p>But, the command is just a <code>byte</code>, as a newbie, it is too difficult to understand what is happening. I have no idea how to define the command to read data? Anyone can explain to me? or is there a document I can learn about the command?</p>
  
  <p>Generally, I need some guidance on how to define commands &amp; how to parse data from response, I would like to read the data stored in the Tag &amp; show the data in String format in UI element (e.g. <code>TextView</code>).</p>
  
  <p><em><strong></em>*AND***</strong></p>
  
  <p>I have no problem with those configurations(e.g. AnroidManifest.xml), please don't guide me on how to configure :)</p>