Replacing in call app

前端 未结 2 1328
后悔当初
后悔当初 2020-12-13 14:19

Background

I\'m trying to develop a really simple in call app to replace the stock version. Basically, I just want to answer incoming calls and present the user wi

2条回答
  •  春和景丽
    2020-12-13 14:56

    According to the docs and as you comment yourself, you need to add this in your manifest:

    
          
          
              
          
     
    

    android:name must be replaced by the class that implements this service.


     
          
               
               
          
     
    

    android:name must be replaced by the class that implements the main activity for your own dialer implementation.

    Here you can find more information about this: https://developer.android.com/guide/topics/connectivity/telecom/selfManaged

    And here's a sample project that you can use as a guide: https://github.com/arekolek/simple-phone

    And this: https://stackoverflow.com/a/49835987/1916449

提交回复
热议问题