That just causes the call to super(context) in my dialog constructor to
throw a NullPointerException.

I was working from the examples at
http://developer.android.com/guide/topics/ui/dialogs.html#CustomDialog
and they also use the getApplicationContext().  You need some context to
pass to the Dialog() constructor.

On Sat, Jan 1, 2011 at 8:46 AM, Kostya Vasilyev <[email protected]> wrote:

> Get rid of getApplicationContext for a start, see if this helps.
>
>

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