Re: [android-developers] finish() does not dismiss AlertDialogs

2014-10-05 Thread Pietro Paolini
It was a typo, I actually pass the right parameter. Il domenica 5 ottobre 2014, TreKing treking...@gmail.com ha scritto: On Tue, Sep 30, 2014 at 5:21 AM, pedr0 pulsarpie...@gmail.com javascript:_e(%7B%7D,'cvml','pulsarpie...@gmail.com'); wrote: Any ideas ? AlertDialog.Builder builder

Re: [android-developers] finish() does not dismiss AlertDialogs

2014-10-04 Thread TreKing
On Tue, Sep 30, 2014 at 5:21 AM, pedr0 pulsarpie...@gmail.com wrote: Any ideas ? AlertDialog.Builder builder = new AlertDialog.Builder(context); AlertDialog dialog = builder.create(); DialogInterface.OnClickListener ok = new DialogInterface.OnClickListener() {

[android-developers] finish() does not dismiss AlertDialogs

2014-09-30 Thread pedr0
Hi all, I am developing an activity which generate an AlertDialog and attach to it an onClickListener which calls the finish() method, I am experiencing a strange issue which result is a kind of stalemate: pressing the *Ok* button finish() gets called and I can see the onDestroy() being