1

我的问题是当我尝试使用 Action_Call 意图拨打电话时,应用程序崩溃并退出到菜单。我已经在许多其他设备上测试了我的代码,它运行良好!问题是什么?这是我的代码:

    String encodedHash = Uri.encode("#");
    String ussd = "*" + encodedHash + "105" + encodedHash;
    startActivityForResult(new Intent("android.intent.action.CALL",
    Uri.parse("tel:" + ussd)), 1);

请记住,我的问题仅在 Galaxy S3 上,而且我也在使用 Mono for Android。

4

0 回答 0