前锋呼吁在android系统语音邮件? [英] forward calls to voicemail in android?

查看:137
本文介绍了前锋呼吁在android系统语音邮件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是搜索和googleing这个话题超过2小时,但也许有什么毛病我的搜索,因为我没有找到任何东西。

I was searching and googleing this topic for more than 2 hours but maybe there's something wrong with my search, cuz i didnt find anything.

有人可以帮我在这?任何主题,教程,一块code的?

can somebody help me in this? any topic, tutorial, piece of code?

我要监控来电(我想我能做到这一点的一部分),并送他们中的一些语音信箱。我使用的是Android 8级平台2.2

I want to monitor incoming calls (I think I'll be able to do this part) and send some of them to voice mail. I'm using Android Level 8 platform 2.2

感谢...

推荐答案

您可以发送一些codeS激活呼叫转移到任意数量的网络运营水平,但可能不会在的所有在世界各地的运营商。

You can send some codes to activate call forwarding to any number at the network operator level, but might not work with ALL operators around the world.

这里检查 http://en.wikipedia.org/wiki/Call_forwarding

void sendCommand(String command){
    Intent intentCallForward = new Intent(Intent.ACTION_CALL);
    intentCallForward.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
    Uri uri = Uri.fromParts("tel", command, "#");
    intentCallForward.setData(uri);                                
    startActivity(intentCallForward);
}

然后转移呼叫

sendCommand("*21*001234567890#")

和删除呼叫转移

sendCommand("##21#")

您可以玩不同的codeS可能会满足您的需求更好地

You can play around with different codes that might suit your needs better

这篇关于前锋呼吁在android系统语音邮件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆