History log of /frameworks/base/core/java/android/nfc/tech/Ndef.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
faca12adc62d148505fadfd286e6a2752c197fa0 19-Aug-2011 Martijn Coenen <maco@google.com> Add getMaxTransceiveLength() API.

Also moved canMakeReadOnly() down in the stack, and
cleaned up TransceiveResult.

Change-Id: I85576c52478ab79f0726606659b0c17d00b222e6
/frameworks/base/core/java/android/nfc/tech/Ndef.java
5644d0e18ad847b66a8cb4f185cb28edebe75d88 25-Feb-2011 Jeff Hamilton <jham@android.com> Support for NDEF on iCODE.

Change-Id: I9ce2ee5e739d34a9047ca494315cbc54b30fefb8
/frameworks/base/core/java/android/nfc/tech/Ndef.java
58c9d4726ebf3165b0dbbcebb1130dfc5502bfe9 09-Feb-2011 Jeff Hamilton <jham@android.com> Merge "More documentation updates for NFC." into gingerbread
28319c0cec94977682db32b949628a8e4b8183dc 09-Feb-2011 Jeff Hamilton <jham@android.com> More documentation updates for NFC.

Change-Id: Ie134d4296ee12333e6647ce76126f9767ba1ba34
/frameworks/base/core/java/android/nfc/tech/Ndef.java
39cf3a445e507f219ecc8a476f6038f095d9d520 07-Feb-2011 Nick Pelly <npelly@google.com> Document NFC permissions.

Change-Id: Ib1b1625058c9c673692f3fbcb3546ec7c2d54a07
/frameworks/base/core/java/android/nfc/tech/Ndef.java
74fe6c6b245ebe7d3b3d96962c32980d88dca4f5 03-Feb-2011 Nick Pelly <npelly@google.com> NFC documentation overhaul.

Change-Id: I45dca95a24b2d0327e080436fbcc7b1dad79de02
/frameworks/base/core/java/android/nfc/tech/Ndef.java
f003e26df96067b4b136f0859012cb7ec3ed930f 01-Feb-2011 Nick Pelly <npelly@google.com> Final final final Gingerbread MR API changes.

This is it. I promise.

ACTION_TECHNOLOGY_DISCOVERED -> ACTION_TECH_DISCOVERED
This was missed in our technology->tech rename.

Hide TagTechnology.reconnect()
This is used to reset any per-connection state in a tag, by reconnecting
to it. The first problem is that it belongs on Tag, not TagTechnology. The
second problem is that it may become redundant once we add Tag.rediscover()
which will also reconnect to the tag, and will also return a new Tag with
newly created technologies enumerated. And the third and most significant
problem is that you can already achieve the same result by just calling
close() followed by connect().

Hide Tag.createMockTag()
This API cannot be used reliably. First it requires using int[] for the
technology list, but those int constants are now hidden. Second it requires
knowledge of the extras parcel used to fill technology specific data - also
not public.

Introduce TagTechnology.isConnected()
Every child class already impelmented this, and given that connect() and
close() are defined on the interface, then isConnected() should be there
too.

Modify Ndef.getType to return a string (not int)
Allows more flexibility in adding new NDEF types. Current public strings are
org.nfcforum.ndef.type1
org.nfcforum.ndef.type2
org.nfcforum.ndef.type3
org.nfcforum.ndef.type4
com.nxp.ndef.mifareclassic

Add NdefFormatable.formatReadOnly()
This allows you to make the tag read-only at the same time as performing
format and write. It is important because we currently don't have any
public API to re-enumerate a tag technology list after making a tag
NDEF compatible, so you can't perform the format as a seperate step
without physically removing the tag from field and returning it.

Modify Readonly -> ReadOnly

Make Tag class final

Change-Id: Icf306aeb37b936ca3007e4868e99b6baceac4aff
/frameworks/base/core/java/android/nfc/tech/Ndef.java
d88e9aa575eb3a9d20cdb0e8918d54993e1ce1e0 24-Jan-2011 Jeff Hamilton <jham@android.com> Use classnames instead of ints for NFC techs.

This makes the system more flexible and allows
adding new technology types without having to
update the API.

Change-Id: Iaee6b633965e501a70e8afc3f1d54d9d94a4d05a
/frameworks/base/core/java/android/nfc/tech/Ndef.java
4e21e1d21a877cce4db5ec8c5786604cc10f2d7e 21-Jan-2011 Jeff Hamilton <jham@android.com> API changes for NFC.

Bug: 3366009
Change-Id: Ia28e03e1501421906b640b78d4c9a59a20e9c668
/frameworks/base/core/java/android/nfc/tech/Ndef.java