in /platform/packages/apps/Phone/src, check com/android/phone/
InCallScreen.java.

For listening to the phone change state, check com/android/phone/
CallNotifier.java.

Hope this helps.

On Jul 16, 11:37 am, Ivy <[email protected]> wrote:
> When a call in or out,what does the android do ?Get the changed state
> and turn to the default screen?
> Where is it in th source code?I cant find it ...In which class?
>
> On 7月16日, 上午9时33分, Jason Proctor <[email protected]>
> wrote:
>
>
>
> > if you bring up an Activity with UI when the phone state listener
> > goes off, the call UI appears on top of it. you can hit the back
> > button to get back to your Activity, but, again, there is no current
> > way to override the call UI.
>
> > you have to live with it for now.
>
> > >Could i just intercept the incoming and ourgoing calls then let my
> > >screen be top of the screen?
> > >Or i just need to listen the phone's state?
>
> > >I don't want to modify the firmware.That's really a huge work.I'm just
> > >learing Android for 10 days....
>
> > --
> > jason.software.particle
--~--~---------~--~----~------------~-------~--~----~
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