|
||||||||
Android Strings
You can certainly hardcode or read in strings from a file, however, Android has a set of special locations for you to store your strings and gives you a way in your XML files to refer to them.
HOW to identify strings in such files:
Recommendation: store all your string contants in your application in strings.xml file ---then translate and put in language/country specific directories res/values-LANGUAGETIP: If you do the above and the default language of the phone is French it will load and use the strings.xml file in res/values-fr |
||||||||
© Lynne Grewe |