So, I added the receiver (contained in application) in the manifest

<receiver android:name="mypkg.IncomingCallReceiver">
                <intent-filter><action
android:name="android.telephony.TelephonyManager.ACTION_PHONE_STATE_CHANGED"/
> </intent-filter>
</receiver>


I gave the readphone state permission

    <uses-permission
android:name="android.permission.READ_PHONE_STATE"/>


But the onReceive method of my receiver is never called, using a real
device (hero) or the emulator.

Am I missing something? This is driving me mad.

Thanks,

     Federico

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to