I am trying to grab the "incoming_number" of an incoming phone call. I searched and found this post, but it's outdated and I can't seem to get this to work with Google's latest version of Android (4.0.3).
After reading the other post it seems that the easiest (and possibly only) way to trigger that a call is coming in is to set a BroadcastReceiver that reacts based on the PhoneStateListener, mentioned by: John Feminella.
When I set this up the same way it is displayed in the post by jakob the debugger never drops into the onCallStateChanged() method, and I have made the modifications that were mentioned in the remarks in jakob's post.. (onCallStateChange"d"())
However, I still am getting no luck and I figured that this method of grabbing the incoming_number has been deprecated and not working in ICS (4.0.3). Are there any other conventional or semi-conventional ways to achieve this?