Saturday, October 22, 2011

[android-developers] Re: Custom Dialog Not Showing

Strange...even AlertDialog will not work. I built an AlertDialog using
the builder inside onCreateDialog and still nothing. There are no
messages that appear in logcat during and after its call.

On Oct 22, 4:25 pm, TreKing <treking...@gmail.com> wrote:
> On Sat, Oct 22, 2011 at 4:57 PM, Alex Oh <alexo...@gmail.com> wrote:
> > Yes. There are no crashes at all from after showDialog, switch
> > statements are being executed correctly, etc. dialog within
> > onCreateDialog is being assigned an id, not null.
>
> And nothing at all in the LogCat?
> Barring that, try to simplify the problem down - don't set a custom view for
> example and set some basic text in the dialog and see if that works. Also
> try using an AlertDialog and its Builder class and see if that makes a
> difference.
>
> -------------------------------------------------------------------------------------------------
> TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
> transit tracking app for Android-powered devices

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

No comments:

Post a Comment