Re: [android-developers] Re: Re : Save output data as XML

2012-02-22 Thread Kristopher Micinski
I guess to summarize this: why do you want to save stuff in XML on your SD card? If it's for your app's persistence, there's no reason it has to be in XML, it could just as easily be in sharedpreferences (which has an easier API anyway). If you must save data in XML, you can just work the standa

[android-developers] Re: Re : Save output data as XML

2012-02-22 Thread moktarul anam
Hi Vivek, I think simple and good solution is android Shared Preferences Moktarul On Feb 22, 3:19 pm, vivek elangovan wrote: > Hi Moktarul Anam , >                        I m not going to save uname and pssword in my > xml for sample only i gave that.My scenario is if i m entering some > data i

[android-developers] Re: Re : Save output data as XML

2012-02-22 Thread Seshu
Hi vivek, U can save the file in sdcard also but u need to integrate sdcard storage code and shared preferences and then u can save the file in sdcard. On Feb 22, 3:16 pm, vivek elangovan wrote: > Hi Seshu, >                 Thanks for the suggestion,i got the file from DDMS but > is there

[android-developers] Re: Re : Save output data as XML

2012-02-22 Thread vivek elangovan
Hi Moktarul Anam , I m not going to save uname and pssword in my xml for sample only i gave that.My scenario is if i m entering some data i have to save it as xml in my sdcard and i also have to retrieve that data. - Vivek On Feb 22, 3:09 pm, moktarul anam wrote: > Hi Vie

[android-developers] Re: Re : Save output data as XML

2012-02-22 Thread vivek elangovan
Hi Seshu, Thanks for the suggestion,i got the file from DDMS but is there any possible that i can save that xml file in sdcard - vivek On Feb 22, 3:03 pm, Seshu wrote: > Hi Vivek, >         U no need 2 mention any xml format while saving the file. > by default shared preference l

[android-developers] Re: Re : Save output data as XML

2012-02-22 Thread moktarul anam
Hi Viek, saving username and password in sdcard is not a good idea. yes u can same ur xml file to sdcard. use file write use http://developer.android.com/guide/topics/data/data-storage.html ( i think u have to use java serialize ) Moktarul Anam On Feb 22, 2:57 pm, vivek elangovan wrote: > Hi

[android-developers] Re: Re : Save output data as XML

2012-02-22 Thread Seshu
Hi Vivek, U no need 2 mention any xml format while saving the file. by default shared preference ll save the data in xml format. u can see this file in fileexplorer i.e., open ddms and then file explorer. now u ll get 3 options i.e., data, mnt and system. Go to data and then select data aga

[android-developers] Re: Re : Save output data as XML

2012-02-22 Thread vivek elangovan
Hi Seshu, i checked the link u referred and its working fine, but in that sample no xml part is defined what i need is (for eg : in the same example after login i want to save the username and password as XML files in my sdcard ) - Vivek On Feb 22, 12:30 pm, Seshu wrote: > Hi Vive

[android-developers] Re: Re : Save output data as XML

2012-02-21 Thread Seshu
Hi Vivek, Used Shared Preferences so that the output data will be saved in xml format only. https://github.com/junal/Android-SharedPreferences/tree/master/SharedPreferences http://www.tutorials-android.com/learn/How_to_store_and_retrieve_preferences_in_an_Android_app.rhtml Thanks and Regards, S