[android-developers] Context differences
What are the differences between any of these calls -
all called from within my Activity sub-class instance.
getApplicationContext()
getBaseContext()
this
I need to get the context primarily for prefs for my apps - there
are multiple Activities but i'd like to reference the same
common prefs for my app.
--
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