Re: [android-developers] Re: Showing Custom Dialog

2010-02-10 Thread TreKing
On Wed, Feb 10, 2010 at 12:17 AM, YCH yip@gmail.com wrote: After replacing getApplicationContext() with this, I am still having the same problem. Any ideas? Thanks! Try using AlertDialog.Builder to create your dialog.

[android-developers] Re: Showing Custom Dialog

2010-02-09 Thread YCH
After replacing getApplicationContext() with this, I am still having the same problem. Any ideas? Thanks! On Feb 9, 3:02 am, TreKing treking...@gmail.com wrote: DO NOT use getApplicationContext(), use *this*. On Sat, Feb 6, 2010 at 10:59 PM, YCH yip@gmail.com wrote: Hi, I am new to

[android-developers] Re: Showing Custom Dialog

2010-02-09 Thread YCH
Thanks for your info. The implementation of my input box class is public class InputDialog extends Dialog { public InputDialog(Context context) { super(context); } @Override protected void onCreate(Bundle savedInstanceState) {