Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

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 :-)

like image 430
e-satis Avatar asked Dec 31 '22 00:12

e-satis


2 Answers

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)

like image 178
HaveAGuess Avatar answered May 08 '23 16:05

HaveAGuess


This is not possible on the tmobile G1 at this time. There is no way for an android SDK application to access the call input or output on this hardware/firmware combination.

http://groups.google.com/group/android-developers/browse_thread/thread/d04c307973345fef/a628e578900b3dce?lnk=gst&q=dave+sparks+play+audio#a628e578900b3dce

and

http://groups.google.com/group/android-developers/browse_thread/thread/185e33a3f420d1ac/e14e1dc84bb6dd24?lnk=gst&q=play+sound+call#e14e1dc84bb6dd24

like image 29
dar Avatar answered May 08 '23 15:05

dar