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 <kmans...@gmail.com> 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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to