Let me be more specific. I am trying to record voice when somebody calls. ( When the phone is ringing! ) When I call to somebody it records. But when somebody calls me it doesnt :( How can I record voice when somebody calls me?
On Apr 20, 8:30 pm, John Doe <[email protected]> wrote: > Hi everybody. > > I am writing a service which listens an incoming call. I have a > function but it behaves differently under these cases > > when i call the function in case > case TelephonyManager.CALL_STATE_OFFHOOK: > > it works! > > when I call the same function in case > case TelephonyManager.CALL_STATE_RINGING: > > it doesnt work. > > it seems that when an incoming call happens the system blocks some > components. what should I do to prevent from this situation. Should I > move my calculation to a background thread? Does it work in that way ? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

