Use getIdentifier()
int id = getResources().getIdentifier("abs__home", "string", getPackageName());
if the name
(abs__home
) does not exits inside the resources, you will get 0
1
solved parse R.java class
Use getIdentifier()
int id = getResources().getIdentifier("abs__home", "string", getPackageName());
if the name
(abs__home
) does not exits inside the resources, you will get 0
1
solved parse R.java class