android - how to get string value using this code -
how string values using this,right return integer value.
getapplicationcontext(),getresources().getidentifier("please_try_again_"+nativelocalesymbol, "string", getpackagename());
getidentifier returns resource identifier why int. using id can resource
int resid = getapplicationcontext().getresources().getidentifier("please_try_again_"+nativelocalesymbol, "string", getpackagename()); getapplicationcontext().getresources().getstring(resid)
Comments
Post a Comment