locked
Eula state of the art

    Question

  • Hi all,

    We need to add a specific Eula to our App. In order to not reinvent the wheel, I just wonder if there is something specific to do (an xml file to add to the project) or must I all code by myself?

    Thank you for your help



    Thursday, January 03, 2013 11:13 AM

Answers

  • Hi,

    You can add that freely. And then read it as follow:

        //get local file in a local folder
        //notice: only read authority,no write
        var uri = new Windows.Foundation.Uri("ms-appx:///app_data/data.xml")
        Windows.Storage.StorageFile.getFileFromApplicationUriAsync(uri).then(function (file) {
            return Windows.Storage.FileIO.readTextAsync(file);
        }).done(function (text) {
            // activitiesArray = JSON.parse(text);
            document.getElementById("content").innerHTML = text;
        });


    Roy
    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 Song Tian Wednesday, January 09, 2013 9:04 AM
    Wednesday, January 09, 2013 5:36 AM