You're missing one call from your builder; http://code.google.com/android/reference/android/app/AlertDialog.Builder.html#setPositiveButton(java.lang.CharSequence,%20android.content.DialogInterface.OnClickListener)
or http://code.google.com/android/reference/android/app/AlertDialog.Builder.html#setPositiveButton(int,%20android.content.DialogInterface.OnClickListener) Using null for the listener will dismiss the dialogue when the button is pressed. Al. http://andappstore.com/ Raja Nagendra Kumar wrote: > In M5 show alert used like this use to show model an allert with > message and ok button. > > aActivity.showAlert(null,0,aMessage, "OK",true); > > This use to go away on pressing the fire button. > > However on 1.0, this method is removed..and hence using > > new AlertDialog.Builder(aActivity) .setMessage(aMessage).show(); > > But this one is not showing ok and also not getting dismised on fire > button. One needs to use redbutton to exit from this. > > Could you pl. let me know how to get some thing similar to m5 one in > 1.0 > > Regards, > Nagendra > > > -- ====== Funky Android Limited is registered in England & Wales with the company number 6741909. The registered head office is Kemp House, 152-160 City Road, London, EC1V 2NX, UK. The views expressed in this email are those of the author and not necessarily those of Funky Android Limited, it's associates, or it's subsidiaries. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

