Make USSD call in android

后端 未结 7 1153
南旧
南旧 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:50

    You can use this code. It works for me:

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

提交回复
热议问题