ABC2011Winter デ部 NFC

  • 7,180 views
Uploaded on

 

More in: Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads

Views

Total Views
7,180
On Slideshare
0
From Embeds
0
Number of Embeds
1

Actions

Shares
Downloads
110
Comments
0
Likes
7

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. NearFieldCommunication (@v vakame) appengine Android Curry(Rice) 2011 1 9
  • 2. NFC 2011 1 9
  • 3. NFC • NearFieldCommunication • FeliCa RFID • 2011 1 9
  • 4. NFC ISO14443 FeliCa Mifare TypeB other Suica Edy Taspo NFC (NearFieldCommunication) http://bit.ly/nfc-about 2011 1 9
  • 5. Gingerbread NFC API 2011 1 9
  • 6. Gingerbread NFC API 2011 1 9
  • 7. Gingerbread NFC API 1 2 3 2011 1 9
  • 8. 2011 1 9
  • 9. Gingerbread NFC API 2011 1 9
  • 10. 2011 1 9
  • 11. • NFC Tag NexusS( ) • Intent • 2011 1 9
  • 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. NDEF • NFC Data Exchange Format • NFC • (Suica, Edy, ) • NDEF 2011 1 9
  • 14. android.nfc.NdefMessage 2011 1 9
  • 15. android.nfc.NdefMessage NdefMessage NdefRecord NdefRecord • NdefMessage 1 NdefRecord • 1 2011 1 9
  • 16. android.nfc.NdefRecord 2011 1 9
  • 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. • TNF Type Payload • AndroidSDK NFCDemo Text, Uri, SmartPoster • NFC RTD 2011 1 9
  • 19. • READ • … • NDEF • API Write • @adamrocker • API Suica • @yanzm 2011 1 9
  • 20. • Web ( ... 1/11 ) http://bit.ly/nfc-abc2011w • http://slidesha.re/abc2011w-nfc 2011 1 9
  • 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