ussd

Calling a USSD number without opening the phone app in Android

你说的曾经没有我的故事 提交于 2019-12-08 01:28:42
问题 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. 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. any suggestions? 回答1: Fortunately, this is not possible,

Sending USSD code programmatically dials Skype instead of normal phone call

浪尽此生 提交于 2019-12-06 15:34:06
When running this String ussdCode = "*" + "100" + Uri.encode("#"); startActivity(new Intent("android.intent.action.CALL", Uri.parse("tel:" + ussdCode))); I expect a normal phone call to be done, but instead of that Skype go to front and make the call for *100# USSD code. I logged out from Skype and it sill brings Skype to front!. How to force it to use the normal phone call instead of Skype? Thats because you have Skype as the default application for calls. This is a device configuration. You can change it, but note that if you does, it will actualy change that configation, so skype wont be

How to read USSD Message response in android

让人想犯罪 __ 提交于 2019-12-06 11:21:46
i want to store my balance in sqlite database i am successfully dial the USSD String balance_check="*444"; String encodedHash = Uri.encode("#"); String ussd = balance_check + encodedHash; startActivityForResult(new Intent("android.intent.action.CALL",Uri.parse("tel:" + ussd)), 1); Here is onActivityResult function @Override protected void onActivityResult(int requestCode, int resultCode, Intent data) { super.onActivityResult(requestCode, resultCode, data); if (requestCode == 1) { if (resultCode == RESULT_OK) { String dd = data.toString(); Log.d("myussdmessage", data.toString());}} but I cannot

Android - Navigating through USSD menu using pre-determined inputs sent via requests

佐手、 提交于 2019-12-06 07:45:56
I am planning to create an Android App that will automate sending a users response to a USSD Menu. At a click of a button, the app will send the initial code, followed by the rest of the menu inputs. For example, the initial number is *143#, followed by 1, 1, 1, and a user PIN. I'd like to be able to automate that sequence of inputs so that the user won't have to input it on their own. I know that in Android Oreo, they implemented a USSD Callback using the TelephonyManager, where the Android App can send a USSD Request, and then read the response given. I am currently exploring that option and

Sending sms and ussd in a C#.net application [closed]

£可爱£侵袭症+ 提交于 2019-12-05 17:06:15
Closed. This question is off-topic . It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 6 years ago . What is a good library to use to utilize sms and ussd services in a C#.net application? I am currently using this one http://www.smsco.it/tomcat/en/sms_tutorials/sms_from_c_sharp.jsp for SMS and it's working fine! MessagingToolkit is supposed to be good. I've never used it myself though, so I can't vouch for it. You can find out more at http://platform.twit88.com . 来源: https://stackoverflow.com/questions/9927511

How to write a AT+CUSD ussd command to support maximum handsets

浪尽此生 提交于 2019-12-05 12:03:24
I am facing an issue related to AT+CUSD command. On some Gsm modems, this command expects three parameters while on the others, it expects just two parameters. Moreover, different values of those parameters. I want to know that, how can I configure the Gsm modem so that this command can be executed in a uniform way on most Gsm modems. Forexample: On Nokia c6-01 , the cusd command is executed successfully only in this way: AT+CUSD=1,"*123#",15 Whereas on Sony Ericsson K750: AT+CUSD=1,"*123#" It gives an error if I give a third parameter. hlovdal The command is defined in 27.007 , and the syntax

Is there a standard USSD string I can use to test a random USSD gateway?

牧云@^-^@ 提交于 2019-12-04 15:12:30
I am developing an application that sends a USSD message to a USSD gateway. However, I do not have an account for the carrier owner of the gateway yet. Still, I have some other accounts and I would like to test if my USSD codding is fine. In that sense, is there a standard USSD command I can send and be understandable and answered by any USSD gateway regardless of the operator? If so, which one(s)? As you probably know, USSD stands for Unstructured Supplementary Services Data, and the structure of the messages is defined by individual operators. A quick glance at the 3GPP protocol test spec 34

How to interact with USSD dialog programmatically in android

柔情痞子 提交于 2019-12-04 13:28:08
问题 I want to use USSD dialog which comes after dialing any USSD code say *123# which asks user to enter option number to perform specific task(s) depending upon sim card vendors. I need to interact with that dialog to provide input in the text box given into it programmatically. However, I am able to read the USSD response that comes in Alert Dialog after dialing any USSD code, using AccessibilityService and I'm showing the response in a Toast as shown in the code below. I haven't found any

how to get balance by USSD commands?

ε祈祈猫儿з 提交于 2019-12-04 10:24:23
I have tired to search how to send USSD command on Google. I want to check may balance from operator. All of the samples I have seen use commands like this: "AT+CUSD=1,\"*140*1#\"\r\n"; It seems to be correct. I am using something like this that I think works. I have a D-Link GSM modem, and when I send this command using it, it makes some noise on my speaker, which I believe tells me something happened. my modem have it's own windows application when i disconnected modem by my own application,i check it by modem's application and in USSD tab i can found the result of my commands that i sent by