To read the value of String.xml StringMess=R.string.message_1;I tried it like this, but the id value of the string was returned as an integer instead of a string. I'd like to read the text, what should I do?
StringMess=R.string.message_1;
String mess = getResources().getString(R.string.mess_1); Do it like this
String mess = getResources().getString(R.string.mess_1);
542 Unable to install versioned in Google Colab
548 rails db:create error: Could not find mysql2-0.5.4 in any of the sources
546 Understanding How to Configure Google API Key
642 /usr/bin/google-chrome:symbol lookup error:/usr/bin/google-chrome: undefined symbol:gbm_bo_get_modifier
549 PHP ssh2_scp_send fails to send files as intended
© 2024 OneMinuteCode. All rights reserved.