i use to run some ussd code using adb android.intent.action.CALL and after read the response i need to close the AlertDialog to run another ussd command and so on . i tried keyevent but is no good , sometimes it click somewhere in phone and open other apps ..
in logcat i found these intent and classes and i want a good way like kill process or force stop to close that dialog using ADB.
com.android.contacts; [ ClassName: android.widget.TextView ]
com.android.contacts/com.android.contacts.activities.DialtactsActivity
com.android.phone.MMIDialogActivity
(without root if possible)