Pau*_* T. 5 android phone-call
我是 Android 开发的新手(例如我知道在 iOS 中这是不可能的)。
我知道,我只需要打电话:
Intent intent = new Intent(Intent.ACTION_CALL);
intent.setData(Uri.parse("tel:" + bundle.getString("mobilePhone")));
context.startActivity(intent);
Run Code Online (Sandbox Code Playgroud)
但是是否可以拨打电话 xxxxxxxxx 然后其他用户应该听到语音文件而不是语音(例如放置在我的 Android 项目中的 mp3 文件)?所以应用程序的唯一任务是拨打一个号码,播放一个文件,然后停止通话。
安卓可以吗?
| 归档时间: |
|
| 查看次数: |
1980 次 |
| 最近记录: |