If you want to share media files from another phone to your HTC phone, or between two HTC phones, you can download
HTC Transfer Tool from
Google Play Store. This tool uses
Wi-Fi Direct® to transfer data, like messages and photos from your current phone.
For details on how to use the
HTC Transfer Tool, see
Transferring content from an Android phone.
If you want to share media files from your HTC phone to other
Android phones using
Wi-Fi Direct, you may download a third-party app to enable such transfers.