Is it possible to read users action in the dialog?
Example: On button bttn1 click, dialog opens. If user clicks No in the dialog, nothing happens. If user clicks Yes, then bttn1 becomes unavailable and bttn2 changes its state from setEnabled(false) to setEnabled(true).
General question but I am partially reffering to Bluetooth setup documentation where startActivityForResult() is used.
As current answer provides, it is about using startActivityForResult() and onActivityResult() but I still have no idea how to implement this in such condition.
I am not able to implement this to overcome such problem.
 
     
    