[android-developers] Re: ApplicationContext.java and Activity.java. Is ApplicationContext not used ?

2009-09-30 Thread amit
hi Dianne, thanks for the reply... I think the name ApplicationContext is slightly misleading. Because the ApplicationContext object acts as a Base Context object which gets stored in ContextWrapper / ContextThemeWrapper Whereas when I call myActivity.getApplicaitonContext, I actually get the

[android-developers] Re: ApplicationContext.java and Activity.java. Is ApplicationContext not used ?

2009-09-30 Thread Dianne Hackborn
Yes, I agree it is confusing, but it is not in the SDK so not a high priority to go through all the effort of changing. On Wed, Sep 30, 2009 at 5:41 AM, amit amitkee...@gmail.com wrote: hi Dianne, thanks for the reply... I think the name ApplicationContext is slightly misleading. Because

[android-developers] Re: ApplicationContext.java and Activity.java. Is ApplicationContext not used ?

2009-09-29 Thread Dianne Hackborn
ApplicationContext is private implementation. Activity takes care of the startActivity implementation for itself, since it wants the starting activity to be associated with the original activity (and ApplicationContext is just the most generic context, which doesn't know that it is an activity).