broadcast incoming call?

learnandroid

Member
Jul 20, 2010
7
0
0
I have a strange behaviour of BroadcastReceiver when trying to listen
incoming call. I set up the BroadcastReceiver to listen to both
incoming calls and sms. The BroadcastReceiver run after the booting is
complete. When first i fake a call into the emulator, i can not catch
the call. I try again with sms and my Broadcastreceiver can catch the
sms correctly. I try again with the incoming call and now the
BroadcastReceiver works. I restart the emulator and try again. It
seems that i always have to fake a sms to trigger the
BroadcastReceiver. After that the BroadcastReceiver behaves correctly
as i want.

What did i do wrong?
 

Latest posts

Trending Posts

Forum statistics

Threads
956,489
Messages
6,968,523
Members
3,163,552
Latest member
itmoatmor44