After many search I can not resolve my problem. I start a dialog from adapter then from my dialog i call an activity (by intent). I would like to return to my dialog with the result from my activity. here my code :
    final Dialog dialog = new Dialog(MyActivity.context);
    dialog_actv.setOnItemClickListener(new AdapterView.OnItemClickListener() {
            add_dialog.setOnClickListener(new View.OnClickListener() {
                @Override
                public void onClick(View v)
                {Intent add = new Intent(MyActivity.context,MySecondActivity.class);
                    MyActivity.context.startActivity(add);
From the called activity I would like to return to the dialog. How can i do ? Thanks for help.
 
     
    