I Have two question:
- It's possibile to display a dia开发者_如何学JAVAlog over the sceen incoming call (when the phone rings)?
- It's possibile to know when the phone rings for an incoming call? (Is there an action?)
Yes you can do that. Follow this link:
Android: Taking complete control of phone(kiosk mode), is it possible? How?
It's possible to dispaly a dialog over the screen incoming call
When you get the event of the incoming call
you need to startactivity()
which you want to display but you need to do it after a little delay
else the the default screen will override your screen. Once the default screen comes, you should call your screen. The delay will be between 500 - 1000 ms
, this you need to test at your end.
精彩评论