How can I get Resources by name (string) and not by integer

Posted by masterkapu on Stack Overflow See other posts from Stack Overflow or by masterkapu
Published on 2010-05-07T09:13:50Z Indexed on 2010/05/07 9:18 UTC
Read the original article Hit count: 251

Filed under:
|

for example:

public final class R {

    public static final class raw {
        public static final int yuri=0x7f040000;
    }
}

How can I get the yuri resource by its name? Without using R.raw.yuri = (int)

© Stack Overflow or respective owner

Related posts about android

Related posts about resources