Exception on getSystemService(Context.AUDIO_SERVICE)

后端 未结 5 778
渐次进展
渐次进展 2021-01-16 14:39

I wanted to create an app that drops an incoming call based on some settings, that seems to be impossible on Android 1.6. So I decided to write an app that changes the Ringe

5条回答
  •  有刺的猬
    2021-01-16 15:15

    E/AndroidRuntime( 356): Uncaught handler: thread main exiting due to uncaught exception

    The first thing I'd do is surround the code in ManageIncomingCall() with a try/catch block. It might at least give an explanation as to what is going on.

提交回复
热议问题