On Sun, May 16, 2010 at 9:59 PM, tiany <[email protected]> wrote: > but when the xml file is under /res/xml,how can I do it? >
Don't think you can. For those files, use getXml() (or something) to get an XmlPullParser instance (I think, I'm going off memory). ------------------------------------------------------------------------------------------------- TreKing - Chicago transit tracking app for Android-powered devices http://sites.google.com/site/rezmobileapps/treking -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

