Welefon app
Welefon is a Phone App that is simple and modern at the same time. You can dial numbers and receive calls. It does not do anything you do not need, e.g. provide a contact list that your system contact App alrady contains.The special feature of Welefon is an API that allows a seamlessly integration of other apps in your phone experience. The Welefon source code contains an example App that uses the API in the folder apidemoapp.
Using this API, other Apps can receive details about the current calls. Like the deprecated PhoneStateListener of Android, this contains the phone number. In contrast to the PhoneStateListener, you do not need to fear the removal of the API. Additionally, Welefon includes details of calls in the background, e.g. calls that are in the state "hold".
Welefon can receive additional caller details from other Apps. This can be a caller name, a caller details action and a RemoteView. The received caller name is shown as you expect it, completly independent of the system contact list. If a detail action is provided, then you can tap on the name to jump directly to the right place in the other App.
The RemoteViews are the method that allows Widgets on your homescreen. The same method can be used to show additional details and controls in the call screen. This allows showing any extra details.
Of course this is safe and secure: The Welefon API can only be used with your permission.