I have a BlackBerry app running in the background that needs to know when a “Missed call” system dialog is brought up by the system, and programmatically close it without user intervention. How can I do that?
I could actually almost know when the dialog is brought up, i.e. a little later I programmatically end the call…but how can I get a reference to the dialog, and close it?
Key press injection for device Close button looks like this:
Don’t forget to set permissions for device release:
Options => Advanced Options => Applications => [Your Application] =>Edit Default permissions =>Interactions =>key stroke Injection
May be useful:
BlackBerry – Simulate a KeyPress event
Code sample: