History log of /frameworks/base/core/java/android/nfc/NdefRecord.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
82328bfd40008d85917cc01a1b2eb8eed1f23ec4 30-Aug-2011 Nick Pelly <npelly@google.com> NFC API updates.

o NfcAdapter.set*(): enforce at least one activity is provided at compile time.
o Unhide and update javadoc for some API's scheduled for ICS release.

Change-Id: I2bf4ea101442dcdeb359be26d3869f82e6e3748b
/frameworks/base/core/java/android/nfc/NdefRecord.java
a37fcbce59c8a746f641936b4de99867dbfabac9 05-Aug-2011 Martijn Coenen <maco@google.com> Add Android app RTD type and convenience method.

Change-Id: I4e6351c86a0062efc9a9f90e75c04f6520e50c4f
/frameworks/base/core/java/android/nfc/NdefRecord.java
67671874dcba734fc78d39573aa68c0cbe8e2b24 14-Jul-2011 Ben Dodson <bjdodson@google.com> unhide public apis

Change-Id: I3bbe0e7c1e135a4654f63c34c024d7aa10341279
/frameworks/base/core/java/android/nfc/NdefRecord.java
1584af9d4e96282f0b4f4e8e647fd6a6d18594fb 30-Jun-2011 Jeff Hamilton <jham@android.com> Add a string based createUri().

Change-Id: Ie26977684d0f48201daa605b8b6057ab9afb370e
/frameworks/base/core/java/android/nfc/NdefRecord.java
3da3a4582c0793f59a1fd897a992e5e4fd57b6ca 17-Jun-2011 Ben Dodson <bjdodson@google.com> Parser for uri records

Change-Id: I4b71ba7938aa83a1c6344e3da72a9495bc1e9a16
/frameworks/base/core/java/android/nfc/NdefRecord.java
e0180d053e956ac32c2a5ec60272927755f17251 08-Jun-2011 Nick Pelly <npelly@google.com> Move NDEF URI helper method into android.nfc.NfcRecord

Change-Id: Ia044e45cbe2cd06c4844d15a57f1c1f392cf65cd
/frameworks/base/core/java/android/nfc/NdefRecord.java
8bede1704717f594a0f924a57ff46f6300347e30 08-Apr-2011 Martijn Coenen <maco@google.com> Fix NdefRecord flags handling.

NdefMessages created from byte arrays set the wrong flags on
NdefRecord: every record had at least FLAG_MB|FLAG_ME set, instead of actually
setting the flags from the byte-stream itself. Fixed by creating an internal
constructor which can take the flags.

Public constructor remains the same, as we don't want to bother application
writers with these flags - they can be inferred from the context in which the
record is used. Getting the flags is not a public operation on an NdefRecord
either. However, applications can get the byte[] representation and it
is reasonable for them to expect the flags byte to be set correctly.

Change-Id: Ic32411688dd092c55b1aeccbba9635792e15a671
/frameworks/base/core/java/android/nfc/NdefRecord.java
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