KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I am trying to use getResources method in a non-activity class. How do I get the reference to the "resources" object so that I can access the xml file stored under resources folder? Example: XmlPullParser xpp = getResources().getXml(R.xml.samplexml);
Tags (comma-separated)
Save Edits
Cancel