Thursday, May 20, 2010

Re: [android-developers] how to get inputstream of an xml file which is placed under /res/xml

On Sun, May 16, 2010 at 9:59 PM, tiany <lonelinsky@gmail.com> 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 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

No comments:

Post a Comment