Android: register new PhoneAccount for telecom
问题 I'm trying to make a new PhoneAccount to use my implementation of ConnectionService. In the documentation it says I need to register a new PhoneAccount with TelecomManager and then select it in my phone-app's settings. Here's my code: TelecomManager telecomManager = (TelecomManager) getSystemService(Context.TELECOM_SERVICE); ComponentName componentName = newComponentName("se.example.connectionservicestandalonetest", "se.example.connectionservicestandalonetest.MyConnectionService");