Hi all.
I am following up on a previous message about answering a call and someone provided some links.
One of the links had the following code:
Intent i = new Intent(Intent.ACTION_MEDIA_BUTTON);
KeyEvent event =new KeyEvent(KeyEvent.ACTION_DOWN,KeyEvent.KEYCODE_HEADSETHOOK); i.putExtra(Intent.EXTRA_KEY_EVENT, event ); context.sendOrderedBroadcast(i, null);
Only problem is, I am not sure how to convert this to B4A...well I can do the Intent part.......but the keyevent stuff I am not sure of.
Anyone able to help?
Jeremy