トラッキング コード

8/20/2011

Using NFC part 1

I try to develop simple NFC application.

Describe the parameters needed to AndroidManifest.xml

Add the necessary permissions to use an NFC Hardware.




When up to AndroidMarket, uses the terminal to be visible only to add the feature NFC-featured.




If you want to handle the NFC tag in Activity, add intent-filter.


  
  




  



  



You should describe only necessary .
is a tag which is using in android.nfc.action.TECH_DISCOVERED.
and add 'nfc_tech_filter.xml' in yout project, that you want to receive NFC tag in your Activity.
For details, see http://developer.android.com/intl/ja/guide/topics/nfc/index.html#dispatch


    
        android.nfc.tech.IsoDep
        android.nfc.tech.NfcA        
        android.nfc.tech.NfcB
        android.nfc.tech.NfcF
        android.nfc.tech.NfcV
        android.nfc.tech.Ndef
        android.nfc.tech.NdefFormatable
        android.nfc.tech.MifareClassic
        android.nfc.tech.MifareUltralight
    


You should describe only necessary .
XXX is class name in '/frameworks/base/core/java/android/nfc/tech'.

No comments:

Post a Comment