File Transfer - .NET

Nov 24, 2016

FileTransfer_.NET.zip
(1.61MB)

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

Sender (Android) and Receiver (Gear)

Figure 1 File Transfer - Sender (Android) and Receiver (Gear)

This sample application has two parts:

  • FileTransferSender

    • Works in host device and has UI.

    • Initiates service connection request and send files to Gear device.

  • FileTransferReceiver

    • Works in Gear 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 (Gear) and Receiver (Android)

Figure 2 File Transfer - Sender (Gear) and Receiver (Android)

This sample application has two parts:

  • FileTransferSender

    • Works in Gear 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 Gear device.

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

    • Receiving file from Gear device.