I have a lot of strings in my strings.xml, I want to putExtra to another intent where the data that I retrieve is taken from strings.xml, but when the application is run it doesn't get the results I want
sender activity
Intent moveIntent = new Intent(MainActivity.this, informationActivity.class);
moveIntent.putExtra(informationActivity.data1, "@string/THISISMYSTRINGFROMSTRINGSXML");
startActivity(moveIntent);
recipient intent
String data1= getIntent().getStringExtra(data1);
text1.setText(data1);
and the results that I got were
@string/THISISMYSTRINGFROMSTRINGSXML
I think by providing data like the above will make the text that appears taken from the strings.xml file, apparently not, is there a way to fix it?