Monday, March 18, 2013

Mono for Android: Read string resource value from code

For an Android application we are building, we added some string values to our /resources/values/strings XML file. Mono for Android detects this and generates a strongly typed value in a designer class.

The only problem is that the generated value is an integer, not the string value itself. So how can we get access to the string resource?

No comments: