I currently have a few classes that are called by an activity (some
statically) in which I want to use a string resource.  I tried:
Resources.getSystem().getString(R.string.mystring), but am getting an
error. It seems as though you can only use this within an activity.

Is there anyway to use a project resource in a standard (non Activity)
class without having to pass the resource object from the activity
calling the class?

Thanks in advance!

Kirk
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to