11b075e218b9921a953eeebe73fcd1a8a81f764b |
|
28-Oct-2010 |
Nick Pelly <npelly@google.com> |
Hide some NFC API's. We are leaving enough API so that you can see when any Tag is discovered, get its ID, and get its NDEF messages. But for advanced use - creating tag connections and writing messages - we have 2 problems. Firstly a lot of the code is untested (RawTagConnection.transceive()), or in some cases known not to work (NdefTagConnection.write()). Secondly, there is still debate about how to best expose information about Tags. The set of data/methods exposed for a Tag changes completely depending on the tag technology. There may be multiple sets of technology implemented in a single tag. Tag A may have technology X and Y, Tag B may have technology Y and Z. Furthermore, some NFC controllers will be not be able to use all technologies, and so Android Device 1 may see technology X and Y on Tag A but Android device 2 may only see technology X. So we have a pretty challenging set of constraints to work under, and we are not convinced the current Tag and NdefTag class is the best approach going forwards. The Tag application should be able to remain unbundled, since it just needs to get incoming NDEF Messages. Change-Id: Ic09f094f33794e10f8d730fffe011c9a5957e0ac Signed-off-by: Nick Pelly <npelly@google.com>
/frameworks/base/core/java/android/nfc/NdefRecord.java
|
da83f513ca661cd2bb1e6f1c8b64b716205bae48 |
|
22-Oct-2010 |
Jeff Hamilton <jham@android.com> |
Unhide some NFC APIs that are required for the Tag app. Change-Id: Ic64e00476132dbf4644de5c465e06fe11a264508
/frameworks/base/core/java/android/nfc/NdefRecord.java
|
dd7341f775ca4d86091f4106d6dfef9214073a7d |
|
18-Oct-2010 |
Sylvain Fonteneau <sylvain.fonteneau@trusted-logic.com> |
Added missing implementation for NdefRecord. Implemented constructor using a byte array to parse. Added missing exception in method declaration, leading to update api/current.xml Change-Id: I2660484aef1225e90c2f32a572041a2c3aecf288
/frameworks/base/core/java/android/nfc/NdefRecord.java
|
6df23609d4c1f257b11d67b965e5b63cbdf26fcd |
|
16-Oct-2010 |
Nick Kralevich <nnk@google.com> |
range checking for tnf Change-Id: Ie94acd598d3b8b349ffa98cef0f64ef8fa9f9612
/frameworks/base/core/java/android/nfc/NdefRecord.java
|
c9f7890a203a013646650a695157277df81b6a17 |
|
15-Oct-2010 |
Scott Main <smain@google.com> |
Revise some javadocs for NFC; add package description Change-Id: I60223e2ad24af98b3b16a74960365185096ae614
/frameworks/base/core/java/android/nfc/NdefRecord.java
|
590b73bc5b8e5f7b59bff1d9264a52388a5162e6 |
|
12-Oct-2010 |
Nick Pelly <npelly@google.com> |
NFC API revision round 2. - Add the second half of the new NFC API: NfcAdapter, Tag, NdefTag, RawTagConnection, NdefTagConnection. - Add implementations for all of the new NFC API. Change-Id: I8da9fd1d2971ed2c8b76f2a93f207fa9e305b0f6 Signed-off-by: Nick Pelly <npelly@google.com>
/frameworks/base/core/java/android/nfc/NdefRecord.java
|
dc993791fc3cf7a270921f7419b0c6b875bbd92b |
|
04-Oct-2010 |
Nick Pelly <npelly@google.com> |
New API stubs: NdefMessage and NdefRecord. NDEF Messages and NDEF Record data classes. Change-Id: I9b7114773281b0eb9680f595c95ac79943d2903b Signed-off-by: Nick Pelly <npelly@google.com>
/frameworks/base/core/java/android/nfc/NdefRecord.java
|