[android-developers] Re: getString in a class with no context <- Runtime Error Resource Not Found
public String getString(int Rid, Context passedContext){
Context masterContext = passedContext;
return (String)masterContext.getResources().getText(Rid);
}
Woo, finally got it! Thanks for all the help!
--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home