02-09-2010 01:35 AM
I would like to consult you guys about this proof of concept idea:
Auto answering / rejecting an incoming call without user action (touch / press key)
A user initial a phone call with call-back function (calling card, etc), when it receive the callback call, it automatically answer it.
Is this possible in BlackBerry?
This should be running in background, but there is also a foreground app allowing user to change settings of the app.
I know I could use PhoneListener - callIncoming(int) to capture the event, but I wonder if I could answer / reject the phone by code after receiving the incoming call event.
I also searched about Key Stroke Injection but I could not test it by now. So I would like to ask here.
02-09-2010 04:37 AM
prior to 4.5(?) it was possible to end calls using menu item execution. afterwards only event injection works.
02-09-2010 10:02 AM
yes, you inject the accept key
03-10-2010 01:55 AM
I have trying aunswering call using eventinjector on device, on emulator its working fine. but call is not getting picked up.. I am able to disconnect the call on device.
reference thread :
Please comment on this.
03-10-2010 04:52 AM
You have to set the application permission settings to allow event injection. Go to settings->applications->permission and set it to allow all.
You can also do this programatically by prompting the user.