locked
Is it possible to download a file using background transfer api and share the same on hitting "windows + H" keys?

    Question

  • Is it possible to download a file using background transfer api and share the same on hitting "windows + H" keys?

    I have tried to implement this but the share charm is not waiting for  a long untill the file is completely downloaded.

    If this can be implemented. Can someone please share a sample or some piece of code that can be helpful...

    Wednesday, January 09, 2013 4:31 PM

Answers

All replies

  • Hi,

    Yes, it cannot be shared if it is not download completed. Maybe you can try to share the links instead of the file.

    Best regards,
    Jesse


    Jesse Jiang
    MSDN Community Support | Feedback to us
    Develop and promote your apps in Windows Store
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    Friday, January 11, 2013 3:23 AM
  • Thanks for the reply Jesse.

    so you mean to say that a file cannot be downloaded and shared on hitting the "windows + H" keys. Means even if the delegate provided for storageitems and in the delegate if we call the Background download transfer API ,the target application will not wait until the download is  completed / the target application cannot be made to wait until the download is completed .


    If this is possible pleas provide some piece of code that can be used to implement this.
    • Edited by Ramya SJ Friday, January 11, 2013 5:01 AM
    Friday, January 11, 2013 4:59 AM
  • As far as I know, it will throw error " Error occurred while uploading a file to the target application".
    Please check
    http://social.msdn.microsoft.com/Forums/en-US/winappswithnativecode/thread/f7b255e7-de59-43b4-b0c8-fbd5fcf34079

    Best regards,
    Jesse


    Jesse Jiang
    MSDN Community Support | Feedback to us
    Develop and promote your apps in Windows Store
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    • Marked as answer by Jesse Jiang Tuesday, January 15, 2013 2:11 AM
    Friday, January 11, 2013 8:56 AM
  • Yes, I mean that we cannot share the file when we download it. Maybe we can share the link or other information instead of the file itself.

    Best regards,
    Jesse


    Jesse Jiang
    MSDN Community Support | Feedback to us
    Develop and promote your apps in Windows Store
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    Monday, January 14, 2013 6:50 AM