Is there a way to to create a custom answering machine in android?

I’d like to create an app that allow you to filter incoming call to various answering message with :

  • “this number is not available” for black listed phone numbers
  • A formal message for strangers
  • A informative message about what your doing for friends

I don’t know how you can get automatically a call, play a recorded message then wait for the answer and record it. Or maybe there is just a way to interact with the actual answering system so I just have to plugin.

Any clue strongly appreciated. A human sacrifice for any code snippet 🙂

Answer

Access to the internal telephony is not possible or planned for future releases of Android:

http://groups.google.com/group/android-developers/browse_thread/thread/e8904c82a2c4a333

This would present a security risk as app developers could intercept and hijack sensitive calls (eg. telephone banking)