c# - Application settings Windows phone 8 -


i'm developing wp8 , need store custom app settings. found func 'applicationdata' it's not supported in wp8. can me? want store permanent variables provided user. example:

country = ua news = 1 

etc.

you can use isolated storage or applicationdata.localsettings :

var localsettings = windows.storage.applicationdata.current.localsettings;  // create simple setting  localsettings.values["examplesetting"] = "hello windows";  // read data simple setting  object value = localsettings.values["examplesetting"];  if (value == null) {     // no data } else {    // access data in value }     // delete simple setting  localsettings.values.remove("examplesetting"); 

check link , link


Comments

Popular posts from this blog

google chrome - Developer tools - How to inspect the elements which are added momentarily (by JQuery)? -

angularjs - Showing an empty as first option in select tag -

php - Cloud9 cloud IDE and CakePHP -