Re: [android-developers] Re: Basic Concept

2011-05-04 Thread MOHIT SHARMA
thanx a lot dude .. On Thu, May 5, 2011 at 01:27, Streets Of Boston flyingdutc...@gmail.comwrote: 'this' in an Activity refers to the Context, because an Activity is a Context (Activity extends Context). this.getApplicationContext() returns an Application. An Application is a Context as

[android-developers] Re: Basic Concept

2011-05-04 Thread Streets Of Boston
'this' in an Activity refers to the Context, because an Activity is a Context (Activity extends Context). this.getApplicationContext() returns an Application. An Application is a Context as well. But the ProgressDialog really likes an Activity, not just a Context. As you discovered, not just