调用USSD数而不在Android的开放手机应用程序 [英] Calling a USSD number without opening the phone app in Android

查看:133
本文介绍了调用USSD数而不在Android的开放手机应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想从我的应用程序是这样叫USSD号:

I am trying to call a USSD number from my application like this:

Uri u = Uri.fromParts("tel", "*110#", "");
Intent i = new Intent(Intent.ACTION_CALL, u);
startActivity(i);

这使得手机应用程序启动和呼叫的号码。

This makes the phone app launch and call the number.

我要的是拨打USSD号码,而无需打开手机应用程序或 atlease在后台打开它。

What I want is to call the USSD number without opening the phone app or atlease open it up in the background.

如果用户在做什么,那么他不应该受到干扰。只有通知必须产生的。

If the user is doing something, then he should not be disturbed. Only a notification must be generated.

有什么建议?

推荐答案

幸运的是,这是不可能的,除非是由你自己定制的固件。如果有可能,恶意软件会利用它来拨打电话,而用户的知识。

Fortunately, this is not possible, except perhaps by your own custom firmware. If it were possible, malware would exploit it to place phone calls without the user's knowledge.

这篇关于调用USSD数而不在Android的开放手机应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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