1

Want to have the app answer a call without any user intervention.

I have this working in Lollipop based on this post :

How can incoming calls be answered programmatically in Android 5.0 (Lollipop)?

But it isn't working on a 6.0 device.

Does anyone have a solution that is working for Marshmallow?

Thanks.

Community
  • 1
  • 1
Steven K
  • 393
  • 3
  • 12
  • I think you might have forgotten the permissions. You have to ask for them at runtime in Android 6+. Just to test it you can go to settings in your phone and find your app and allow the setting manually to test it. – just_user Dec 16 '16 at 15:26
  • I am targeting 5.0 when building so permissions still handled at install time even when running on 6.0. thx. – Steven K Dec 16 '16 at 19:28

0 Answers0