I have created a simple app (using phonelistener) which listens for an incoming call and when one comes, the app dials another number. Now how do I go about joining the two numbers programmatically (Not manually, for I know how to do it manually) so as to establish a conference call?
e.g. Incoming call number - 092098
Dialled number - 447767
Consider EventInjector and inject keyboard events when it is necessary.
It will emulate user keyboard input and do what you want.
Make sure you have requested and set relevant permissions at the application startup. Otherwise EventInjector
won't work.