Sending large files with Android Beam (or S-Beam)

前端 未结 1 796
北海茫月
北海茫月 2021-01-22 09:27

I\'ve been tasked with adding support to an app for beaming large data files (tens of megabytes) from device to device via \'NFC\' on Android.

I\'m aware that genuine NF

相关标签:
1条回答
  • 2021-01-22 09:48

    For Android Beam, you need to provide URIs to the files with the data using setBeamPushUris() (or setBeamPushUrisCallback() if the data is not fixed).

    For S-Beam, I am not aware of any API that can be used. AFAICT, S-Beam only works with the built-in apps for pictures, video and music.

    0 讨论(0)
提交回复
热议问题