Make USSD call in android

后端 未结 7 1150
南旧
南旧 2020-12-03 07:58

To check the balance first i have to make a call *xxx# and then i get a response with the multiple options to choose from and after i input the particular n

7条回答
  •  执笔经年
    2020-12-03 08:40

    Try this, I did not test it, but should work.

    Intent intent = new Intent(Intent.ACTION_CALL, Uri.parse("tel:" + Uri.encode("*3282#")));
    startActivity(intent);
    

提交回复
热议问题