1

Every month I need to execute USSD-command. I want to automatize it. My idea is to write shell-script for SManager. I found two ways to make a call (tested from adb):

service call phone 2 s16 '*100#'

and

am start -a android.intent.action.CALL -d tel:*100#

But this commands call to *100# instead of execute ussd.

My Android is 4.2.2, rooted Cyanogen 10.1.3

0

replace # to %23, so:

service call phone 2 s16 '*100%23'

or

am start -a android.intent.action.CALL -d tel:*100%23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.