title: Display an Alert Dialog Box for custom time period in android
body: <p>In my android app I want to display an Alert dialog box for a limited time period. Which means If user  doesn't reply to alert dialog box within limited time period , alert box must be  closed. I searched on the Internet about this but could not  find a way. Is anyone aware about  how to do this ?</p>