Ted, You probably cannot I did research on this for a potential startup its not possible currently
Fred Grott http://mobilebytes.wordpress.com On Jul 16, 5:12 am, Ted Chien <[email protected]> wrote: > However, com.android.phone is an system class and will be the first > class to be loaded in the phone (before the home screen is been > loaded). That means it's in firmware. If you want to change any screen > in it, you need to change the firmware, as other people stated. > > I don't know if you can write your own phone class in the phone. If > it's been allowed in the Android system, when the phone is booting up, > it might prompt a screen to ask you if you want to use your own phone > class as the default class to replace com.android.phone. But to write > (and maintain) your own phone class would be a big task to do. If you > still wish to do so, I would say good luck. > > If what I wrote here is not correct, please correct me. :) > > Regards. > > On 7月16日, 下午6時02分, Ted Chien <[email protected]> wrote: > > > 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 -~----------~----~----~----~------~----~------~--~---

