开发者

Get string value in Android

There are some string resources in my android application and some helper-classes, which are only java-classes (no android classes).

Is it possible to get st开发者_Go百科ring value of string resource variable from an java class?!

Mur


You need a Context to access any resource string value. It can be either an activity context or the Application context.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜