how to get string value in java in android

Solutions on MaxInterview for how to get string value in java in android by the best coders in the world

we are a community of more than 2 million smartest coders
registration for
employee referral programs
are now open
get referred to google, amazon, flipkart and more
register now
  
pinned-register now
showing results for - "how to get string value in java in android"
Eric
24 Jan 2020
1String string = getString(R.string.hello);
2
Rafael
27 Jun 2016
1String str =getResources().getString(R.string.mess_1);
2
3
Paul
02 Jun 2017
1String mess = getResources().getString(R.string.mess_1);
2