ussd

Android USSD which sim receive a ussd message or which sim slot receives a ussd message (dual sim phone)

风格不统一 提交于 2019-12-03 22:41:00
I am able to capture the incoming ussd message, but how to compare the incoming ussd message in case of dual sim phone? If I receive a ussd message alert how can I know that the incoming ussd message is for which sim? Started with Wikipedia for staring info, not much. Found out there was / is a security (pdf warning) problem with it. Then jackpot: specks (pdf warning). As I scimmed it, I don't think you will find the info you want in the USSD message itself. It is probably somewhere in the handshake before that. But did not find it. tldr: it's not in the USSD message itself. 来源: https:/

SMSLib example for interactive USSD session

对着背影说爱祢 提交于 2019-12-03 21:17:16
I have a USSD application that provides an interactive session for users, for example: User> Dial USSD Shortcode Serv> Return Main Menu User> Select Option 1, e.g. "View Movie Times" Serv> Return List of Cities User> Select Option 3, e.g. Mumbai Serv> Return List of Cinemas User> etc ... I would like to test the USSD Server by using SMSLib to simulate the user. Are there any example SMSLib code snippets that show how to perform an interactive USSD session with a USSD server? Chris Snow The code at this link gives an example of sending and receiving USSD data using smslib: // SendUSSD.java -

sending USSD in C#?

让人想犯罪 __ 提交于 2019-12-03 16:41:47
I want to write a simple c# application runs on windows mobile 6 which can send USSD messages Is there any library that could help me in doing this?? or is there any examples that explains how to use lineSendUSSD thanks You have to P/Invoke to access the phones TAPI functions. Have a look at this thread: Windows Mobile Developer Center 来源: https://stackoverflow.com/questions/1725860/sending-ussd-in-c

How to interact with USSD dialog programmatically in android

£可爱£侵袭症+ 提交于 2019-12-03 09:12:58
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 solution to interact with USSD dialog yet. public class UssdService extends AccessibilityService{ public

What is required to send messages via USSD? [closed]

半城伤御伤魂 提交于 2019-12-03 04:16:54
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 6 years ago . I'm trying to get started with USSD . I'm familiar with other forms of SMS . Ultimately i want to use USSD as part of a real-time

USSD INTERFACE -> java web app communication

早过忘川 提交于 2019-12-03 03:58:43
Need a few infos please regarding the communication of a Java web application via USSD interface! we need to implement that to reach our target customer base in poorer communities with low end phones. I am looking into USSD, as a way to communicate with our current Java EE web application. I believe that I have understood how i can construct a menu in USSD (via XML and certain parameters / tags.) However, I am not sure how to give a response. I only started reading up on it yesterday but find a lot of info which Google finds useless. Our current web app has web services set up. I imagine that

Is it possible to read the call cost history from dialogue raised after ending the prepaid call?

亡梦爱人 提交于 2019-12-02 18:29:54
Is there a possibility of handling the data displayed on call cost dialogue received by prepaid user. I want to save all the balance reduction for along with call duration in my sqlite db. As we learn from the already famous blog post As a start, look at the PhoneUtils class in the Android source code. [...] Specifically, looking at line 217, an intent with the name “com.android.ussd.IExtendedNetworkService” is being composed. So what you need to do is implement your own service that responds to that intent . The service needs to be implemented according to the IExtendedNetworkService.aidl

The dialer is not showing full ussd code eg: *123*1#

只愿长相守 提交于 2019-12-02 04:03:41
问题 I am using the url_launcher plugin for call, but the dialer is not showing the # character: String url = 'tel:*123#'; if (await canLaunch(url)) { await launch(url); } else { throw 'Could not launch $url'; } 回答1: You need to use URL encoding for special character in a URL. So # equals %23 This will work launch('tel:\*123\%23'); Other Way is to encode the number typed by user and pass it through Uri.encodeFull(urlString ) or Uri.encodeComponent(urlString) Like this. launch("tel:" + Uri

Send USSD code to modem in C# and ERROR in return always

社会主义新天地 提交于 2019-12-02 02:55:20
问题 I am sending USSD code on modem through serial port. But always it is giving ERROR in response. AT commands I am sending are: in sequence: serialPort.Write("AT+CMGF=0" + "\r\n"); serialPort.Write("AT+CUSD=1,\"*135#\"" + "\r\n"); when I am configuring message format in first AT command, it is giving 'OK' response. But on sending USSD code, response is always 'ERROR'. Why is it so? 回答1: Don't use \n in end of command, use only \r . Form of CUSD command is: AT+CUSD=1,"*135#",15 . In C# it should

The dialer is not showing full ussd code eg: *123*1#

ぃ、小莉子 提交于 2019-12-02 00:34:01
I am using the url_launcher plugin for call, but the dialer is not showing the # character: String url = 'tel:*123#'; if (await canLaunch(url)) { await launch(url); } else { throw 'Could not launch $url'; } You need to use URL encoding for special character in a URL. So # equals %23 This will work launch('tel:\*123\%23'); Other Way is to encode the number typed by user and pass it through Uri.encodeFull(urlString ) or Uri.encodeComponent(urlString) Like this. launch("tel:" + Uri.encodeComponent('*123#')); 来源: https://stackoverflow.com/questions/53863850/the-dialer-is-not-showing-full-ussd-code