14. JBからのAndroid Beamのupdate
Android Beamに関する機能追加あり
Android Beam™ now supports large payload transfers over Bluetooth. When
you define the data to transfer with either the new setBeamPushUris() method or the new callback
interface NfcAdapter.CreateBeamUrisCallback, Android hands off the data transfer to
Bluetooth or another alternate transport to achieve faster transfer speeds. This is especially useful
for large payloads such as image and audio files and requires no visible pairing between
the devices. No additional work is required by your app to take advantage of transfers over Bluetooth.
The setBeamPushUris() method takes an array of Uri objects that specify the data you want to
transfer from your app. Alternatively, you can implement the
NfcAdapter.CreateBeamUrisCallback interface, which you can specify for your activity by
calling setBeamPushUrisCallback().
When using the callback interface, the system calls the interface's createBeamUris() method when
the user executes a share with Android Beam so that you can define the URIs to share at share-time. This
is useful if the URIs to share might vary depending on the user context within the activity, whereas calling
setBeamPushUris() is useful when the URIs to share are unchanging and you can safely define them
※出典:http://developer.android.com/about/versions/android-4.1.html 14