but you can supply default values when you retrieve preference
parameters. Make these defaults the same as what you'd put in the xml,
and you're done.
Or you have your app read an xml file and initialize the preferences
with that.


On Jan 2, 8:38 pm, "Dianne Hackborn" <[email protected]> wrote:
> No, sorry.
>
> On Fri, Jan 2, 2009 at 2:16 AM, elvisw <[email protected]> wrote:
>
> > Hi,
>
> >    Can I initial a SharedPreferences instance from an XML file saved
> > in SD card??
> >    Is it possible to do that??
>
> > Best Regards,
> > Elvis.
>
> --
> Dianne Hackborn
> Android framework engineer
> [email protected]
>
> Note: please don't send private questions to me, as I don't have time to
> provide private support.  All such questions should be posted on public
> forums, where I and others can see and answer them.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to