Questions tagged as 'broadcastreceiver'

0
answers

Send data from BroadcastReceiver to unintentional main activity

How I am new, I have the following problem in android studio. I want to identify an incoming call number that is displayed in the main activity, I am using BroadcastReceiver to detect the incoming number. Code where I use BroadcastReceiver that...
asked by 28.07.2017 / 19:33
1
answer

Register and cancel BroadcastReceiver listening on a fragment of Android

I want to start detecting connectivity with a BroadcastReceiver I want to do it in a fragment when it's on screen. In what methods is it the best to record and in which to remove it but contemplating the following? Scenario where th...
asked by 10.05.2017 / 13:58