Is self-call possible using Android

廉价感情. 提交于 2019-12-11 14:22:16

问题


I am developing an android application where I need to have an IVR type system. The person should get a call from the application and some questions will be asked and the person has to answer those questions. These answers should be saved somewhere. Is a self call possible?

If not, is there a way to play and record at the same time. I will send a long ring notification to the user and when he responds to the notification, I want to play an mp3 file as well record what user is saying. How can I do that?


回答1:


Is a self call possible?

No, sorry.

I want to play an mp3 file as well record what user is saying. How can I do that?

Use MediaPlayer and MediaRecorder, presumably. Or AudioTrack and AudioRecord.



来源:https://stackoverflow.com/questions/3915816/is-self-call-possible-using-android

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!