title: how to read a card ISODEP NFC
body: <p>i have to write a simple app to read a ISO B card</p>
  
  <pre><code>protected void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      setContentView(R.layout.tag_viewer);
      mTagContent = (LinearLayout) findViewById(R.id.list);
      mTitle = (TextView) findViewById(R.id.title);
      resolveIntent(getIntent());
  }
  
  
  
  void resolveIntent(Intent intent) {
      // Parse the intent
      String action = intent.getAction();
      Log.e(TAG, "toto ");
      if (NfcAdapter.ACTION_TECH_DISCOVERED.equals(action)) {
      try{
              myTag.connect();
              if (myTag.isConnected()){
                  byte[] response = myTag.transceive(command);
                  //logText(new String(response));
                  Log.e(TAG, "Result " + response);
              }
              myTag.close();
  
          }catch (IOException e) {
                 e.printStackTrace();
          }
  
      } else {
          Log.e(TAG, "Unknown intent " + intent);
          finish();
          return;
      }
  }
  </code></pre>
  
  <p>my problem is i don't success to enter in the test if (NfcAdapter.ACTION_TECH_DISCOVERED.equals(action)). I systematicaly have "Unknow intent".</p>
  
  <p>concerning the manifest :</p>
  
  <pre><code>&lt;manifest xmlns:android="http://schemas.android.com/apk/res/android"
  package="com.example.android.nfc"&gt;
  &lt;uses-permission android:name="android.permission.NFC" /&gt;
  &lt;uses-permission android:name="android.permission.CALL_PHONE" /&gt;
  &lt;application
      android:icon="@drawable/icon"
      android:label="@string/app_name"
  &gt;
         &lt;activity android:name="TagViewer"
          android:theme="@android:style/Theme.NoTitleBar"
      &gt;
      &lt;intent-filter&gt;
          &lt;action android:name="android.intent.action.MAIN" /&gt;
          &lt;category android:name="android.intent.category.LAUNCHER" /&gt;
      &lt;/intent-filter&gt;
          &lt;intent-filter&gt;
              &lt;action android:name="android.nfc.action.TECH_DISCOVERED"/&gt;
              &lt;category android:name="android.intent.category.DEFAULT"/&gt;
          &lt;/intent-filter&gt;
              &lt;meta-data android:name="android.nfc.action.TECH_DISCOVERED"
                  android:resource="@xml/nfc_tech_filter" /&gt;
      &lt;/activity&gt;
  &lt;/application&gt;
  &lt;uses-sdk android:minSdkVersion="9" /&gt;
  &lt;uses-feature android:name="android.hardware.nfc" android:required="true" /&gt;
  </code></pre>
  
  <p></p>
  
  <p>thanks for your help.</p>