![]() ![]() But before the system will let you know about any call, the user must first choose your app as the default Phone app, and you need to make it available to him as such. One is to implement an InCallService that Android will use to notify you about events related to the calls. There are two steps an app has to make to show its own UI during an ongoing call. Per the requirements in the Android Compatibility Definition Document (CDD) (section 7.4.1.2), you should ensure your dialer/phone app displays these call log entries and shows the name of the 3P calling app where the call originated (for an example of how the AOSP dialer app meets this requirement, see Call log entries from 3P calling apps). This app uses minSdkVersion 23, because that's when the APIs supporting this were added. ![]() It was created to address the lack of good documentation, evidenced by multiple questions on stackoverflow (1), (2). This project shows the absolute minimum an Android Phone app needs to implement to replace the native phone app and provide the UI when making calls. This is converted from Kotlin to Java version of Arek Olek's project
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |