Lib for intercepting USSDThis application allow user to to query USSD code (such as send *112# to query post-paid billing of Mobifone/Vietnam) to the
Version
1.0.0
Package Name
com.hit.ussdlib
Category
Business Office
Size
256.31KB
Release Time
October 29, 2024
Lib for intercepting USSD
This application allow user to to query USSD code (such as send *112# to query post-paid billing of Mobifone/Vietnam) to the network and intercept the response (prevent displaying of default USSD response dialog of Android).
It's used as a library for CallLimit: https://play.google.com/store/apps/details?id=com.hit.calllimit
-------------------------------------------------
For developer who want to do the USSD intercepting as above:
1. Install this app
2. Restart the phone
3. Send a broadcast intent:
Intent ussdIntent = new Intent("SEND_UC_USSD_WITH_RESULT");
ussdIntent.putExtra(USSD_NUMBER, number);
4. Register a receiver with action: "com.hit.ussdlib.service.USSD_RESPONSE_ACTION"
5. Get the response: String response = intent.getStringExtra("com.hit.ussdlib.service.message");
-------------------------------------------------