Recording calls in android why this not works
问题 I am starting a service from MainActivity, which run indefinitely looking for incoming and outgoing calls to record. Why is that the sample "switch-case" doesn't work? No error occurs but I can record only each of incoming and outgoing. The service is killed after recording the call, it will be recreated START_STICKY but never going to get started. Please help. Thanks in advance! Is there any other codes to record incoming and outgoing call in android? package com.exampled.demoserv; import