Your SlideShare is downloading. ×
0
NearFieldCommunication
                 (@v vakame)


               appengine       Android


               Curry(Rice)
...
NFC



2011   1   9
NFC


               • NearFieldCommunication
               •          FeliCa   RFID

               •




2011   1   9
NFC

                                         ISO14443
               FeliCa        Mifare      TypeB
                    ...
Gingerbread NFC API



2011   1   9
Gingerbread NFC API




2011   1   9
Gingerbread NFC API


                   1

                   2
               3



2011   1   9
2011   1   9
Gingerbread NFC API




2011   1   9
2011   1   9
• NFC Tag   NexusS(   )

               • Intent

               •




2011   1   9
android.nfc.NfcAdapter
                    •                   NFC
                    •                                …
...
NDEF
               • NFC Data Exchange Format

               • NFC

               •            (Suica, Edy,     )



  ...
android.nfc.NdefMessage




2011   1   9
android.nfc.NdefMessage
                          NdefMessage


                     NdefRecord            NdefRecord


  ...
android.nfc.NdefRecord




2011   1   9
android.nfc.NdefRecord
                                NdefMessage


                          NdefRecord          NdefRec...
• TNF   Type               Payload



               • AndroidSDK               NFCDemo
                 Text, Uri, SmartP...
• READ
                   •                     …
               • NDEF

               •        API      Write
          ...
•         Web      (    ... 1/11      )


                   http://bit.ly/nfc-abc2011w
               •
                 ...
•   NFC Near Field Communication
               •   NDEF NFC Data Exchange Format
               •   MB Message Begin
    ...
Upcoming SlideShare
Loading in...5
×

ABC2011Winter デ部 NFC

7,381

Published on

Published in: Technology

Transcript of "ABC2011Winter デ部 NFC"

  1. 1. NearFieldCommunication (@v vakame) appengine Android Curry(Rice) 2011 1 9
  2. 2. NFC 2011 1 9
  3. 3. NFC • NearFieldCommunication • FeliCa RFID • 2011 1 9
  4. 4. NFC ISO14443 FeliCa Mifare TypeB other Suica Edy Taspo NFC (NearFieldCommunication) http://bit.ly/nfc-about 2011 1 9
  5. 5. Gingerbread NFC API 2011 1 9
  6. 6. Gingerbread NFC API 2011 1 9
  7. 7. Gingerbread NFC API 1 2 3 2011 1 9
  8. 8. 2011 1 9
  9. 9. Gingerbread NFC API 2011 1 9
  10. 10. 2011 1 9
  11. 11. • NFC Tag NexusS( ) • Intent • 2011 1 9
  12. 12. android.nfc.NfcAdapter • NFC • … • Intent String action = intent.getAction(); if (NfcAdapter.ACTION_TAG_DISCOVERED.equals(action)) { // ID HexString FeliCa IDm intent.getByteArrayExtra(NfcAdapter.EXTRA_ID); // NDEF( ) NdefMessage[] intent.getParcelableArrayExtra(NfcAdapter.EXTRA_NDEF_MESSAGES); // android.nfc.Tag . @hide API Parcelable tag = intent.getParcelableExtra("android.nfc.extra.TAG"); } 2011 1 9
  13. 13. NDEF • NFC Data Exchange Format • NFC • (Suica, Edy, ) • NDEF 2011 1 9
  14. 14. android.nfc.NdefMessage 2011 1 9
  15. 15. android.nfc.NdefMessage NdefMessage NdefRecord NdefRecord • NdefMessage 1 NdefRecord • 1 2011 1 9
  16. 16. android.nfc.NdefRecord 2011 1 9
  17. 17. android.nfc.NdefRecord NdefMessage NdefRecord NdefRecord MB ME CF SR IL TNF LENGTH INFO(TYPE, PAYLOAD, ID) BODY(TYPE, ID, PAYLOAD) 2011 1 9
  18. 18. • TNF Type Payload • AndroidSDK NFCDemo Text, Uri, SmartPoster • NFC RTD 2011 1 9
  19. 19. • READ • … • NDEF • API Write • @adamrocker • API Suica • @yanzm 2011 1 9
  20. 20. • Web ( ... 1/11 ) http://bit.ly/nfc-abc2011w • http://slidesha.re/abc2011w-nfc 2011 1 9
  21. 21. • NFC Near Field Communication • NDEF NFC Data Exchange Format • MB Message Begin • ME Message End • CF Chunk Flag • SR Short Record • IL ID Length • TNF Type Name Format • RTD Record Type Definition 2011 1 9
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×