Saturday, August 27, 2011

[android-developers] Re: Advice on getting data from one activity to another

Thanks! Now to figure out how to use them, hopefully I won't be back
later with a 'uh, how do i do this?' question.

On Aug 27, 9:50 am, Mark Murphy <mmur...@commonsware.com> wrote:
> On Sat, Aug 27, 2011 at 10:32 AM, erik wagner <erik.j.wag...@gmail.com> wrote:
> > Hi, I guess this is more of a design with more than a little 'how do
> > i' mixed in question.  I have two activities (thus far), a main page
> > and an options page.  On the options page I set an option that I need
> > to 'see' on the main page (as well as on subsequent other activites).
> > What is the 'best' way to do this?
>
> Use SharedPreferences and an OnSharedPreferenceChangeListener.
>
> --
> Mark Murphy (a Commons Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy
>
> Android 3.1 Programming Books:http://commonsware.com/books

--
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

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate