locked
How to store user config values in Windows 8 app using JS/HTML5??

    Question

  • Hello,

    I am writing an app where the user is able to read the Atom feeds from any source. For the same the app user has to enter the url of the data source. Is there any way in the Win8 app where the user can configure the url and store it in the app.config file by himself, so that the app can pick the same and then fetch the data?

    Any help would be appreciated.

    Kind regards,

    Saurabh

    Tuesday, August 14, 2012 3:48 AM

Answers

  • use localSettings!!

            var applicationData = Windows.Storage.ApplicationData.current;
            var localSettings = applicationData.localSettings;

            localSettings.values["hoge"] = text;

    if share same application another pc,

    use roamingSettings

    Tuesday, August 14, 2012 7:13 AM

All replies