Comments (6)
@romellfudi , any help please ?
from voipussd.
My best recommendation is to custom your flow owing to your SIM-TELCOM.
HOW?
- download my repo
- copy the USSD module (java or kotlin)
- attach the module into your project, and debug USSDSERVICE class
- As your needs, you will change the conditions. It's not a rocket launcher.
from voipussd.
Another scenario is If you dialed a USSD code manually waiting for a response , and using the package to dial another USSD while the last one is still on the screen, the dialog of the manual one wll still be on the screen, sometimes the one dialed using package will take the response as its response or wont even dial at all.
Is there anyway to clear the USSD dialog before dialing a new one ?
i tried the ussdAPI.cancel() , it isnt helping
from voipussd.
Please record a video and send your USSDSERVICE LOG
from voipussd.
unfortunately , the screnario only happens once in a while (when the network provider service isnt stable). BUT
i am dialing the USD from a service, is there any way i can ensure the screen is always clear (not containing any system dialog) before i run the USSD , i have tried many method , it didnt work
from voipussd.
i managed to to get the USSDService log but not the video :
the below log is for a recursive USSD code, it stopped at a point when it is not over and the dialog is still showing :
2021-07-24 15:27:02.224 23736-23736/com.romellfudi.ussd.demo D/USSDService: onAccessibilityEvent
2021-07-24 15:27:02.231 23736-23736/com.romellfudi.ussd.demo D/USSDService: onAccessibilityEvent: [type] 32 [class] android.widget.FrameLayout [package] com.android.phone [time] 32500668 [text] []
2021-07-24 15:27:02.303 23736-23736/com.romellfudi.ussd.demo D/USSDService: onAccessibilityEvent
2021-07-24 15:27:02.589 23736-23736/com.romellfudi.ussd.demo D/USSDService: onAccessibilityEvent: [type] 32 [class] android.app.ProgressDialog [package] com.android.phone [time] 32500855 [text] [USSD code running…]
2021-07-24 15:27:03.130 23736-23736/com.romellfudi.ussd.demo D/USSDService: onAccessibilityEvent
2021-07-24 15:27:03.141 23736-23736/com.romellfudi.ussd.demo D/USSDService: onAccessibilityEvent: [type] 32 [class] com.android.phone.MMIDialogActivity [package] com.android.phone [time] 32501183 [text] [Phone Services]
2021-07-24 15:27:06.699 23736-23736/com.romellfudi.ussd.demo D/USSDService: onAccessibilityEvent
2021-07-24 15:27:06.707 23736-23736/com.romellfudi.ussd.demo D/USSDService: onAccessibilityEvent: [type] 32 [class] android.app.AlertDialog [package] com.android.phone [time] 32505285 [text] [1.Account Info
2.Tariff Plan Migration
3.Data Services
4.Roaming & Int'l Offers
5.My Services
6.XtraTime
7.Self Services
8.More
Enter 1,2,3..7 to proceed, CANCEL, SEND]
2021-07-24 15:27:09.798 23736-23736/com.romellfudi.ussd.demo D/USSDService: onAccessibilityEvent
2021-07-24 15:27:09.806 23736-23736/com.romellfudi.ussd.demo D/USSDService: onAccessibilityEvent: [type] 32 [class] android.app.AlertDialog [package] com.android.phone [time] 32508379 [text] [My Tools
1.My Number
2.My tariff plan
3.My Account balance
4.My Data Balance
5.End of call Message
6. Sim Registration Status
7. Purchase History
0.Back, CANCEL, SEND]
2021-07-24 15:27:12.827 23736-23736/com.romellfudi.ussd.demo D/USSDService: onAccessibilityEvent
2021-07-24 15:27:12.832 23736-23736/com.romellfudi.ussd.demo D/USSDService: onAccessibilityEvent: [type] 32 [class] android.app.AlertDialog [package] com.android.phone [time] 32511407 [text] [1.Account Info
2.Tariff Plan Migration
3.Data Services
4.Roaming & Int'l Offers
5.My Services
6.XtraTime
7.Self Services
8.More
Enter 1,2,3..7 to proceed, CANCEL, SEND]
2021-07-24 15:27:15.929 23736-23736/com.romellfudi.ussd.demo D/USSDService: onAccessibilityEvent
2021-07-24 15:27:15.936 23736-23736/com.romellfudi.ussd.demo D/USSDService: onAccessibilityEvent: [type] 32 [class] android.app.AlertDialog [package] com.android.phone [time] 32514514 [text] [My Tools
1.My Number
2.My tariff plan
3.My Account balance
4.My Data Balance
5.End of call Message
6. Sim Registration Status
7. Purchase History
0.Back, CANCEL, SEND]
when the dialog is still showing from the previous USSD, i sent another USSD with different code to dial and below is its USSDService log
2021-07-24 15:31:22.192 23736-23736/com.romellfudi.ussd.demo D/USSDService: onAccessibilityEvent
2021-07-24 15:31:22.221 23736-23736/com.romellfudi.ussd.demo D/USSDService: onAccessibilityEvent: [type] 32 [class] android.widget.FrameLayout [package] com.android.phone [time] 32760747 [text] []
2021-07-24 15:31:22.461 23736-23736/com.romellfudi.ussd.demo D/USSDService: onAccessibilityEvent
2021-07-24 15:31:22.465 23736-23736/com.romellfudi.ussd.demo D/USSDService: onAccessibilityEvent: [type] 32 [class] android.app.ProgressDialog [package] com.android.phone [time] 32761029 [text] [USSD code running…]
2021-07-24 15:31:22.562 23736-23736/com.romellfudi.ussd.demo D/USSDService: onAccessibilityEvent
2021-07-24 15:31:22.570 23736-23736/com.romellfudi.ussd.demo D/USSDService: onAccessibilityEvent: [type] 32 [class] com.android.phone.MMIDialogActivity [package] com.android.phone [time] 32761117 [text] [Phone Services]
2021-07-24 15:31:51.004 23736-23736/com.romellfudi.ussd.demo D/USSDService: onAccessibilityEvent
2021-07-24 15:31:51.012 23736-23736/com.romellfudi.ussd.demo D/USSDService: onAccessibilityEvent: [type] 32 [class] android.app.AlertDialog [package] com.android.phone [time] 32789588 [text] [Your Main balance is :6108.16.Recharge N1000 with 888PIN# & get N5000., OK]
2021-07-24 15:31:51.300 23736-23736/com.romellfudi.ussd.demo D/USSDService: onAccessibilityEvent
2021-07-24 15:31:51.302 23736-23736/com.romellfudi.ussd.demo D/USSDService: onAccessibilityEvent: [type] 32 [class] android.app.AlertDialog [package] com.android.phone [time] 32789804 [text] [My Tools
1.My Number
2.My tariff plan
3.My Account balance
4.My Data Balance
5.End of call Message
6. Sim Registration Status
7. Purchase History
0.Back, CANCEL, SEND]
did you see how its taking the response of the previous USSD code dialed while its own response is still within ??
this happen and the dialog from the previous USSD is still showing even after dialing the second USSD
from voipussd.
Related Issues (20)
- [VoIpUSSD] Automated Upgrade HOT 1
- Lokk HOT 1
- Improvement of installation documentation HOT 3
- Interaction
- how to click a button HOT 2
- cancel() method doesn't seem to work HOT 6
- My app doesn't launches with flutter and platform channel
- Detecting failed HOT 3
- Cancel should set the `isRunning` flag to `false` HOT 3
- Not working in Android 13 HOT 2
- android:notificationTimeout 0 causes miss in events HOT 4
- Samsung with Android 14 USSD issue HOT 3
- Following the popup HOT 1
- Detect if a USSD is currently running HOT 11
- [VoIpUSSD] Automated Upgrade HOT 1
- Final USSD dialog message showing on top of Splash Screen HOT 13
- USSD Request throwing Exception HOT 6
- Ussd stop at first step HOT 9
- how to make instance in kotlin ? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from voipussd.