History log of /packages/apps/Nfc/src/com/android/nfc/ndefpush/NdefPushServer.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
c9342fef947c49e247495b83f94f16d43cd3562c 13-Dec-2011 mike wakerly <mikey@google.com> NfcService: some trivial cleanups.

I noticed these while looking at something else.

- Removes unused imports; unthrown exceptions on some non-visible methods; dead
code.
- Tags a few stray interface implementations that lacked @Override.
- Removes unnecessary semicolons in a few place.
- Fixes one instance of ArrayList being used as a raw type.

Change-Id: I860921a3a4d003fd6d6fc1381c0813599f3caf26
/packages/apps/Nfc/src/com/android/nfc/ndefpush/NdefPushServer.java
77d0b56bfa6a4e4e1449c476a1141a7486f34ad9 11-Aug-2011 Nick Pelly <npelly@google.com> Decouple P2P link management from P2P UX management.

The goal is to make it easier to track the state of the P2P transfer, and
to make it easier to fine-tune UX (sound, vibration, animation) for P2P
transfer.

NdefP2pManager -> P2pLinkManager
It now only handles LLCP and NDEF logic (and no UX). It has a state machine to
track the state of the LLCP link, send and receive. It does debouncing on the
LLCP link. Events are surfaced to P2pEventManager through the P2pEventListener
interface.

P2pEventManager
Handles all UX (sound, vibration, animation) and send confirmation.
The current implementation uses Rotation to confirm send, and
P2pAnimationActivity to animate the send.

Change-Id: Ie498219857afe69403e90f09c77f4d6d1b24ffeb
/packages/apps/Nfc/src/com/android/nfc/ndefpush/NdefPushServer.java
e5b26d522885ed1cc30c0820ca59ed7c44707987 09-Aug-2011 Martijn Coenen <maco@google.com> Move 0-click animations to activity.

- Start activity instead of window overlay;
- Implement "the real twist": need to twist back to share;
- Implement receive animation (slide out);
- General cleanup.

Change-Id: I3f6a015c2a73f309892a8c5c3b1ea1b133b54d42
/packages/apps/Nfc/src/com/android/nfc/ndefpush/NdefPushServer.java
2429c20351e7a660b1fcb0b6c3d2558c05f6f5de 04-Aug-2011 Martijn Coenen <maco@google.com> New NFC animations.

Change-Id: If62df6f07d1282fe39a6f3ac3a67c7a264e2be77
/packages/apps/Nfc/src/com/android/nfc/ndefpush/NdefPushServer.java
4a61d3b45e81c0070538f94747a70a49c78f12fa 30-Jun-2011 Jeff Hamilton <jham@android.com> Remove the binder interface for LLCP.

Change-Id: I8d5fd546ecb07f005322eb5f173975dff7820439
/packages/apps/Nfc/src/com/android/nfc/ndefpush/NdefPushServer.java
32cdff503e206b6753c6cf020c545163a43bcaa1 21-Jun-2011 Martijn Coenen <maco@google.com> Exchange me profile over NFC using android SNEP service.

This is Ben's patch with some small modifications:
- Added code to retrieve the me profile and transmit/receive it;
- Moved local SAP definitions for more clarity.
- Removed sending of my tag.

Change-Id: Ica85b4491206526e89bc34c23479f9d4489ed1cf
/packages/apps/Nfc/src/com/android/nfc/ndefpush/NdefPushServer.java
73a6ef05557f78d20e291ef34aec013770644da0 14-Jan-2011 Sylvain Fonteneau <sylvain.fonteneau@trusted-logic.com> Set LLCP MIU parameter to optimal value.

At the NFCIP-1 level, the LLCP frames are splitted in 251-bytes
packets. Knowing that NFCIP-1 packets have a 3-bytes header, the
optimal size for a LLCP packet is 248-bytes.

With the previous value (256), each LLCP frame was splitted in
two NFCIP-1 packets, one 248+3 bytes and another one of 8+3 bytes.
This was leading to less-than-optimal performances.

Change-Id: Ide31b1ee24efc910c71d690a8ae100331b62ccf8
/packages/apps/Nfc/src/com/android/nfc/ndefpush/NdefPushServer.java
ca1a86ecb8edce740a232c3439355e8d5b706e7a 11-Dec-2010 Jeff Hamilton <jham@android.com> NDEF Push Protocol implementation.

The protocol allows pushing NDEF messages
over LLCP in order to simulate a card read
wihtout having to use card emulation. This
also allows for 2 way transfer of meesages.

The protocol allows for a single immediate
message, to be dispatched upon arrival as if
it were read from a tag, and any number of
deferred dispatch messages. The handling of
deferred dispatch messages is up to the
receiver and not implemented in this patch.

Change-Id: Ib99e4fc01532cc741debab370a417f94669b62ac
/packages/apps/Nfc/src/com/android/nfc/ndefpush/NdefPushServer.java