1

Android - can't access strings with R.string

view story
linux-howto

http://stackoverflow.com – I am have trouble accessing a string I stored in strings.xml and don't know why. res/values/strings.xml <?xml version="1.0" encoding="utf-8"?> <resources> <string name="FileBrowser">FileBrowser</string> <string name="menu_settings">Settings</string> <string name="up_one_level">..</string> <string name="current_dir">.</string> </resources> Code this.directoryEntries.add(getString(R.string.current_dir)); //current_dir is not being seen (HowTos)