That's not entirely true, one could base64 encode the image bytestream and store it in xml, alternatively one could store the image files themselves and just store their path in the xml file.
Jonathan On Mar 23, 3:59 am, DanH <[email protected]> wrote: > Well, you can't put images in XML. > > If this is really a "formatted document" in one single byte stream the > most logical choice would be a flat file. > > On Mar 22, 4:46 am, -Ernest <[email protected]> wrote: > > > > > > > > > Hello guys, > > Thanks for making android a wonderful platform. > > Me and my mate are writing a project and its an android app. > > Yesterday i finish my third book about programing for > > the android platform "Hello, Android". > > > He comes my questions: > > What is the best option for saving a well formatted document(a > > document with images) on a device? > > I know this can be done by saving to a XML file or on a database, but > > which of these > > two is the most preferable. > > > Hope the question was clear. > > > Thanks in advance. > > -Ernest -- 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

