title: Modify android internal class(es) / Call Handling
body: <p>Since the whole Android stuff is open source I was thinking about to do some minor modifications in a few internal classes from the <strong>com.android.internal.telephony</strong> package and of course then I would love if somehow my application could use the modified classes. I was thinking about replacing the classes with the original ones at <em>runtime</em> by using reflection or other kind of unknown java tricks :D ...maybe what I'm trying to do is impossible :( I don't know that's why I'm asking.  </p>
  
  <p>Note: The changes in the internal classes would not change their functionality in any way, its more about extending their functionality so even if other apps would use the modified versions it would not break them!</p>
  
  <p>Why I want to do it? What I'm trying to achieve ? 
  Well i would like to modify the <strong>com.android.internal.telephony.gsm.CallTracker</strong> internal class so i could do proper <em>call handling</em> (call blocking etc..)
  Maybe if you know about another way how to do what I want to I would like to hear about it :)</p>
  
  <p>Note2: I know about the method when you handle the <strong>android.intent.action.PHONE_STATE</strong>, action , but its simply too late to react when this action is broadcasted. I'm really looking for a better solution even if that solution involve ugly hacks :) </p>
  
  <p>As always thanks for all your replies...   </p>