Android Modifying in-call screen via AOSP
Asked Answered
B

2

8

I've read elsewhere that “Developers cant customize the in-call screen because of security concerns”

So, I am trying to understand the functionality of the in-call screen at the source level.

Can any Android devs, especially those that have created their own custom ROMs, tell me which specific classes in the AOSP are responsible for both display and functionality of this screen?

Barricade answered 26/1, 2014 at 20:25 Comment(0)
L
3

Take a look at the source:(from the horse's mouth):
https://code.google.com/p/incomingcallplus/source/checkout
Esp. the BETA Version 0.8.0

By the way, if you are interested in some R&D, I have worked towards this so I know we can access PhoneStateListener and get the status of a call for off the hook, idle and ringing. https://web.archive.org/web/20210127130519/http://www.tutorialforandroid.com/2009/01/get-phone-state-when-someone-is-calling_22.html

Also, Android: How to customize income call screen

La answered 3/2, 2014 at 10:2 Comment(3)
Thanks for the info. So in beta and on code.google.com but not open source?Barricade
They must be reaching that level of abstraction where a call like set content view would customize layouts of the incoming call time too :)La
Sorry but this doesn't work on Nexus5 running KitKat. On incoming call the incoming call screen still appears.Barricade
P
0

This may be a bit late but right now Android support for custom in-call screen by implementing InCallService. The application needs to be set as the default dialer to make it work. For more info https://developer.android.com/reference/android/telecom/InCallService.html

Postnasal answered 6/3, 2018 at 20:22 Comment(1)

© 2022 - 2024 — McMap. All rights reserved.