When doing

    OnClickListener mButtonYListener = new OnClickListener()
    {
        public void onClick( View v )
        {
                showDialog( DIALOG_PA_MESSAGE );
        }
    };
.....
    protected Dialog onCreateDialog( int id )
    {
    }

is called and my Dialog Box is displayed properly.

However, when the message to display the Dialog Box comes from a
Socket rather than a Button as shown below, the display fails.


        class MyClosure extends Closure
        {
                public void ClosureMethod( Message message )
                {
                      showDialog( DIALOG_PA_MESSAGE );
                }
        }


Any solutions?

Thanks!

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