Wednesday, February 22, 2012

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

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 <elangovan.vi...@gmail.com> wrote:
> 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 <s.seshu...@gmail.com> wrote:
>
>
>
>
>
>
>
> > 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 again and then select package name of
> > ur application. now u ll see the Shared Preferences. Click on it. u ll
> > find ur filename.xml.
>
> > Thanks and Regards,
> > S.Seshu
>
> > On Feb 22, 2:57 pm, vivek elangovan <elangovan.vi...@gmail.com> wrote:
>
> > > 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 <s.seshu...@gmail.com> wrote:
>
> > > > 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/Shared...
>
> > > >http://www.tutorials-android.com/learn/How_to_store_and_retrieve_pref...
>
> > > > Thanks and  Regards,
> > > > S.Seshu
>
> > > > On Feb 22, 9:55 am, vivek elangovan <elangovan.vi...@gmail.com> wrote:
>
> > > > > Hi members,
> > > > >                      I want to develope an application  where after
> > > > > entering the required input fields i want to save the output data as
> > > > > XML in my local (eg : memory card) . Is there any sample available ?

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment