There is:

public void dismiss ()
Added in API level 1
Dismiss this dialog, removing it from the screen. This method can be 
invoked safely from any thread. Note that you should not override this 
method to do cleanup when the dialog is dismissed, instead implement that 
in onStop().


On Monday, November 26, 2012 2:56:06 PM UTC-6, TreKing wrote:
>
> On Mon, Nov 26, 2012 at 4:54 AM, Mr cool <[email protected] 
> <javascript:>>wrote:
>
>> Here i can't use `finish()` method, I want to close the customized dialog 
>> box via the thread. Anyone has any idea about this?
>
>
> First, you probably should not make the MyRunnable class public and static.
> Second, your class extends Dialog, so see if there's a method in that 
> class already defined that will *dismiss* it for you.
>
>
> -------------------------------------------------------------------------------------------------
> 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 [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