0

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)

3
  • What about using back button or home button keyevent?
    – Firelord
    Mar 26, 2022 at 17:14
  • it doesn't close the AlertDialog , (also i don't want use touch screen x and y)
    – DrGoogle
    Mar 26, 2022 at 17:43
  • I think Firelord was talking about key events like they are generated by USB/Bluetooth hardware keyboards, not touch events.
    – Robert
    Mar 27, 2022 at 10:58

0

You must log in to answer this question.

Browse other questions tagged .