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" <hack...@android.com> wrote:
> No, sorry.
>
> On Fri, Jan 2, 2009 at 2:16 AM, elvisw <elvise...@gmail.com> 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
> hack...@android.com
>
> 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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to