File Transfer - Native

Nov 24, 2016

FileTransfer_Native.zip
(468KB)

File Transfer sample application displays file exchange interactions between the host device and Galaxy Watch device using Accessory File Transfer SDK. This sample application is companion type and is provided in two types.

Sender (Android) and Receiver (Galaxy Watch)

Figure 1 File Transfer - Sender (Android) and Receiver (Galaxy Watch)

This sample application has two parts:

  • FileTransferSender

    • Works in host device and has UI.

    • Initiates service connection request and send files to Galaxy Watch device.

  • FileTransferReceiver

    • Works in Galaxy Watch device and has UI.

    • Accepts a receiving service connection request from host device.

    • Accepts or rejects a receiving command to push file from host device.

    • Receiving file from Host device.

Sender (Galaxy Watch) and Receiver (Android)

Figure 2 File Transfer - Sender (Galaxy Watch) and Receiver (Android)

This sample application has two parts:

  • FileTransferSender

    • Works in Galaxy Watch device and has UI.

    • Initiates service connection request and sends files to host device.

  • FileTransferReceiver

    • Works in Host device and has UI.

    • Accepts a receiving service connection request from Galaxy Watch device.

    • Accepts or rejects a receiving command to push file from Galaxy Watch device.

    • Receiving file from Galaxy Watch device.