On Mon, Mar 14, 2011 at 9:43 AM, Daniel Rindt
<[email protected]> wrote:
>> 1 - Never use getApplicationContext() - it's utterly pointless and
>> just does not work with dialogs.
> How then obtain the Context to display it?

Your activity *is* a Context.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android Training in Oslo: http://bit.ly/fjBo24

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to