> 
> **Possible Duplicate:**  
> 
> [Closing the activity after clicking positive button in alert dialog in android](https://stackoverflow.com/questions/5388017/closing-the-activity-after-clicking-positive-button-in-alert-dialog-in-android) 
> 
> 
> 

it should be quite easy for some of you. Here is my little snippet:

```
    .setPositiveButton(android.R.string.yes, (android.content.DialogInterface.OnClickListener) yesHandler)
    .setNegativeButton(android.R.string.no, //what now?)

```

these are the functions of my YES and NO alertdialog buttons. What should i place instead of "//what now?" for close the app activity?