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
Post a Comment