History log of /packages/apps/Nfc/src/com/android/nfc/handover/BluetoothOppHandover.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
97fe497ede803f09d45253ee5fba51bf03cb724a 18-Jan-2013 Martijn Coenen <maco@google.com> Add a bit more logging for Bluetooth Beam.

This allows easily ruling out wrong Mac addresses
etc.

Bug: 7903517
Change-Id: I6864527fe547347890d5ad319d1535a3f8ddf4d0
/packages/apps/Nfc/src/com/android/nfc/handover/BluetoothOppHandover.java
be1939b4b6003ac7a65fcb95a3912f5e1ce8e75f 14-Dec-2012 The Android Open Source Project <initial-contribution@android.com> Snapshot b80adb2c263702442cf2f2d771168400e6ceb9f8

Change-Id: I391d8e1be1a61e68b01f0db371dbb4ed3e5b5933
/packages/apps/Nfc/src/com/android/nfc/handover/BluetoothOppHandover.java
f5a196b643c654c7ea98a5e2935e3bff6683399b 11-Jul-2012 Martijn Coenen <maco@google.com> Implement connection handover LLCP service.

The Connection Handover specification dictates that we should
exchange Hr/Hs records over a dedicated LLCP service. This adds
the service, and starts using it by default. It will fall back
to the SNEP GET method to remain compatible with Android 4.1
devices. SNEP GET on these devices will return "Not Implemented",
also per the SNEP spec.

Also fixed a bug in endianness of the OOB record.

Bug: 6759842
Change-Id: Iafe67ab119e933df5dfa0a5645a95bc59badd8ae
/packages/apps/Nfc/src/com/android/nfc/handover/BluetoothOppHandover.java
4fe787c0237d00e96018ac2185961451c6d4851d 24-May-2012 Martijn Coenen <maco@google.com> Use new handover intent actions.

Use the new handover intent actions that allow us
to select any mime-type.

Also, add unique filename counter before extension
instead of after it.

Bug: 6561169

Change-Id: I04b83460099b42ba6220d7eb4dcff7a095022304
/packages/apps/Nfc/src/com/android/nfc/handover/BluetoothOppHandover.java
3bf04bd4f04b217768b3799dadb4a775b5a31f1a 17-May-2012 Martijn Coenen <maco@google.com> Allow cancelling of Bluetooth Beam transfers.

Add an action to the notification entry that allows
cancelling Beam transfers.

Also, each transfer now has a generic timer that
marks the transfer as failed, in case no updates
happen on the transfer at all for 10 seconds.

Change-Id: I9670e4e782e5c1b846a07f7e490a2f317a45fb70
/packages/apps/Nfc/src/com/android/nfc/handover/BluetoothOppHandover.java
402da07068333f9393fd960a4c90df39b34bf668 14-May-2012 Martijn Coenen <maco@google.com> Bluetooth Beam handover: deal with multi-file transfers.

A handover transfer object no longer represents a single file,
but all the files associated with the handover. This association
is based on the source address of the transfer and a timer;
if a new file transfer from the same source is started within
this timer, it is considered to be part of the same handover
transfer.

Received files are stored in beam/. If multiple files are
transferred, they are stored in their own subdirectory of beam.

We now use the mediaScanner for mime-types that the
platform can deal with by default. The advantage of this
is that the mediaScanner can already gather meta-data for
these files, and (platform) apps can query for and populate
views with such data.

3rd party applications can also query the mediaScanner
for meta-data on the received files.

A handover transfer object has a single notification
associated with it; upon launching the notification,
a single ACTION_VIEW intent is launched. If multiple files
were transferred as part of this handover, ACTION_VIEW is
launched on the first file in the set.

Change-Id: I00c23e58736f6dbe96726a1ec56fbc8c984a215d
/packages/apps/Nfc/src/com/android/nfc/handover/BluetoothOppHandover.java
d82d9db81f30ccecd29a0531e6db9b49c9c2cd95 08-May-2012 Martijn Coenen <maco@google.com> Bluetooth Beam bug fixes, UX and i18n.

- Implemented handover select with carrier power state
- Delay OPP send if remote carrier is activating
- I18n for all handover components
- Cleanup old handover transfers

Bug: 6411485
Change-Id: I84aac3a7c7e703a1fcb423b6016cd9fa3d33d9b1
/packages/apps/Nfc/src/com/android/nfc/handover/BluetoothOppHandover.java
226307d8c2952c42855005d7c0107b42b066bc9a 12-Apr-2012 Martijn Coenen <maco@google.com> Latest changes for Bluetooth Beam.

- Receive transfer notifications and status info from Bluetooth, to show
progress using Notifications.
- Added power manager, to keep track of BT power state, and turn BT off
if possible.

TODO:
- UI for failed operations (ie transfer failed, Bluetooth enable failed).
- Cleanup of transfer list
- Make sure BT doesn't connect to other peripherals or isn't connectable.

Change-Id: I31450f589bbaeb72ee8c450c5019f00f0190b7aa
/packages/apps/Nfc/src/com/android/nfc/handover/BluetoothOppHandover.java
83558889207858d7ce8500f9fce8a707a86b495e 13-Apr-2012 Martijn Coenen <maco@google.com> Support for the new Uri[] Beam push API.

Support multiple URIs, move query for the mime type to NFC service.

Change-Id: Ib055efca843b41f6d29cda7d67b23f4b9946113c
/packages/apps/Nfc/src/com/android/nfc/handover/BluetoothOppHandover.java
6529e5060773d0cba2a87d4161bf10b1b95470aa 05-Apr-2012 Martijn Coenen <maco@google.com> Force bluetooth OPP to handle ACTION_SEND.

Change-Id: Ib9520b53d699a79d9a7c09cdb3eb27c4e001d7fd
/packages/apps/Nfc/src/com/android/nfc/handover/BluetoothOppHandover.java
43f2fa7ad4c72ef4849f2d2b78a963c1925c63a3 04-Apr-2012 Nick Pelly <npelly@google.com> First cut at Bluetooth Beam

Change-Id: I616fd57b7822d703280ec960b84cf8c5ced6719d
/packages/apps/Nfc/src/com/android/nfc/handover/BluetoothOppHandover.java