getResources for xml is not working

Put problem concerning MapActivities, MapViews, Overlays and GPS in this forum.

getResources for xml is not working

Postby aswani » Fri Feb 12, 2010 3:07 pm

XmlResourceParser xrp = this.getResources().getXml(R.xml.userdata);

about code i am using for getting the resources it is not working and through exception

System.err(1060): java.lang.NullPointerException

System.err(1060): at android.content.ContextWrapper.getResources(ContextWrapper.java:79)
aswani
Junior Developer
Junior Developer
 
Posts: 19
Joined: Tue Feb 09, 2010 12:41 pm

Top

Return to Map Problems

Who is online

Users browsing this forum: Google [Bot], Yahoo [Bot] and 3 guests