locked
Share data among amultiple users of a WinRT app RRS feed

  • Question

  • Hi,

    We developped a Windows Store app (Windows 8) that gets files from the internet and stores them localy to make them available offline. You can think of it as a one-way synchronization that the app does on a regular basis. So problem is the amount of files is huge (around 500Mb) and the application can be used by different users on the same device.

    As the app writes the synchronized files in its LocalFolder,

    ApplicationData.Current.LocalFolder

    and as this location is not shared amoung users, each user duplicates the same 500Mb files when synchronizing.

    Is there a way to store those files on the device so that the app can use them whoever synchronized them?

    In other words, we need to have the app read a file that she wrote under a different user account.

    Note that we don’t need those files to be browsable outside of the app.

    • Edited by Yacine CHAHROUR Thursday, January 16, 2014 4:45 PM more specific
    Thursday, January 16, 2014 4:27 PM

Answers

  • No, there is no generally writable and shared location for Windows Store apps. You can use a FolderPicker to let the user choose a location to save the file.

    --Rob

    Thursday, January 16, 2014 5:03 PM
    Moderator