Put the XML file in res/xml/ and read it using getResources().getXml().

On Sun, Oct 2, 2011 at 10:17 AM, Siva Prakash <siva.yuvan2...@gmail.com> wrote:
> Hi
> I want to keep my XML file in a text file and read from Android code. I
> couldnt keep it in String Values because I have tags "<" ">" in many places.
> What is the best way? Or I have to handle with escape characters in String
> file it self?
> Thanks
>
> --
> 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



-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android 3.1 Programming Books: http://commonsware.com/books

-- 
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