Android: TelephonyManager.listen() callback not being called -


i installed call state listener on telephonymanager recognise if call outgoing. if manually start phone call callback being triggered. good. if start phone call program(same program contains callback listener) not triggered. why? (the call being established successfully) code starting call:

uri call = uri.parse("tel:" + number); intent intent = new intent(intent.action_call, call); context.startactivity(intent);

p.s.: necessary permissions set in manifest, off course. otherwise wouldn't work in manual scenario.


Comments

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -