[android-developers] Re: Dialog problem

2010-02-09 Thread André
Oooh, I tried to follow this explanation: http://developer.android.com/intl/de/guide/topics/ui/dialogs.html#CustomDialog if anyone wants to have a look at it! On Feb 9, 10:24 pm, André pha...@hotmail.com wrote: Hello, I'm trying to make a dialog box to open when I start a program. Eclipse

[android-developers] Re: Dialog problem

2010-02-09 Thread André
Really? Yeah, now I saw your other replies. You are the man! Thanks! On Feb 9, 10:32 pm, TreKing treking...@gmail.com wrote: On Tue, Feb 9, 2010 at 3:24 PM, André pha...@hotmail.com wrote:  Context mContext = getApplicationContext(); You're probably seeing something about a BadToken in the

[android-developers] Re: Dialog problem

2010-02-09 Thread Bob Kerns
The four stages of Android UI Enlightenment: 0) You dutifully use getApplicationContext() his Activity to pass along to the SDK. 1) You realize you don't NEED to call getApplicationContext() from your Activity to pass along, 'this' should work. 2) You realize it is WRONG to call

[android-developers] Re: Dialog problem

2010-02-09 Thread Lance Nanek
More stars/occurrences on the bug report welcome: http://code.google.com/p/android/issues/detail?id=5748 On Feb 9, 6:05 pm, Bob Kerns r...@acm.org wrote: The four stages of Android UI Enlightenment: 0) You dutifully use getApplicationContext() his Activity to pass along to the SDK. 1) You