-2

I need to put value from android backend java class to the strings.xml

<resources>
<string name="test">xyz</string>
</resources>
ADM
  • 20,406
  • 11
  • 52
  • 83
A.Ch
  • 1
  • Hi, please consider adding more information, what are you trying to achieve, what is your expected outcome, what have you tried? Expanded code blocks to give us an ability to try and replicate your issue. – Joshua Dec 21 '20 at 04:23
  • 1
    You can not modify resources dynamically which are pre-bundled with apk . you certainly can get the String from server only if that's a dynamic data . Also you probably have do localization yourself if you call an API for data . – ADM Dec 21 '20 at 06:18
  • Does this answer your question? [Change value of R.string programmatically](https://stackoverflow.com/questions/9674925/change-value-of-r-string-programmatically) – Ryan M Dec 31 '20 at 05:37

1 Answers1

0

this is impossible you can't do that

Ali
  • 1
  • 1