I use addnewIncomingCall as shown below to display the incoming call ui screen
Bundle callInfo = new Bundle();
tm.addNewIncomingCall(handle, callInfo);
I also use
connection.setAddress(Uri.parse("David561"), TelecomManager.PRESENTATION_ALLOWED);
to change the caller id
The problem is that when I check call history on the actual phone (not app) I see 561 instead of David561 as shown below:
I even tried calling
connection.setCallerDisplayName("David561",TelecomManager.PRESENTATION_ALLOWED);
without any luck. It strips the letters and only keeps the number. I tried creating a contact for the phone number 561 and setting the name to David, and it actually shows up as David in the call history. But I don't want the user to have to create a contact. Is what I'm trying to achieve possible? If not, that's okay. I just want to confirm that it's not possible to get names to appear in the call history using TelecomManager and ConnectionService.

