Context.getResources().getXml(int id)

Neil



On Jun 25, 10:02 am, brilliant winger <stw...@gmail.com> wrote:
> HI
>
> /////////////////////////////////////////////////////////////////////////////////////////////////////////////////
>         XmlPullParserFactory factory = XmlPullParserFactory.newInstance
> ();
>         factory.setNamespaceAware(true);
>         XmlPullParser xpp = factory.newPullParser();
>
>         xpp.setInput( new StringReader ( "<foo>Hello World!</
> foo>" ) );
>         int eventType = xpp.getEventType();
> ...
> ...
> ...
> ...
> ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
>
> I found this code in android developers site.
>
> How can I use "res/xml/*.xml",  instead of ""<foo>Hello World!</
> foo>" ?
--~--~---------~--~----~------------~-------~--~----~
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-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to