I'm also trying this, but whenever I try to do telecomManager.registerPhoneAccount() I get the exception:
Package [se.example.myapplication] does not belong to 10145. I have declared the service in AndroidManifest.xml exactly as above. Is there something else I'm missing? I see that BIND_TELECOM_CONNECTION_SERVICE, has protection level: signature|privilege: https://developer.android.com/reference/android/Manifest.permission.html#BIND_TELECOM_CONNECTION_SERVICE could this have something to do with the SecurityException I'm getting? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/android-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/android-developers/213bcafd-e00c-4cc3-869b-3e98dfa60750%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

