Saving data to a file really has nothing to do with Android... Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware
On Sat, Jul 7, 2012 at 4:44 AM, Ramki <[email protected]> wrote: > Hi, > > I am very new to the android application... I am trying to create a > android application for my personal purpose. its a finance tool. > I've created an object class like this > public class expense > { > amountpaid > paymentdescription > paymentmethod > etc > } > > and in my main activity i am creating a list of the expense class > List<expense> obj = new List<expense>(); > and then add some expenses to it > > Once i add this I am trying to write it to an xml file in external > storage. > I am facing challenges > 1. to convert obj to xml file > 2. and then convert it back to class... > > The reason i have to right it to xml file is because, i can use the > xml file to keep a local copy in my system when i connect it to my pc. > > Can someone please help me on the best way to do this? > > -- > 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 -- 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

