Android, TelephonyManager, the joys of PhoneStateListener and incoming numbers
问题 I've very newly gotten into Android development, and decided that my first conquest on this fresh field would be to grasp how the phone reacted to incoming calls. A little googling later led me to http://www.compiletimeerror.com/2013/08/android-call-state-listener-example.html#.Vi3Ren4vfwM (so my code shares a striking resemblance to his/hers). My main (and only) activity looks like this: import android.app.Activity; import android.content.Context; import android.os.Bundle; import android