I’m trying to store my static strings in such a way that they can be edited without recompiling. These strings are a bunch of URLs used for querying the server with web requests and it would be nice to put them in an xml file named config or settings for easy access. I know on Android this is easy to do with an xml file that looks something like:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="hello">Hello World!</string>
...
...
</resources>
And if it was stored in res/values/strings.xml then I can just reference it like R.string.hello from my activity.
Is there a way to do this on the windows phone? or using a standard windows way of saving configuration information so it can be edited without recompiling?
Thanks in advance for your helpful comments.
Use resources for this purpose.